Skip to main content

Class Game

A user's game status.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class Game : IActivity

Properties​

Name​

Gets the name of the activity.

View Source​
Declaration
public string Name { get; }

Type​

Gets the type of the activity.

View Source​
Declaration
public ActivityType Type { get; }

Flags​

Gets the flags that are relevant to this activity.

View Source​
Declaration
public ActivityProperties Flags { get; }

Details​

Gets the details on what the player is currently doing.

View Source​
Declaration
public string Details { get; }

Methods​

ToString()​

Returns the name of the Discord.Game.

View Source​
Declaration
public override string ToString()
Returns​

System.String

Implements​