-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
77 lines (71 loc) · 2.34 KB
/
config.py
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import logging
import os
from dotenv import load_dotenv
load_dotenv()
LOGGING_LEVEL = logging.DEBUG
TS3_SERVER_IP = os.getenv("TS3_SERVER_IP")
TS3_SERVER_PORT = int(os.getenv("TS3_SERVER_PORT", 10011))
TS3_TELNET_LOGIN = os.getenv("TS3_TELNET_LOGIN")
TS3_TELNET_PASSWORD = os.getenv("TS3_TELNET_PASSWORD")
TS3_TELNET_PORT = int(os.getenv("TS3_TELNET_PORT", 1))
BOT_CONFIG = {
"name": "Bot",
"description": "Hi there! I'm a bot!",
}
PLUGINS_CONFIG = {
"AFK_Mover": {
"afk_channel_id": 357515,
"afk_time": 30 * 60,
"check_interval": 5,
"ignore_channels": [425000, 357512, 357513, 357514],
},
"Welcomer": {
"messages": ["Howdy!", "Hi there!"],
},
"CommandHandler": {
"prefix": "!",
"check_interval": 1,
"commands": {
"Help": {
"trigger": "help",
"description": "Send a list of available commands.",
},
# # Uncomment this to enable the Weather plugin
# # Be sure to add the WEATHERAPI_COM_API_KEY environment variable to your .env file
# "Weather": {
# "trigger": "weather",
# "api_key": os.getenv("WEATHERAPI_COM_API_KEY"),
# "description": "Get the weather for a location.",
# },
},
},
# # Uncomment this to enable the Doodler plugin
# # Be sure to adjust the dates and URLs to your needs
# "Doodler": {
# "default": "https://mydomain.com/banner-default.png",
# "doodles": [
# {
# "date": "14-02-2024",
# "url": "https://mydomain.com/banner-valentines.png",
# },
# {
# "date": "01-04-2024",
# "url": "https://mydomain.com/banner-april-fools.png",
# },
# {
# "date": "31-10-2024",
# "url": "https://mydomain.com/banner-halloween.png",
# },
# {
# "startDate": "01-12-2024",
# "endDate": "30-12-2024",
# "url": "https://mydomain.com/banner-christmas.png",
# },
# {
# "startDate": "01-01-2025",
# "endDate": "07-01-2025",
# "url": "https://mydomain.com/banner-new-year.png",
# },
# ],
# },
}