Skip to main content

DiscordRoleSubscriptionData

Documentation


Documentation / @discordeno/types / DiscordRoleSubscriptionData

Interface: DiscordRoleSubscriptionData

Defined in: discord/message.ts:538

https://docs.discord.com/developers/resources/message#role-subscription-data-object-role-subscription-data-object-structure

Properties

is_renewal

is_renewal: boolean

Defined in: discord/message.ts:546

whether this notification is for a renewal rather than a new purchase


role_subscription_listing_id

role_subscription_listing_id: string

Defined in: discord/message.ts:540

the id of the sku and listing that the user is subscribed to


tier_name

tier_name: string

Defined in: discord/message.ts:542

the name of the tier that the user is subscribed to


total_months_subscribed

total_months_subscribed: number

Defined in: discord/message.ts:544

the cumulative number of months that the user has been subscribed