Class PresenceUpdateEventArgs
Represents arguments for PresenceUpdated event.
Namespace: DisCatSharp.EventArgs
Assembly: DisCatSharp.dll
Syntax
public class PresenceUpdateEventArgs : DiscordEventArgs
Properties
| Improve this Doc View SourceActivity
Gets the user's new game.
Declaration
public DiscordActivity Activity { get; }
Property Value
Type | Description |
---|---|
DiscordActivity |
PresenceAfter
Gets the user's new presence.
Declaration
public DiscordPresence PresenceAfter { get; }
Property Value
Type | Description |
---|---|
DiscordPresence |
PresenceBefore
Gets the user's old presence.
Declaration
public DiscordPresence PresenceBefore { get; }
Property Value
Type | Description |
---|---|
DiscordPresence |
Status
Gets the user's status.
Declaration
public UserStatus Status { get; }
Property Value
Type | Description |
---|---|
UserStatus |
User
Gets the user whose presence was updated.
Declaration
public DiscordUser User { get; }
Property Value
Type | Description |
---|---|
DiscordUser |
UserAfter
Gets the user after the presence update.
Declaration
public DiscordUser UserAfter { get; }
Property Value
Type | Description |
---|---|
DiscordUser |
UserBefore
Gets the user prior to presence update.
Declaration
public DiscordUser UserBefore { get; }
Property Value
Type | Description |
---|---|
DiscordUser |