/catuserbot

Cat userbot is modified version of xtratgbot and uniborg and ravana repo

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

CAT USERBOT

The Easy Way to deploy the bot

Get APP ID and API HASH from HERE and BOT TOKEN from Bot Father and then Generate stringsession by clicking on run.on.repl.it button below and then click on deploy to heroku . Before clicking on deploy to heroku just click on fork and star just below

Get string session

Deploy To Heroku

catuserbot logo

Join here for updates and tuts and here for discussion and bugs

The Normal Way

An example local_config.py file could be:

Not All of the variables are mandatory

The Userbot should work by setting only the first two variables

from heroku_config import Var

class Development(Var):
  APP_ID = 6
  API_HASH = "eb06d4abfb49dc3eeb1aeb98ae0f581e"

UniBorg Configuration

Heroku Configuration Simply just leave the Config as it is.

Local Configuration

Fortunately there are no Mandatory vars for the UniBorg Support Config.

Mandatory Vars

  • Only two of the environment variables are mandatory.

  • This is because of telethon.errors.rpc_error_list.ApiIdPublishedFloodError

  • The userbot will not work without setting the mandatory vars.