mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
allow using animated emojis + emojis from other servers w/ nitro
also hide unavailable emojis and role-locked emojis. if you have the role it still wont show up yet though
This commit is contained in:
@@ -1617,6 +1617,13 @@ std::set<Snowflake> DiscordClient::GetPrivateChannels() const {
|
||||
return ret;
|
||||
}
|
||||
|
||||
PremiumType DiscordClient::GetSelfPremiumType() const {
|
||||
const auto &data = GetUserData();
|
||||
if (data.PremiumType.has_value())
|
||||
return *data.PremiumType;
|
||||
return PremiumType::None;
|
||||
}
|
||||
|
||||
void DiscordClient::HeartbeatThread() {
|
||||
while (m_client_connected) {
|
||||
if (!m_heartbeat_acked) {
|
||||
|
||||
Reference in New Issue
Block a user