Ver código fonte

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

tags/v1.7.1
Roxie Gibson 6 anos atrás
pai
commit
313f9d2bcd
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      roxbot/cogs/admin.py

+ 1
- 1
roxbot/cogs/admin.py Ver arquivo

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

Carregando…
Cancelar
Salvar