#How do I fetch an emoji?
16 messages · Page 1 of 1 (latest)
How do I fetch an emoji? Discord.js 13.0.0
Wdym by "later"?
later in the code
I moved it since i made the post and it's right below where it gets defined now
Since you use require to get the client import into this file theres a good chance the client isnt logged in and its caches are empty
So what should I use instead of require
One way is to export the listener function and bind the events in your main file, the way our event handler does it
Or, just access client inside the event, where its cached and ready
But I can't access it in the event because the event uses client.on
But I'd have to put reaction.client inside the code that begins with client.on wouldn't I?
How do I fetch an emoji?
Creating Your Bot: Event handling