· 2 years ago · Aug 19, 2023, 03:25 PM
1from typing import List
2import os.path
3
4# This is a template configuration file for Elysia.
5# You can use this file as a base for your own config file by
6# copying this file to `Elysia/config.py` and filling in the values.
7#
8
9
10# API keys
11
12# Bot token from Bot Father
13TOKEN: str = "220947927:AAHVhKb4ZAWiNCHYgcDlzjX3ZKJLDpdBV2g"
14
15# Telegram API ID and API hash
16# Get it from https://my.telegram.org/apps
17API_ID: int = 611335
18API_HASH: str = "d524b414d21f4d37f08684c1df41ac9c"
19
20# Tenor API key
21# Get it from https://tenor.com/developer/keyregistration
22# Can be empty (but the /gif command won't work without it)
23TENOR_API_KEY: str = "anything"
24
25
26# Admins/sudoers settings
27
28# Sudoers and super sudoers
29SUPER_SUDOERS: List[int] = [2106498721]
30SUDOERS: List[int] = ["1060318977", "2106498721"]
31
32# All super sudoers should be sudoers as well
33SUDOERS.extend(SUPER_SUDOERS)
34
35
36# Other settings
37
38# Database file path
39DATABASE_PATH = os.path.join("Elysia", "database", "Elysia.db")
40
41# Number of updates that can be processed in parallel
42WORKERS = 8
43
44# Chat used for logging
45LOG_CHAT: int = -1001826367325
46
47# Prefixes for commands
48# e.g: /command and !command
49PREFIXES: List[str] = ["/", "!"]
50
51# List of disabled plugins
52DISABLED_PLUGINS: List[str] = []