The presence manager's options.

Hierarchy

Properties

afk?: boolean

Whether the presence should display the client is AFK.

Default Value

false

customGetters?: PresenceTemplaterGetters

An object to map a templater key to a custom getter. The getter function should return a Promise that resolves to the correct string that the templater should replace the key with.

Default Value

{}

refreshInterval?: null | number

The interval at which the client's presence should be updated.

status?: PresenceStatusData

The presence status data to be used.

Default Value

online

templates?: string[]

The templates to be used by the presence manager refresh updated. For more information, check PresenceTemplater.

Default Value

['{num_guilds} servers!']

type?: Playing | Streaming | Listening | Watching | Competing

The activity type to be used.

Default Value

ActivityType.Playing

Generated using TypeDoc