Type alias ServerSubscriptionTierPayload

ServerSubscriptionTierPayload: {
    cost: number;
    createdAt: string;
    description?: string;
    roleId?: number;
    serverId: string;
    type: "Gold" | "Silver" | "Copper";
}

Type declaration

  • cost: number

    The cost of the tier in cents USD per month

  • createdAt: string

    The ISO 8601 timestamp that the server subscription tier was created at

  • Optional description?: string

    The description associated with the server subscription tier

  • Optional roleId?: number

    The ID of the role

  • serverId: string

    The ID of the server

  • type: "Gold" | "Silver" | "Copper"

    The type of the server subscription tier. This field is case sensitive!!

Generated using TypeDoc