diff options
author | 2023-03-30 12:56:19 +0100 | |
---|---|---|
committer | 2023-03-30 12:56:19 +0100 | |
commit | 01c2fc14631dff8f84a3695b788317ccb0d02030 (patch) | |
tree | dea4e7f63640bee8c9066ff75468f5fbe5de48db /botstrap.py | |
parent | Merge branch 'main' into native-forum-channel-support (diff) |
update channels dict after forum creation
Diffstat (limited to 'botstrap.py')
-rw-r--r-- | botstrap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/botstrap.py b/botstrap.py index b77b98f1b..2ed3c17af 100644 --- a/botstrap.py +++ b/botstrap.py @@ -196,6 +196,7 @@ with DiscordClient() as discord_client: if create_help_channel: python_help_channel_name = PYTHON_HELP_CHANNEL_NAME.replace('_', '-') python_help_channel_id = create_forum_channel(python_help_channel_name, GUILD_ID, discord_client) + all_channels[PYTHON_HELP_CHANNEL_NAME] = python_help_channel_id for channel_name in _Channels.__fields__: channel_id = all_channels.get(channel_name, None) |