A superb Group Moderator for Telegram....
- x -|│ “ Superb Group Moderator… ” │| - x -
<
Fill in all the details, Deploy!
Now go to https://dashboard.heroku.com/apps/(app-name)/resources ( Replace (app-name) with your app name )
REMEMBER: Turn on worker dyno (Don't worry It's free :D) & Webhook
Now send the bot /start, If it doesn't respond go to https://dashboard.heroku.com/apps/(app-name)/settings and remove webhook and port.
config.py
file, as it makes it easier to see all your settings grouped together.SaitamaRobot
folder, alongside the __main__.py
file.config.py
file could be:from SaitamaRobot.sample_config import Config
class Development(Config):
OWNER_ID = 1078841825 # your telegram ID
OWNER_USERNAME = "Warning_MadBoy_is_Here" # your telegram username
API_KEY = "your bot api key" # your api key, as provided by the @botfather
SQLALCHEMY_DATABASE_URI = 'postgresql://username:password@localhost:5432/database' # sample db credentials
JOIN_LOGGER = '-1234567890' # some group chat that your bot is a member of
USE_JOIN_LOGGER = True
DRAGONS = [1107922726] # List of id's for users which have sudo access to the bot.
LOAD = []
NO_LOAD = ['translation']