-
Notifications
You must be signed in to change notification settings - Fork 12
/
Configuration
28 lines (27 loc) · 2.84 KB
/
Configuration
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- `TOKEN` : Your [bot Token](https://t.me/BotFather), As a string
- `API_ID & API_HASH` : Get API_ID & API_HASH from my.telegram.org, used for telethon based modules.
- `DATABASE_URI`: Your database URL
- `OWNER_ID` : An integer of consisting of your [owner ID](https://t.memy_id_bot)
- `OWNER_USERNAME` : Your username (without the @)
- `SUPPORT_CHAT` : Your Telegram support group chat username
- `EVENT_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 from](https://www.alphavantage.co/support/#api-key)
- `TIME_API_KEY` : Required for timezone information. [Get yours from](https://timezonedb.com/api)
- `DEV_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 [@SpamWatchBot](https://t.me/SpamWatchBot)
- `STRICT_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 users
- `DEMONS` : 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 is
- `WEBHOOK` : Setting this to ANYTHING will enable webhooks. If you dont know how this works leave it as it is
- `PORT` : Port to use for your webhooks. Better leave this as it is on heroku
- `BL_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 True
- `DEL_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 from](https://coffeehouse.intellivoid.net/)
- `BAN_STICKER` : ID of the sticker you want to use when banning people
- `WALL_API` : Required for wallpaper. [Get your's from](https://wall.alphacoders.com/)
- `ARQ_API_KEY` : Start this boat https://t.me/ARQRobot. Get the key