From 3c5aec1df89b7776009dc548a9cf9a790d2ddf8e Mon Sep 17 00:00:00 2001 From: acw0 Date: Tue, 28 Jul 2020 17:56:40 -0400 Subject: [PATCH] Show bot status as "Idle" when restarting --- PluralKit.Bot/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index 68a1af4e..b6b71e99 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -90,7 +90,7 @@ namespace PluralKit.Bot // We're not actually properly disconnecting from the gateway (lol) so it'll linger for a few minutes // Should be plenty of time for the bot to connect again next startup and set the real status if (_hasReceivedReady) - await _client.UpdateStatusAsync(new DiscordActivity("Restarting... (please wait)")); + await _client.UpdateStatusAsync(new DiscordActivity("Restarting... (please wait)"), UserStatus.Idle); } private Task HandleEvent(T evt) where T: DiscordEventArgs