discord-tickets / bot

The most popular open-source and self-hosted ticket management bot for Discord - a free alternative to the premium and white-label plans of other popular ticketing bots.
https://discordtickets.app
GNU General Public License v3.0
898 stars 473 forks source link

[BUG] "Robot" Emoji Issues #457

Closed GeckoBoy84 closed 1 year ago

GeckoBoy84 commented 1 year ago

Is there an existing issue for this?

Current Behavior

The bot has issues with having "robot" as an emoji for a category. It works fine as unicode but not as "robot" or ":robot:

Expected Behavior

Should work fine as with the other emojis I have tried

Steps To Reproduce

No response

Environment

- OS: Pterodactyl - Ubuntu Server 20.04
- Node: 18
- NPM: Unsure
- Bot: 4.0.6

Anything else?

eartharoid commented 1 year ago

I'm not sure why :robot: doesn't work, because it does appear to be supported by emojilib, but as far as I can tell, this must be a node-emoji or emojilib issue and I'm not going to investigate further.

As now mentioned at https://discordtickets.app/configuration/categories/#emoji, using the Unicode character is recommended, but names will be attempted for convenience.