aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/extensions.py
diff options
context:
space:
mode:
authorGravatar Kieran Siek <[email protected]>2021-06-07 17:16:15 +0800
committerGravatar GitHub <[email protected]>2021-06-07 17:16:15 +0800
commite73fb4a2ced2fd264ec65a828c114cbbeda26d7a (patch)
treec468b60cbd00b8f6b00043635dc2d4393a001c4b /bot/utils/extensions.py
parent(tic-tac-toe): Use embeds for showing previous game boards (diff)
parentMerge pull request #758 from OculusMode/master (diff)
Merge branch 'main' into fix/ttt
Diffstat (limited to 'bot/utils/extensions.py')
-rw-r--r--bot/utils/extensions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/utils/extensions.py b/bot/utils/extensions.py
index 459588a1..cd491c4b 100644
--- a/bot/utils/extensions.py
+++ b/bot/utils/extensions.py
@@ -35,8 +35,8 @@ def walk_extensions() -> Iterator[str]:
async def invoke_help_command(ctx: Context) -> None:
"""Invoke the help command or default help command if help extensions is not loaded."""
- if 'bot.exts.evergreen.help' in ctx.bot.extensions:
- help_command = ctx.bot.get_command('help')
+ if "bot.exts.evergreen.help" in ctx.bot.extensions:
+ help_command = ctx.bot.get_command("help")
await ctx.invoke(help_command, ctx.command.qualified_name)
return
await ctx.send_help(ctx.command)