Fix give command using the wrong username
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Ethan Lane 2024-02-28 17:21:35 +00:00
parent 806dcb9ab3
commit c629dee2db

View file

@ -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}`);
}
}