StatusUpdate
Documentation / @discordeno/bot / StatusUpdate
Interface: StatusUpdate
Defined in: packages/gateway/dist/types/types.d.ts:196
https://discord.com/developers/docs/topics/gateway-events#update-presence
Properties
activities?
optional
activities:object
[]
Defined in: packages/gateway/dist/types/types.d.ts:198
The user's activities
applicationId?
optional
applicationId:string
assets?
optional
assets:object
assets.largeImage?
optional
assets.largeImage:string
assets.largeText?
optional
assets.largeText:string
assets.smallImage?
optional
assets.smallImage:string
assets.smallText?
optional
assets.smallText:string
buttons?
optional
buttons:object
[]
details?
optional
details:null
|string
emoji?
optional
emoji:null
| {animated
:boolean
;id
:string
;name
:string
; }
flags?
optional
flags:number
instance?
optional
instance:boolean
name
name:
string
party?
optional
party:object
party.id?
optional
party.id:string
party.size?
optional
party.size: [number
,number
]
secrets?
optional
secrets:object
secrets.join?
optional
secrets.join:string
secrets.match?
optional
secrets.match:string
secrets.spectate?
optional
secrets.spectate:string
state?
optional
state:null
|string
timestamps?
optional
timestamps:object
timestamps.end?
optional
timestamps.end:number
timestamps.start?
optional
timestamps.start:number
type
type:
ActivityTypes
url?
optional
url:null
|string
status
status:
"idle"
|"dnd"
|"online"
|"offline"
Defined in: packages/gateway/dist/types/types.d.ts:200
The user's new status