From 01c2fc14631dff8f84a3695b788317ccb0d02030 Mon Sep 17 00:00:00 2001 From: shtlrs Date: Thu, 30 Mar 2023 12:56:19 +0100 Subject: update channels dict after forum creation --- botstrap.py | 1 + 1 file changed, 1 insertion(+) (limited to 'botstrap.py') 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) -- cgit v1.2.3