add delall cmd

This commit is contained in:
un1xx committed 2025-05-12 21:32:38 +05:30
1 parent f4ef3e9cd8
commit c0505192ee
1 file changed
+1 -1
+1 -1
View File
@@ -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}")