diff options
| author | 2020-04-03 09:07:49 +0300 | |
|---|---|---|
| committer | 2020-04-03 09:07:49 +0300 | |
| commit | e6455deb5c81efd247cad765fc4edda1ead1fb65 (patch) | |
| tree | 14d2f03cc3f0dd1c253bce95ce6770db2e252f4d | |
| parent | (Tags, discord.py 1.3.x Migration): Replaced with direct function call. (diff) | |
(Bot Cog, discord.py 1.3.x Migration): Replaced `ctx.invoke` with `ctx.send_help`.
| -rw-r--r-- | bot/cogs/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/bot.py b/bot/cogs/bot.py index e897b30ff..963dc4926 100644 --- a/bot/cogs/bot.py +++ b/bot/cogs/bot.py @@ -49,7 +49,7 @@ class BotCog(Cog, name="Bot"): @with_role(Roles.verified) async def botinfo_group(self, ctx: Context) -> None: """Bot informational commands.""" - await ctx.invoke(self.bot.get_command("help"), "bot") + await ctx.send_help("bot") @botinfo_group.command(name='about', aliases=('info',), hidden=True) @with_role(Roles.verified) |