Browse Source

warn purge been renamed prune to avoid conflict with purge command.

tags/v1.7.1
Roxie Gibson 6 years ago
parent
commit
313f9d2bcd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roxbot/cogs/admin.py

+ 1
- 1
roxbot/cogs/admin.py View File

@@ -209,7 +209,7 @@ class Admin():

@commands.bot_has_permissions(ban_members=True)
@warn.command()
async def purge(self, ctx, dry_run=0):
async def prune(self, ctx, dry_run=0):
"""Purges banned users from the warn list. Add a 1 at the end to do a dry run."""
settings = gs.get(ctx.guild)
warnings = settings.warnings.copy()

Loading…
Cancel
Save