Type Alias ActivityOptions

ActivityOptions: {
    name: string;
    shardId?: number | readonly number[];
    state?: string;
    type?: ActivityType;
    url?: string;
}

Represents the options for an activity.

Type declaration

  • name: string
    • Activity's name.
  • OptionalshardId?: number | readonly number[]
    • The shard ID(s) associated with the activity.
  • Optionalstate?: string
    • User's current party status, or text used for a custom status.
  • Optionaltype?: ActivityType
    • Activity type.
  • Optionalurl?: string
    • Stream URL, is validated when type is 1.