#http error

1 messages ยท Page 1 of 1 (latest)

maiden otter
#

what is emoji?

#

-ev const emoji = '๐ŸฆŠ'
const emojiButton = new Discord.MessageActionRow()
.addComponents(new Discord.MessageButton().setCustomId("nothing").setLabel(emoji).setStyle("SUCCESS"));
msg.channel.send({ content: "The emoji was " + emoji, components: [emojiButton] });

noble dagger
#

The emoji was ๐ŸฆŠ

sage frost
#

worked?

maiden otter
#

because if that's actually an emoji i can't reproduce it

sage frost
#

wdym

maiden otter
#

you use emoji, what is it?

#

as you see, if i make it a unicode emoji it works

sage frost
#

ohhhh ok

sage frost
#

๐Ÿ˜€

#

lol

#

thx man

maiden otter
#

well, the actual unicode

#

๐Ÿ˜€ not ":grinning:", discord can't resolve that

sage frost
#

do u hav a link to a list of unicode emojis

maiden otter
#

you can put a \ in front of it in discord

sage frost
#

ohhhh

#

\๐Ÿ˜€

#

thank u very much :)))))

maiden otter
#

that's a very strange error for that though

#

would've expected the API to say something about invalid emojis or sth

#

actually, can't reproduce that behaviour either

#

the label isn't very useful, of course, but it still works

#

also, if you want to use emojis, why the label, why not just a button emoji?

pastel cliffBOT
forest owl