UserPresence - truemedian/Discordia GitHub Wiki

Inherits Container

Abstract base class that defines the base methods and/or properties for classes that represent a user's current presence information. Note that any method or property that exists for the User class is also available in the UserPresence class and its subclasses.

Properties

status
user
activity

Inherited from Container
client
parent

Properties

.status

The user's online status (online, dnd, idle, offline).

Type: string

.user

The user that this presence represents.

Type: User

.activity

The Activity that this presence represents.

Type: Activity

Inherited from Container

.client

A shortcut to the client object to which this container is visible.

Type: Client

.parent

The parent object of to which this container is a child. For example, the parent of a role is the guild in which the role exists.

Type: Container|Client

⚠️ **GitHub.com Fallback** ⚠️