From c629dee2dbd6028fc7172e35cb9567e9bf959206 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 28 Feb 2024 17:21:35 +0000 Subject: [PATCH] Fix give command using the wrong username --- src/commands/give.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/give.ts b/src/commands/give.ts index ad360a9..7bc24be 100644 --- a/src/commands/give.ts +++ b/src/commands/give.ts @@ -63,6 +63,6 @@ export default class Give extends Command { await inventory.Save(Inventory, inventory); - await interaction.reply(`${card.name} given to ${interaction.user}, they now have ${inventory.Quantity}`); + await interaction.reply(`${card.name} given to ${user.username}, they now have ${inventory.Quantity}`); } } \ No newline at end of file -- 2.43.4