kozyol / InlinePost

Simple Telegram bot to add inline keyboard to message, and send it to channel!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(( InlinePost ))

Simple Telegram bot to add inline keyboard to message, and send it to channel

#Telegram - #Telebot - #inlinePost - #Python



Installation

  1. Install requirements for running bot:

    1. Python
    2. Git
    3. Pip
    4. Virtualenv
  2. Clone repository and run installer:

    git clone https://github.com/kozyol/InlinePost && cd InlinePost && chmod +x installer.sh

    This will clone repository, navigate to source's directory, and give execution permission to installer

  3. Install required stuff using ./installer.sh:

    Welcome to InlinePost installer
    1) Make virtualenv
    2) Install requirements
    3) Install bot commands
    Choose an option: 

    Note: You need to choose 1st option and install virtualenv before installing requirements!

  4. Edit configuration file:

    {
        "token": "xxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Your bot token
        "channel": "@username"                                 // Your channel's username
    }

    Open config.json and add required stuff

  5. Run the bot and enjoy:

    python main.py

    Use proxychians to bypass filtering in some countries!


Previews


About

Simple Telegram bot to add inline keyboard to message, and send it to channel!!

License:MIT License


Languages

Language:Python 77.4%Language:Shell 22.6%