GuildBountiesUpdate: {
    channelId?: string | null;
    enabled?: boolean;
    playerTypes?: BountyPlayerType[];
    roleId?: string | null;
    showNotifyButton?: boolean | null;
    webhook?: GuildBountiesWebhook | null;
}

What updateGuildBounties accepts.

Type declaration

  • OptionalchannelId?: string | null
  • Optionalenabled?: boolean
  • OptionalplayerTypes?: BountyPlayerType[]

    Non-empty. Stored in a fixed order, repeats collapsed.

  • OptionalroleId?: string | null
  • OptionalshowNotifyButton?: boolean | null

    null resets it to the default (on).

  • Optionalwebhook?: GuildBountiesWebhook | null

    null removes it. Premium Plus.