Create a new config.py or rename sample_config.py to config.py file in same dir and import, then extend this class.
TOKEN
: Your bot Token, As a stringAPI_ID & API_HASH
: Get API_ID & API_HASH from my.telegram.org, used for telethon based modules.SQLALCHEMY_DATABASE_URI
: Your database URLOWNER_ID
: An integer of consisting of your owner IDOWNER_USERNAME
: Your username (without the @)SUPPORT_CHAT
: Your Telegram support group chat usernameEVENT_LOGS
: Event logs channel to note down important bot level events, recommend to make this public. ex:-100:123
JOIN_LOGGER
: A channel where bot will print who added it to what group, useful during debugging or spam handling.CASH_API_KEY
:Required for currency converter. Get yours fromTIME_API_KEY
: Required for timezone information. Get yours fromDEV_USERS
: ID of users who are Devs of your bot (can use /py etc.). If you are a noob and would come and bother Mr.Joker support then keep the current ID's here at they are and add yours.sw_api
: Spamwatch API Token, Get one from @SpamWatchBotSTRICT_GBAN
: Enforce gbans across new groups as well as old groups. When a gbanned user talks, he will be banned.DRAGONS
: A space separated list of user IDs who you want to assign as sudo usersDEMONS
: A space separated list of user IDs who you wanna assign as support users(gban perms only)TIGERS
: A space separated list of user IDs who you wanna assign as tiger users.WOLVES
: A space separated list of user IDs who you want to assign as whitelisted - can't be banned with your bot.ENV
: Setting this to ANYTHING will enable environment variables. Leave it as it isWEBHOOK
: Setting this to ANYTHING will enable webhooks. If you dont know how this works leave it as it isPORT
: Port to use for your webhooks. Better leave this as it is on herokuURL
: The Heroku App URL :-https://<appname>.herokuapp.com
No_LOAD
: Dont load these modules cause they shit, space separationBL_CHATS
: List of chats you want blacklisted.ALLOW_EXCL
: Set this to True if you want ! to be a command prefix along with /. Recommended is TrueDEL_CMDS
: Set this to True if you want to delete command messages from users who don't have the perms to run that command.AI_API_KEY
: Make your bot talk using Intellivoid's chatbot API, Get your key fromBAN_STICKER
: ID of the sticker you want to use when banning peopleWALL_API
: Required for wallpaper. Get your's fromARQ_API_URL
: https://thearq.tech/ 👈 Fill in this wayARQ_API_KEY
: Start this boat https://t.me/ARQRobot. Get the keyREM_BG_API_KEY
: Go to this site https://www.remove.bg/api#remove-background. Get your api keyGENIUS_API_TOKEN
: Go to this site https://docs.genius.com/. Get your api token
This Bot is Created by ShinobuProject, If your kanging this without fork at least give a credit to get a smile of my hard work.
- Wolf X
- EmikoRobot
- YoneRobot
- SaitamaRobot
- TheRealPhoenixBot
- DaisyX
- WilliamButcherBot