add delall cmd
This commit is contained in:
1 parent
f4ef3e9cd8
commit
c0505192ee
1 file changed
+1
-1
+1
-1
@@ -508,7 +508,7 @@ class WarMonitor(commands.Cog):
|
||||
@commands.command()
|
||||
@commands.has_permissions(administrator=True)
|
||||
@commands.has_role("The Croak Council")
|
||||
async def deall(self, ctx: CustomCtx):
|
||||
async def delall(self, ctx: CustomCtx):
|
||||
category = await self.bot.fetch_channel(ARCHIVE_CATEGORY)
|
||||
if ctx.channel not in category.text_channels:
|
||||
await ctx.send(f"this command only works inside {category.name}")
|
||||
|
||||
Reference in new issue
Block a user