Skip to content
/ PikachuUserbot Public template

ᴀ ᴜꜱᴇʀʙᴏᴛ ᴡɪᴛʜ ʙᴇꜱᴛ ꜰᴇᴀᴛᴜʀᴇꜱ ,ꜱᴇᴄᴜʀɪᴛʏ ᴀɴᴅ ꜱᴏᴍᴇ ꜰᴜɴɴʏ ᴍᴏᴅꜱ ᴛᴏ ʙᴏᴏꜱᴛ ʏᴏᴜʀ ᴛᴇʟᴇɢʀᴀᴍ ᴇxᴘᴇʀɪᴇɴᴄᴇ

License

Notifications You must be signed in to change notification settings

ItzSjDude/PikachuUserbot

Repository files navigation

Pikachu Userbot

PIKACHU USERBOT

ᴀ ᴜꜱᴇʀʙᴏᴛ ᴡɪᴛʜ ʙᴇꜱᴛ ꜰᴇᴀᴛᴜʀᴇꜱ ,ꜱᴇᴄᴜʀɪᴛʏ ᴀɴᴅ ꜱᴏᴍᴇ ꜰᴜɴɴʏ ᴍᴏᴅꜱ ᴛᴏ ʙᴏᴏꜱᴛ ʏᴏᴜʀ ᴛᴇʟᴇɢʀᴀᴍ ᴇxᴘᴇʀɪᴇɴᴄᴇ

forthebadge forthebadge made-with-python

By ItSjDude

HOW TO DEPLOY

Installing Heroku

The Easy Way

1.Generate String session from Repl.it

2.Click on Deploy To Heroku

3.Fill up required fields like Appid,Api hash, String Sesson , Bot token nd Bot username

4.Hola! Click on deploy now nd wait for 20-30mins

The Normal Way

Simply clone the repository and run the main file:

git clone https://github.com/ItzSjDude/PikachuUserbot
cd PikachuUserbot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
# <Create local_config.py with variables as given below>
python3 -m userbot

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 = "Your App Id"
  API_HASH = "Your Api Hash"

Borg Configuration

The Borg Config is situated in userbot/borgConfig.py.

Heroku Configuration Simply just leave the Config as it is.

Local Configuration Fortunately there are no Mandatory vars for the Borg 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.

About

ᴀ ᴜꜱᴇʀʙᴏᴛ ᴡɪᴛʜ ʙᴇꜱᴛ ꜰᴇᴀᴛᴜʀᴇꜱ ,ꜱᴇᴄᴜʀɪᴛʏ ᴀɴᴅ ꜱᴏᴍᴇ ꜰᴜɴɴʏ ᴍᴏᴅꜱ ᴛᴏ ʙᴏᴏꜱᴛ ʏᴏᴜʀ ᴛᴇʟᴇɢʀᴀᴍ ᴇxᴘᴇʀɪᴇɴᴄᴇ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages