forked from chamburr/modmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.py
76 lines (61 loc) · 1.17 KB
/
config.example.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 = ""
# 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 = {
"database": "modmail",
"user": "postgres",
"password": "",
"host": "127.0.0.1",
"port": 5432,
}
# Redis credentials
redis = {
"host": "127.0.0.1",
"port": 6379,
"password": None,
}
# RabbitMQ credentials
rabbitmq = {
"username": "guest",
"password": "guest",
"host": "127.0.0.1",
"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 = None
# Bot owners
owners = []
# Bot admins
admins = []
# Admin logs channel
admin_channel = None
# Premium server and roles
main_server = None
premium1 = None
premium3 = None
premium5 = None
# Embed colours
primary_colour = 0x1E90FF
user_colour = 0x00FF00
mod_colour = 0xFF4500
error_colour = 0xFF0000