[Feature] Support for setting custom status (#2749)
This commit is contained in:
@@ -11,6 +11,20 @@ namespace Discord
|
||||
{
|
||||
internal CustomStatusGame() { }
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new custom status activity.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Bots can't set custom status emoji.
|
||||
/// </remarks>
|
||||
/// <param name="state">The string displayed as bot's custom status.</param>
|
||||
public CustomStatusGame(string state)
|
||||
{
|
||||
Name = "Custom Status";
|
||||
State = state;
|
||||
Type = ActivityType.CustomStatus;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the emote, if it is set.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user