Provide the Nitro Booster role in guild's data
The Nitro Booster role is a bit special, since it cannot be deleted nor removed from members. Our bots need to be aware of that to prevent editing that said role.
For example, when removing all roles from a member, we have to remove the default role (@everyone, provided by the API and with a fix name anyway), and the Nitro Booster role (name can change, no way to know what that role is) from the list to prevent issues.
The data provided by the API for guilds should precise what role is given to Nitro Boosters (can be null if no one boosted the server) like with the default role!
9
-
I don't see it listed here https://discordapp.com/developers/docs/resources/guild#guild-object
0
Yorum yazmak için lütfen oturum açın.
Yorumlar
1 yorum