From 141628cdefdbb549370ca368188baed7d2f3f892 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Tue, 1 Aug 2023 22:48:31 -0600 Subject: [PATCH] maybe fix that? --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 3de6eaa..380ff28 100644 --- a/index.js +++ b/index.js @@ -160,7 +160,7 @@ client.on("interactionCreate", async interaction => { description: `${config.discord.coin}${amount}`, color: 0xFFff00 }] - }); + }).catch(err => {}); } else { @@ -237,14 +237,14 @@ client.on("interactionCreate", async interaction => { color: 0xffff00, description: `You received ${config.discord.coin}${amount} from ${interaction.user}.` }] - }); + }).catch(err => {});; interaction.user.send({ embeds: [{ title: "Transfer Receipt", color: 0xffff00, description: `You sent ${config.discord.coin}${amount} to ${interaction.options.getMember("user").user}.\nYou paid a tax of ${config.discord.coin}${amount}.` }] - }) + }).catch(err => {}); } });