Fix command

This commit is contained in:
Dan Hess 2021-04-24 15:42:50 -08:00
parent 1acb507e27
commit 98f7266c6f
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ class Miscellaneous(commands.Cog):
if command is None:
return await ctx.send("https://github.com/Phxntxm/Bonfire")
obj = self.bot.get_command(command)
obj = ctx.bot.get_command(command)
if obj is None:
return await ctx.send(f"Could not find command {command}")