Skip to content

Commit 72fac97

Browse files
committed
chore: Yeet UGO event ping for Scavs
1 parent a4e16ad commit 72fac97

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

src/ps/handlers/cron/ugo.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { resetUGOPlayed } from '@/cache/ugo';
2-
import Discord from '@/discord';
32
import { TimeZone } from '@/ps/handlers/cron/constants';
4-
import getSecretFunction from '@/secrets/functions';
53

64
import type { PSCronJobManager } from '@/ps/handlers/cron/index';
7-
import type { Client as DiscordClient } from 'discord.js';
85
import type { Client } from 'ps-client';
96

107
// UGO-CODE
@@ -14,14 +11,4 @@ export function register(this: Client, Jobs: PSCronJobManager): void {
1411
this.getRoom('Board Games').send(`/modnote Reset player participation counts for the day! Backup: ${backupUrl}`);
1512
});
1613
});
17-
// August 29, 22:00 GMT
18-
Jobs.register('hunt-swap-ping', '0 22 29 08 *', TimeZone.GMT, () => {
19-
getSecretFunction<(client: DiscordClient) => Promise<void>>('pingForHuntSwap', async () => {})(Discord)
20-
.then(() => {
21-
this.getRoom('Scavengers').send('/modnote Pinged for hunt swap. I think. Probably. I hope.');
22-
})
23-
.catch(() => {
24-
this.getRoom('Scavengers').send('/modnote Unable to ping for hunt swap! Tag PartMan!');
25-
});
26-
});
2714
}

0 commit comments

Comments
 (0)