diff --git a/src/bot.ts b/src/bot.ts index 49eaee0..fdc3ceb 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -87,7 +87,7 @@ export class Bot { } this.counter++; - + this.lastUser = msg.author.id; msg.content = msg.content.charAt(0).toUpperCase() + msg.content.slice(1); this.db.run( 'INSERT OR REPLACE INTO library (word, amount) VALUES (?, COALESCE((SELECT amount FROM library WHERE word = ?), 0) + 1)', @@ -169,7 +169,7 @@ export class Bot { }); const embed = new EmbedBuilder() - .setTitle('Top 10 most used words.') + .setTitle('Top 9 most used words.') .setDescription('This is the Library with the most used words and their amount.\u200B⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤⏤') .setColor(0xffe600) .setFields(fields);