From 0d37fbc8c09b89a5f99df14f74fe2681249afc53 Mon Sep 17 00:00:00 2001 From: ShuriZma Date: Fri, 6 Dec 2024 12:37:22 +0100 Subject: [PATCH] fix auto embed --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index 7963237..29bd0e0 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -107,7 +107,7 @@ export class Bot { ); console.log('added word to library, set lastUser and increased counter to ' + this.counter) - if (this.counter === this.autoEmbedMessages) { + if (this.counter >= this.autoEmbedMessages) { this.sendEmbed(msg); } }