diff --git a/src/cogs/info.py b/src/cogs/info.py index a7c6d05..1bada37 100644 --- a/src/cogs/info.py +++ b/src/cogs/info.py @@ -24,7 +24,7 @@ class Info: @cmds.group(name='info', aliases=['i']) async def info(self, ctx): - if invoked_subcommand is None: + if ctx.invoked_subcommand is None: await ctx.send('BOT INFO') @info.command(aliases=['g', 'server', 's'], brief='Provides info about a guild', hidden=True)