interface RoleSubscriptionData

export interface RoleSubscriptionData

Role subscription data found on MessageType.RoleSubscriptionPurchase messages.

isRenewal : boolean

Whether this notification is a renewal

roleSubscriptionListingId : Snowflake

The id of the SKU and listing the user is subscribed to

tierName : string

The name of the tier the user is subscribed to

totalMonthsSubscribed : number

The total number of months the user has been subscribed for