Skip to content

Commit 38896fb

Browse files
committed
Mark DND users as online users for herojob
1 parent 80934b0 commit 38896fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/platform/discord/discord_module.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DiscordModule {
4646
return;
4747
}
4848

49-
if (event.status == UserStatus.online) {
49+
if (event.status == UserStatus.online || event.status == UserStatus.dnd) {
5050
(_usersOnlineStatus[guildId] ??= {})[userId] = true;
5151
} else {
5252
(_usersOnlineStatus[guildId] ??= {})[userId] = false;

0 commit comments

Comments
 (0)