Parcourir la source

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

tags/v1.7.1
Roxie Gibson il y a 6 ans
Parent
révision
313f9d2bcd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      roxbot/cogs/admin.py

+ 1
- 1
roxbot/cogs/admin.py Voir le fichier

@@ -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()

Chargement…
Annuler
Enregistrer