#hello can anyone help me with my error
1 messages · Page 1 of 1 (latest)
wow
code?
Send the slots command
do u have cogs?
try use cogs for more code
for commands own files
read about this
im about cogs
like this
read about this
and u have error in slots
send slots command
In py-cord .get_x attempts to retrieve the data from a temporary storage in the bot call cache. If this data is not in the cache it will return none. You should check that if member is none and do .fetch_user(id) This requires an API call which will slowdown the command and contribute to rate limits so you should always check the cache first.
there's actually a built-in method for this called get_or_fetch_user https://docs.pycord.dev/en/master/api.html#discord.Client.get_or_fetch_user