GodotcordPresence

Data class for a discord presence

Description

Data class for a discord presence

     
PresenceStatus status  
GodotcordActivity activity 0
   
PresenceStatus get_status()
void set_status(property : PresenceStatus)
GodotcordActivity get_activity()
void set_activity(property : GodotcordActivity)

Enumerations

enum PresenceStatus

  • OFFLINE=0 — The user is currently offline
  • ONLINE=1 — The user is currently online
  • IDLE=2 — The user is currently idling
  • DO_NOT_DISTURB=3 — The users status is do not disturb

Method Descriptions

  • PresenceStatus get_status()

  • void set_status(property : PresenceStatus)

  • GodotcordActivity get_activity()

  • void set_activity(property : GodotcordActivity)