aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-04-09 21:15:18 +0100
committerGravatar Chris Lovering <[email protected]>2023-04-11 16:48:14 +0100
commit8dca42846d2956122d45795763095559a6a51b64 (patch)
tree480cd7d3c1a6d6bc87710e2d3c19f223a92f7c5d /botstrap.py
parentReplace CI flake8 config with ruff (diff)
Migrate code style to ruff
Co-authored-by: Boris Muratov <[email protected]> Co-authored-by: wookie184 <[email protected]>
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