Presence
Implementation of a Discord Presence as a Luau builder.
https://discord.com/developers/docs/events/gateway-events#update-presence
Properties
The Presence instance has no set properties!
Methods
The Presence instance has no set methods!
Functions
addActivity
Presence . addActivity () -> ()
self: Presence
activity: activity.JSON
Adds an activity to the presence.
setStatus
Presence . setStatus () -> ()
self: Presence
status: apiTypes.Status
Sets the status of the presence.
setAfk
Presence . setAfk () -> ()
self: Presence
isAfk: boolean
Sets whether the presence is AFK.
setSince
Presence . setSince () -> ()
self: Presence
delta: number
Sets the time since the presence was last updated.
build
Presence . build () -> ()
self: Presence
Builds the presence object that can be sent to the Discord API.
new
Presence . new ( ) -> ()
Constructor for the Discord Presence Builder.