Get emoji
How can I get emoji with interaction?
If I use
I get an error
ReferenceError: client is not defined
7 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
1.- You can use
intraction.client
2.- Its client.emojis.cache.get()
If I use it I get error
TypeError: interaction.client.emojis.get is not a function
I said two things
also
ReferenceError: client is not defined
do you really need people to write everything?
cant you implement both answers?
interaction.client
returns a Client
object
client.emojis.cache.get("id")
returns emoji | undefined
use interaction.client.emojis.cache.get()
Thanks