#Cogs Commands Stopped Updating

1 messages · Page 1 of 1 (latest)

dire flower
#

Using:
-Cogs
-slash command group

Problem:
-tried to make a new command and edited it, the command is not updating
-tried it on another bot, it worked
-new commands are added but this command is still not updating
-resynced it on settings > integration, still the same

the on in the image is the previous command and how it looks like now still

@test.command()
async def message_members(ctx, message:str='Hello'):
    for member in ctx.guild.members:
        for role in member.roles: 
            if role.name == 'pepe':
                await member.send(message)
            else: 
                pass

this is how the command looks like in the code now

test is the group command name

aside from not changing, the parameter is not showing up either in my earlier revision when the command still has the same name

dire flower
#

Update:

I tried to remove the command and reloaded the bot, the command was removed

next i reincluded the command and reloaded the bot

the command showed up correctly now

#

are there any limit on how many subcommands a command_group has?