-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
76 lines (61 loc) · 1.31 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
# Bot token
token = <PUT BOT TOKEN HERE>
# Bot list tokens
topgg_token = ""
dbots_token = ""
dbl_token = ""
bod_token = ""
bfd_token = ""
dboats_token = ""
# Sentry URL
sentry_url = ""
# Number of clusters
clusters = 1
# Whether the bot is for testing, if true, stats and errors will not be posted
testing = False
# Postgres credentials
database = {
"host": "postgres-modmail",
"database": "modmail",
"user": "postgres",
"password": "",
"port": 5432,
}
# Redis credentials
redis = {
"host": "redis-modmail",
"port": 6379,
"password": None,
}
# RabbitMQ credentials
rabbitmq = {
"username": "guest",
"password": "guest",
"host": "rabbitmq-modmail",
"port": 5672,
}
# HTTP API Server
http_api = {
"host": "127.0.0.1",
"port": 6000,
}
# Default prefix for commands
default_prefix = "="
# Server to send tickets to, no confirmation messages if set
default_server = <SET SERVER ID HERE>
# Bot owners
owners = [<SET ID OF BOT OWNER HERE>]
# Bot admins
admins = [<SET ID OF BOT ADMINS HERE>]
# Admin logs channel
admin_channel = <SET ID OF ADMIN CHANNEL HERE>
# Premium server and roles
main_server = <SET SERVER ID HERE>
premium1 = True
premium3 = True
premium5 = True
# Embed colours
primary_colour = 0x1E90FF
user_colour = 0x00FF00
mod_colour = 0xFF4500
error_colour = 0xFF0000