forked from cosmic/scythe
oops
This commit is contained in:
parent
73b5602396
commit
684c3df42a
|
|
@ -12,13 +12,11 @@ export class MessageEvents {
|
|||
@On({ event: "messageCreate" })
|
||||
async messageCreate([msg]: ArgsOf<"messageCreate">) {
|
||||
if (msg.embeds.length > 0) {
|
||||
if (
|
||||
msg.embeds[0].description?.includes("Bump done!")
|
||||
) {
|
||||
if (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 * 10 * 120);
|
||||
await sleep(1000 * 60 * 120);
|
||||
await msg.channel.send("it's time to bump again!");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue