From e9f46de6f34ea276f684fbbf410159c9ab612616 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 17 Oct 2017 02:16:11 -0400 Subject: [PATCH] d.Member -> d.User --- src/main/cogs/management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cogs/management.py b/src/main/cogs/management.py index b6bfa51..a1b8257 100644 --- a/src/main/cogs/management.py +++ b/src/main/cogs/management.py @@ -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