Hi everyone!

I was making a game and was making a webhook for it, and came across an error that happens when it is being sent. I send a piece of string that attempts to make an emoji inside my discord server, but it does not make an emoji out of it. Here is the string i send:

local dm="**" .. player.Name .. "** has beaten **" .. towern .. "** [:" .. towerDiff .. ":] in `" .. m .. ":" .. s .. "." .. ms .. "`" .. yeet .. thestring

Basically, in my discord this shows (example):

JustAnotherGaming has beaten Tower of A Divine Introduction [:Simplistic:] in 24:21:34! (The "[:Simplistic:]" is supposed to be a server emoji in brackets. The emoji name is also spelled correctly.)

How do I fix this?

Any help is appreciated :)

1 comment

0

You can hardcode emoji with ID in the code. Write ":emoji_name:" in any channel and it will display "<:emoji_name:id_number>". Thats what you need to paste inside the webhook.