Skip to content

Commit 051efdf

Browse files
committed
chore: Oops don't ping locked users
1 parent 44d2fa3 commit 051efdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ps/handlers/cron/hindi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function _postGGSSEvent(this: Client) {
3030
ggssRoom.send('Khelne ke liye shukriya!'); // TODO: Use i18n instead
3131
ggssRoom.send('/modchat +');
3232
if (Math.random() < 0.1) {
33-
const randomAuth = ggssRoom.users.filter(user => ![' ', '*'].includes(user.charAt(0))).random();
33+
const randomAuth = ggssRoom.users.filter(user => ![' ', '*', '!', '‽'].includes(user.charAt(0))).random();
3434
if (!randomAuth) return;
3535
ggssRoom.send(`${randomAuth.slice(1)} hi nerd`);
3636
}

0 commit comments

Comments
 (0)