fix auto embed
This commit is contained in:
parent
4f1de1bd08
commit
0d37fbc8c0
|
@ -107,7 +107,7 @@ export class Bot {
|
||||||
);
|
);
|
||||||
console.log('added word to library, set lastUser and increased counter to ' + this.counter)
|
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);
|
this.sendEmbed(msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue