Type Alias PresenceData

PresenceData: {
    activities?: readonly ActivitiesOptions[];
    afk?: boolean;
    shardId?: number | readonly number[];
    status?: PresenceStatusData;
}

Represents the presence data for a bot.

Type declaration

  • Optionalactivities?: readonly ActivitiesOptions[]
    • An array of activity objects representing the bot's current activities.
  • Optionalafk?: boolean
    • Indicates whether the bot is marked as AFK (away from keyboard).
  • OptionalshardId?: number | readonly number[]
    • The shard ID(s) associated with the bot's presence.
  • Optionalstatus?: PresenceStatusData
    • The status of the bot, such as online or idle.