This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
73 lines (72 loc) · 2.61 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
# This is the bot configuration options.
# We use .py file here so that we can use comments.
# If any of the options is None, it will be searched for as environment variables.
# DO NOT PUT ANY CODE HERE, IT WILL EXECUTE ON RUNTIME.
CONFIG = {
# Bot general options.
# This is used to set up its core modules.
"general": {
# The token of the bot. For production environment, you
# should put it in the environment variables.
"botToken": None,
# The prefix of the bot.
# This will be omitted, as the bot uses slash commands.
"prefix": ".c",
# This option will decide whether the bot will mind other bot actions.
# This won't affect the anti-raid function. You have to toggle it separately.
"affectOtherBots": False,
# Sets the default language for the bot.
# If the bot can't find the language for the user or the bot can't speak
# it yet, the below language will be used instead.
"language": "en",
# The bot Rich Presence.
"status": None
},
# This is the manual configuration options.
"manualConfig": {
# The bot guilds for the bot to register the slash command locally.
"guildIds": [],
# The roles if anyone has can execute admin commands.
"adminRoles": [754928367115174010],
# The channel that the bot will listen to "prevent bad knowledge"
"socialCreditChannelIds": [929628750344249344],
# The role members will be given when they join the server
"standardRoleIds": [867313373980393482],
# Well enables this and the author can always use admin commands :)
# See modules/rat.py for details
"tyrant": True,
# If you want your server to have D E M O C R A C Y
"democracy": True
},
# Bot backend options.
"backend": {
# The Firebase database URL
"fireDtb": None,
# Firebase API key
"fireApiKey": None,
# Rapid API key
"rapidApiKey": None,
},
"crypt": {
"fullChain": None,
"privateKey": None
},
# The Anti Raid feature settings
"antiRaid": {
"enable": True,
# The point needed for the user to be flagged as "raider"
"spamThreshold": 0.6,
# How many messages have the user send in a row to be counted as spam
"messageSpamAmount": 5,
# How many admin actions the user have to made
"adminActionAmount": 5,
"guilds": [994065211919171725]
},
"jokes": {
"rickRoll": True,
},
"autoTrash": {
"enabled": True,
"trashEmoji": "🚮"
}
}