forked from cosmic/scythe
1
0
Fork 0

fix bump reminder

This commit is contained in:
rainydevzz 2025-03-17 19:07:59 -07:00
parent d5b0b17432
commit 73b5602396
1 changed files with 2 additions and 3 deletions

View File

@ -13,13 +13,12 @@ export class MessageEvents {
async messageCreate([msg]: ArgsOf<"messageCreate">) {
if (msg.embeds.length > 0) {
if (
msg.author.id == "302050872383242240" &&
msg.embeds[0].description?.includes("Bump done! :thumbsup:")
msg.embeds[0].description?.includes("Bump done!")
) {
await msg.channel.send(
"thanks for bumping <3 I'll send a reminder in 2 hours :3",
);
await sleep(1000 * 60 * 120);
await sleep(1000 * 10 * 120);
await msg.channel.send("it's time to bump again!");
}
}