Skip to content

Commit f53607c

Browse files
committed
schedule: Slightly better hangman ending for GGSS
1 parent 74f4ed3 commit f53607c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/ps/handlers/cron/hindi.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function _postGGSSEvent(this: Client) {
2626
const ggssRoom = this.getRoom('galligallisimsim');
2727
if (!ggssRoom) return;
2828

29+
ggssRoom.send('/hangman end');
2930
ggssRoom.send('Khelne ke liye shukriya!'); // TODO: Use i18n instead
3031
ggssRoom.send('/modchat +');
3132
if (Math.random() < 0.1) {
@@ -66,9 +67,10 @@ async function Hangman(this: Client) {
6667

6768
gamesDone++;
6869
await sleep('20s');
69-
room.send('/hangman end');
7070
}
7171

72+
await sleep('40s');
73+
7274
_postGGSSEvent.call(this);
7375
}
7476

0 commit comments

Comments
 (0)