-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-example.yml
98 lines (84 loc) · 2.8 KB
/
config-example.yml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Discord API token of the bot to login
# type: str
TOKEN: token
# Gateway intents control events the bot receives
# Privileged gateway intents for bots in above 100 guilds require verification
# No intents are necessary to function but *_MESSAGES intents should be enabled to receive messages
# type: Dict[str, bool]
INTENTS:
GUILDS: false
MEMBERS: false # Privileged
BANS: false
EMOJIS: false
INTEGRATIONS: false
WEBHOOKS: false
INVITES: false
VOICE_STATES: false
PRESENCES: false # Privileged
GUILD_MESSAGES: true
GUILD_REACTIONS: true
GUILD_TYPING: false
DM_MESSAGES: true
DM_REACTIONS: true
DM_TYPING: false
# Database URI in the format of postgres://user:password@host:port/database
# Leave as null if database connection not needed
# type: Optional[str]
DATABASE_URI: null
# Discord user ID of the bot owner
# type: int
OWNER_ID: 0
# Discord channel ID of a text channel to send "console" messages to
# Leave as null to send the messages to the owner's DM
# type: Optional[int]
CONSOLE_CHANNEL_ID: 0
# Hastebin-like API for anonymous pasting
# URL to POST to
# Leave as null to prioritize other methods (silenty fails if all fail)
# type: Optional[str]
HASTEBIN_CREATE_URL: https://mystb.in/documents
# URL for the user to access the paste
# {key} placeholder is replaced with key returned by POST API
# Leave as null to prioritize other methods (silenty fails if all fail)
# type: Optional[str]
HASTEBIN_PASTE_URL: https://mystb.in/{key}
# GitHub API token with gist scope for the owner module
# Leave as null to prioritize other methods (silenty fails if all fail)
# type: Optional[str]
GITHUB_TOKEN: token
# Main color value for embeds and such
# type: int
MAIN_COLOR: 0xFFFFFF
# Command prefixes in addition to mentions
# Leave as [] to only use mentions
# type: List[str]
PREFIXES:
- "botto "
- "bot!"
# Modules to start up with
# The bot should at least start up with jishaku to be able to load more modules
# type: List[str]
STARTUP_MODULES:
- jishaku
- botto.modules.events
- botto.modules.owner
- botto.modules.meta
- botto.modules.help
# For the source command
# Leave as null to disable the command
# type: Optional[str]
SOURCE_CODE_URL: https://github.com/MusicOnline/Botto
# For the support command
# Leave as null to disable the command
# The support server "https://discord.gg/wp7Wxzs" is for bot developers using Botto
# You should set up your own support server if you make any changes to the source code
# type: Optional[str]
SUPPORT_SERVER_INVITE_URL: https://discord.gg/wp7Wxzs
# For the vote command
# Leave as null to disable the command
# type: Optional[str]
VOTE_URL: null
# Restricted WebSocket API URL
# Leave as null if not used or botto.modules.restricted_api module is not loaded
# type: Optional[str]
RESTRICTED_API_URL: null