-
Wiki Searching
-
YT Mp3 Converter
-
Multiple Client Support.
-
Smart & Powerful Tools.
-
Much Cleaner And Stable.
-
Daily Maintained.
- Click Deploy To Heroku
- Fill up the App name
- Create a Bot with Botfather on telegram(https://t.me/BotFather)
- Retreive The Api ID and Bot User Name From BotFather
- Config vars(refer mandatory configs) Based On this Data
- Deploy
- Run https://app-name.herokuapp.com/set_webhook on a browser tab (change app-name to the name of heroku app)
- If it shows webhook setup ok ! You are good to Go... Else Try Refreshing after 10 sec+
- Check if your telegram bot works!
# Install Git First // (Else You Can Download And Upload to Your Local Server)
$ git clone https://github.com/akkupy/Sara-Bot
# Open Git Cloned File
$ cd Sara-Bot
# Config Virtual Env (Skip is already Done.)
$ virtualenv -p /usr/bin/python3 venv
$ . ./venv/bin/activate
# Install All Requirements.
$ pip(3) install -r requirements.txt
# Replace credentials.py with variables as given below in Modules folder
# Start Bot
$ python(3) -m app
[+] If You Running Sara On A Deploy Services With Config Env Support Like Heroku, Zeet.co, Please Set "ENV" To True , Else For Self Host Services Like Digital Ocean Just Make A Credentials File And Put Vars Given Below.
[-] bt_token: Telegram Bot Token
[-] bot_user_name : Telegram Bot UserName
[-] URL : For WebHook(https://<app-name>.herokuapp.com/)
[+] The Sara will not work without setting the mandatory vars.
bot_token = "sd78g6add897s8d7f875adad768d"
bot_user_name = "akkubot"
URL = "https://akkubot45646.herokuapp.com"
SaraBot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.