CurrentUserGuilds: {
    banner: string | null;
    icon: string | null;
    id: string;
    isBotIn: boolean;
    name: string;
    premiumTierId: string | null;
    premiumTierName: string | null;
}[]

Type declaration

  • banner: string | null
  • icon: string | null
  • id: string
  • isBotIn: boolean
  • name: string
  • premiumTierId: string | null

    The paid tier this server is on, or null for none.

    The FREE tier reads as null rather than as a tier, so a truthy check here means "has actually paid for something". Computed per request rather than cached alongside the rest of the list, so it is current rather than up to a week old.

    Only ever set for guilds where isBotIn is true - the bot cannot know anything about the others.

  • premiumTierName: string | null