From e1c32626ba2011a7d5d7dd2d8d115f4d4e104c77 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 27 Mar 2017 20:08:26 -0400 Subject: [PATCH] [commands] Fix User converter not working with IDs. --- discord/ext/commands/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index ce52caab6..5c760b6ef 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -113,7 +113,7 @@ class UserConverter(IDConverter): if match is not None: user_id = int(match.group(1)) - result = self.bot.get_user(user_id) + result = self.ctx.bot.get_user(user_id) else: arg = self.argument # check for discriminator if it exists