#get_member vs fetch_member
1 messages · Page 1 of 1 (latest)
Hey! Once your issue is solved, press the button below to close this thread!
ie
member = client.get_member(id)
if not member:
member = client.fetch_member(id)
fetch member can be said as having a guarantee to getting the object
it will not mke a reqiest after
get_member: obtain the Member from the cache. if not in cache, return None. does not make an API requestfetch_member: obtain the Member from the cache. if not in cache, make an API request (ensuring there will be a Member object).- if
force=True, always make an API request
- if