@@ -794,6 +794,7 @@ export interface UserNameplate {
794794/** @private */
795795export interface ResolvedRole {
796796 color : number ;
797+ colors : RoleColors ;
797798 hoist : boolean ;
798799 id : string ;
799800 icon ?: string ;
@@ -806,6 +807,32 @@ export interface ResolvedRole {
806807 tags ?: RoleTags ;
807808}
808809
810+ /** A role's tags */
811+ export interface RoleTags {
812+ /** The ID of the bot that belongs to the role */
813+ bot_id ?: string ;
814+ /** The ID of the integration that belongs to the role */
815+ integration_id ?: string ;
816+ /** Whether this is the guild's booster role */
817+ premium_subscriber ?: null ;
818+ /** The ID of this role's subscription SKU and listing */
819+ subscription_listing_id ?: string ;
820+ /** Whether this role can be purchased */
821+ available_for_purchase ?: null ;
822+ /** Whether this is a guild's linked role */
823+ guild_connections ?: null ;
824+ }
825+
826+ /** A role's colors */
827+ export interface RoleColors {
828+ /** The primary color for the role */
829+ primary_color : number ;
830+ /** The secondary color for the role */
831+ secondary_color : number | null ;
832+ /** The tertiary color for the role */
833+ tertiary_color : number | null ;
834+ }
835+
809836/** @private */
810837export interface CommandChannel {
811838 type : ChannelType ;
@@ -881,22 +908,6 @@ export interface ForumDefaultReaction {
881908 emoji_id : string | null ;
882909}
883910
884- /** A role's tags */
885- export interface RoleTags {
886- /** The ID of the bot that belongs to the role */
887- bot_id ?: string ;
888- /** The ID of the integration that belongs to the role */
889- integration_id ?: string ;
890- /** Whether this is the guild's booster role */
891- premium_subscriber ?: null ;
892- /** The ID of this role's subscription SKU and listing */
893- subscription_listing_id ?: string ;
894- /** Whether this role can be purchased */
895- available_for_purchase ?: null ;
896- /** Whether this is a guild's linked role */
897- guild_connections ?: null ;
898- }
899-
900911/** @hidden */
901912export interface UserObject extends CommandUser {
902913 /** Whether this user is a bot. */
0 commit comments