mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Show bot status as "Idle" when restarting
This commit is contained in:
parent
2d755edc89
commit
3c5aec1df8
1 changed files with 1 additions and 1 deletions
|
|
@ -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>(T evt) where T: DiscordEventArgs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue