aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-04-11 22:22:47 +0100
committerGravatar GitHub <[email protected]>2023-04-11 22:22:47 +0100
commitf94505ac975888b259ea2d07b4442d6d908352f8 (patch)
treed156f9d7c8dbdc89642e161105766cd3644b931f /botstrap.py
parentBump httpx from 0.23.3 to 0.24.0 (#2529) (diff)
parentUse commands.Converter subclass for d.py converters (diff)
Merge pull request #2523 from python-discord/flake8-to-ruff
Migration codestyle from Flake8 to ruff
Diffstat (limited to 'botstrap.py')
-rw-r--r--botstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/botstrap.py b/botstrap.py
index ccf6993f5..c57a254a3 100644
--- a/botstrap.py
+++ b/botstrap.py
@@ -204,7 +204,7 @@ with DiscordClient(guild_id=GUILD_ID) as discord_client:
create_help_channel = False
if create_help_channel:
- python_help_channel_name = PYTHON_HELP_CHANNEL_NAME.replace('_', '-')
+ python_help_channel_name = PYTHON_HELP_CHANNEL_NAME.replace("_", "-")
python_help_category_id = all_categories[PYTHON_HELP_CATEGORY_NAME]
python_help_channel_id = discord_client.create_forum_channel(python_help_channel_name, python_help_category_id)
all_channels[PYTHON_HELP_CHANNEL_NAME] = python_help_channel_id