added Client.get_message

This commit is contained in:
iDutchy
2021-02-11 18:38:33 -06:00
parent 86fd3fb738
commit f1309aa4a1
4 changed files with 20 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class MemberConverter(IDConverter):
# If we're being rate limited on the WS, then fall back to using the HTTP API
# So we don't have to wait ~60 seconds for the query to finish
try:
member = await guild.fetch_member(user_id)
member = await guild.try_member(user_id)
except discord.HTTPException:
return None