aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py
index ce52caab..5c760b6e 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