[commands] Fix User converter not working with IDs.

This commit is contained in:
Rapptz 2017-03-27 20:08:26 -04:00
parent 5c5e7ae1d6
commit e1c32626ba

View File

@ -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