add counter to valid message log
This commit is contained in:
parent
98a1956744
commit
c51909ac13
|
@ -103,7 +103,7 @@ export class Bot {
|
||||||
msg.content,
|
msg.content,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
console.log('added word to library, set lastUser and increased 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