autocomplete emojis
in autocomplete how can emojis be used and can guild ones be used
13 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
• Custom emojis: \:name:
➞ <a:name:id>
• Twemojis: \:name:
➞ unicode representation
• Emoji picker: WIN
+ .
/ CMD
+ CTRL
+ SPACE
/ CTRL
+ .
• Right-clicking any emoji will not copy its id!What's a twemoji?
and what is the a in custom emojis
Also will it work if the emoji is in another server?
The emojis discord uses are open sourced by twitter, they're called twemojis.
Custom emojis are specific from server to server, like this from here.
The emoji will only resolve if your bot is in the same server as the emoji you are trying to send.
I thought there was a way to fetch emoji from cache and use in another server
Well, you can fetch it from the
EmojisManager
iircBut can u pass that to a autocomplete interaction?
Autocomplete options only supports unicode characters, this means only unicode emojis are supported. But nothing stops you from doing smt like
<emoji name> | <emoji id>
And you need smt to convert the emoji object into a stringI could def do that with the id property but I'm not sure if it will work if my emojis r from another server
You can fetch any emoji from any server you bot is (make sure the admins of the server allow this) and use it on the autocomplete
Ty
do animated emojis work?
oh