diff options
author | 2021-05-04 12:57:03 -0400 | |
---|---|---|
committer | 2021-05-04 12:57:03 -0400 | |
commit | a6cc40ff3b323dff112d7f8c339e124f3a6d9980 (patch) | |
tree | f0cdec46d302cfc629fe9277df5cfbe6251a861b /bot/utils/extensions.py | |
parent | chore: Don't return a Message object when the return annotation is None (diff) |
chore: Prefer double quotes over single quotes
Diffstat (limited to 'bot/utils/extensions.py')
-rw-r--r-- | bot/utils/extensions.py | 4 |
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) |