bot cant send custom emojis
i have this emoji in the emojis tab for my bot. i have tried a bunch of stuff but nothing is working
i tried
<:emoji:id>
, :emoji:
, :emoji:id
, and <:emoji:>
but nothing worked.
i tried client.emojis.cache.get("id")
but that didnt work either
i tried using client.application.emojis.fetch("id").then(emoji => console.log(`${emoji.name}`))
but that also didnt work
can someone please explain how to use the emoji
im so confused
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!i just realized my version is 14.16 not 14.18 lmao
oh
š
well it shouldn't be that different but aparently its very different
i have a command that lets people send custom messages and i want them to be able to inlcude emojis that the bot has
so if someone types
:TEST:
in the message it will replace it with <:TEST\:1346996329557000303>
or something
but most of the time it sends something like <š123456> insetead of just š
and other times i just says :emoji name:
o
nvm then