Add online user counting back (ish)

This commit is contained in:
Ske 2020-04-30 23:55:12 +02:00
parent 697a24c4fa
commit 042327d4aa

View File

@ -72,8 +72,7 @@ namespace PluralKit.Bot
foreach (var user in guild.Members.Values)
{
usersKnown.Add(user.Id);
// Presence updates are disabled, for now we just assume every user is online, I guess
if (user.Presence?.Status == UserStatus.Online)
usersOnline.Add(user.Id);
}