diff --git a/Myriad/Types/Activity.cs b/Myriad/Types/Activity.cs index ce91c688..34a2e5e2 100644 --- a/Myriad/Types/Activity.cs +++ b/Myriad/Types/Activity.cs @@ -3,6 +3,7 @@ namespace Myriad.Types; public record Activity { public string Name { get; init; } + public string State { get; init; } public ActivityType Type { get; init; } public string? Url { get; init; } } diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index 4b329f64..506382ef 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -67,8 +67,9 @@ public class Bot { new Activity { - Type = ActivityType.Game, - Name = BotStatus + Type = ActivityType.Custom, + Name = BotStatus, + State = BotStatus } } }; @@ -141,7 +142,8 @@ public class Bot new Activity { Name = "Restarting... (please wait)", - Type = ActivityType.Game + State = "Restarting... (please wait)", + Type = ActivityType.Custom } }, Status = GatewayStatusUpdate.UserStatus.Idle @@ -276,7 +278,8 @@ public class Bot new Activity { Name = BotStatus, - Type = ActivityType.Game + State = BotStatus, + Type = ActivityType.Custom, } }, Status = GatewayStatusUpdate.UserStatus.Online