1
0
Fork 0
mirror of synced 2024-05-03 20:22:32 +12:00

Fix command

This commit is contained in:
Dan Hess 2021-04-24 15:42:50 -08:00
parent 1acb507e27
commit 98f7266c6f

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}")