Browse Source

author was made non-optional by accident.

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

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

@@ -81,7 +81,7 @@ class Admin():
@commands.bot_has_permissions(manage_messages=True, read_message_history=True)
@commands.cooldown(1, 5)
@bot.command()
async def purge(self, ctx, limit=0, *, author: roxbot.converters.UserConverter):
async def purge(self, ctx, limit=0, *, author: roxbot.converters.UserConverter=None):
"""Purges messages from the text channel.
Limit = Limit of messages to be deleted
Author (optional) = If given, roxbot will selectively only delete this user's messages."""

Loading…
Cancel
Save