From 53095998ee531c9100c49d0fb7a5ef068e9de82d Mon Sep 17 00:00:00 2001 From: CorwinDev <88144943+CorwinDev@users.noreply.github.com> Date: Mon, 22 Aug 2022 16:22:25 +0200 Subject: [PATCH] Fixed typo --- website/bot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/bot/index.js b/website/bot/index.js index 0659f67..989c234 100644 --- a/website/bot/index.js +++ b/website/bot/index.js @@ -85,7 +85,7 @@ client.on('interactionCreate', async interaction => { if (!bots1) { var bots1 = 'no bots'; } - var user = await users.findOne({ id: user.id }); + var user = await users.findOne({ id: interaction.user.id }); const embed = new EmbedBuilder() .setAuthor({ name: interaction.user.tag, iconURL: interaction.user.avatarURL({ dynamic: true }) }) .setColor("#7289da")