You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding role emojis that do not exist does not throw an error. Obviously, they don't show up in the reaction messages but an error isn't thrown either to let the user know they need to do something differently.
The text was updated successfully, but these errors were encountered:
I believe these emojis in the format :emoji: are converted to unicode. I am not sure how to handle this as I believe it is out of d.py scope. I think I could download a table of unicode values and have it check if it exists in there but then that would need to be manually updated, right?
You could take a look at the emote cog from ClemBot. I think it literally just checks if the emote exists by fetching the image, and the error handling service handles any errors d.py throws.
Note that this method will probably only work with custom Discord emotes. Default ones would probably need that Unicode table your suggesting. If there is an API with a Unicode table, you could query that. Honestly just having your own array, javascript list, or something like that is probably all we need. It would definitely need to be documented so folks know to update the table as
I'm OK not having the Unicode table added at least initially. We only use custom emotes for our role reactions right now anyways.
Adding role emojis that do not exist does not throw an error. Obviously, they don't show up in the reaction messages but an error isn't thrown either to let the user know they need to do something differently.
The text was updated successfully, but these errors were encountered: