Closed xTrayambak closed 4 months ago
This PR adds a state to ActivityStatus. This is necessary for custom activities, as specified by the Discord documentation.
state
ActivityStatus
This is how it is meant to be used (inside the onReady event)
onReady
await shard.updateStatus( activity = some ActivityStatus( name: "Custom Status", state: some "Woohoo!", kind: atCustom ), status = "idle" )
The name must always be "Custom Status", otherwise state will be ignored!
name
This PR adds a
state
toActivityStatus
. This is necessary for custom activities, as specified by the Discord documentation.This is how it is meant to be used (inside the
onReady
event)The
name
must always be "Custom Status", otherwisestate
will be ignored!