-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
config.py.example
51 lines (34 loc) · 1.1 KB
/
config.py.example
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from typing import List
# This is a template configuration file for EduuRobot.
# You can use this file as a base for your own config file by
# copying this file to `eduu/config.py` and filling in the values.
#
# API keys
# Bot token from Bot Father
TOKEN: str = "123123:YOUR_BOT_TOKEN_HERE"
# Telegram API ID and API hash
# Get it from https://my.telegram.org/apps
API_ID: int = 321321
API_HASH: str = "YOUR_API_HASH_HERE"
# Tenor API key
# Get it from https://tenor.com/developer/keyregistration
# Can be empty (but the /gif command won't work without it)
TENOR_API_KEY: str = ""
# Admins/sudoers settings
# Sudoers and super sudoers
SUPER_SUDOERS: List[int] = [123456789]
SUDOERS: List[int] = [987654321]
# All super sudoers should be sudoers as well
SUDOERS.extend(SUPER_SUDOERS)
# Other settings
# Database file path
DATABASE_PATH = "eduu.db"
# Number of updates that can be processed in parallel
WORKERS = 24
# Chat used for logging
LOG_CHAT: int = 123456789
# Prefixes for commands
# e.g: /command and !command
PREFIXES: List[str] = ["/", "!"]
# List of disabled plugins
DISABLED_PLUGINS: List[str] = []