mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
d.Member -> d.User
This commit is contained in:
parent
9a343135de
commit
e9f46de6f3
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class Administration:
|
|||
@commands.command(name=',prunefromguild', aliases=[',pfg', ',prunefromserver', ',pfs'], brief='Prune a user\'s messages from the guild', description='about flag centers on message 50 of 101 messages\n\npfg \{user id\} [before|after|about] [\{message id\}]\n\nExample:\npfg \{user id\} before \{message id\}')
|
||||
@commands.is_owner()
|
||||
@checks.del_ctx()
|
||||
async def prune_all_user(self, ctx, user: d.Member, when=None, reference=None):
|
||||
async def prune_all_user(self, ctx, user: d.User, when=None, reference=None):
|
||||
def yes(msg):
|
||||
if msg.content.lower() == 'y' and msg.channel is ctx.channel and msg.author is ctx.author:
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue