Is there a check for emotes locked behind server boost levels? #6627
Answered
by
NCPlayz
SuperZoops
asked this question in
Q&A
-
As a stupid example, if I wanted to set up a listener that checks if an emote sent is available with the current amount of boosts. |
Beta Was this translation helpful? Give feedback.
Answered by
NCPlayz
Apr 4, 2021
Replies: 1 comment 1 reply
-
You should be able to check the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Rapptz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
discord.Emoji
has an.available
attribute to be able to determine exactly that - whether or not it can be used with the main reason that can affect it being the server boost level.You should be able to check the
Guild.premium_tier
to see if the boost level has dropped, as well as compareGuild.emoji_limit
, with theon_guild_update
event.