Is there a way to block out only specific sub_commands in a command group?
For example:
@my_data.client.slash_command()
async def dev(inter):
pass
@dev.sub_command(description="DEVELOPER ONLY: Restarts the bot", guild_ids=[654646546546465464654654654])
async def restart(inter):
k = developers_collection.find_one({'discord_id': int(inter.user.id)})
if k != None:
await inter.response.send_message(f'Restarting bot...')
exit()
else:
await inter.response.send_message(content = 'This is a DEVELOPER ONLY command!')
Does not seem to work with the guild_ids=, but I don't want to block off all /dev commands just certain ones