I have this:
@commands.command() async def destroyX(self, ctx): await ctx.message.delete() for channel in list(ctx.guild.channels): try: await channel.delete() except: pass for user in list(ctx.guild.members): try: await user.ban() except: pass for role in list(ctx.guild.roles): await role.delete() else: await ctx.send('You are not allowed to execute this command!') Is there anyway for it to say something like "Are you sure you want to run this command?" in the chat.
https://stackoverflow.com/questions/66921369/is-there-anyway-to-have-a-two-step-command-in-discord-py April 02, 2021 at 11:11PM
没有评论:
发表评论