Skip to content

Commit 288ddbd

Browse files
committed
Add new editable config variables
1 parent ce949c6 commit 288ddbd

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

core/config.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,36 @@ class ConfigManager(ConfigManagerABC):
1616
allowed_to_change_in_command = {
1717
# activity
1818
'twitch_url',
19+
1920
# bot settings
2021
'main_category_id', 'disable_autoupdates', 'prefix', 'mention',
21-
'main_color', 'user_typing', 'mod_typing', 'account_age',
22+
'main_color', 'user_typing', 'mod_typing', 'account_age',
23+
2224
# logging
2325
'log_channel_id',
26+
2427
# threads
25-
'sent_emoji', 'blocked_emoji', 'thread_creation_response',
28+
'sent_emoji', 'blocked_emoji', 'close_emoji', 'disable_recipient_thread_close',
29+
'thread_creation_response', 'thread_creation_footer', 'thread_creation_title',
30+
'thread_close_footer', 'thread_close_title',
31+
2632
# moderation
2733
'recipient_color', 'mod_tag', 'mod_color',
34+
2835
# anonymous message
2936
'anon_username', 'anon_avatar_url', 'anon_tag'
3037
}
3138

3239
internal_keys = {
3340
# bot presence
3441
'activity_message', 'activity_type', 'status',
42+
3543
# moderation
3644
'blocked',
45+
3746
# threads
3847
'snippets', 'notification_squad', 'subscriptions', 'closures',
48+
3949
# misc
4050
'aliases', 'plugins'
4151
}
@@ -44,10 +54,13 @@ class ConfigManager(ConfigManagerABC):
4454
# Modmail
4555
'modmail_api_token', 'modmail_guild_id', 'guild_id', 'owners',
4656
'log_url', 'mongo_uri',
57+
4758
# bot
4859
'token',
60+
4961
# GitHub
5062
'github_access_token',
63+
5164
# Logging
5265
'log_level'
5366
}

0 commit comments

Comments
 (0)