From b9b4b0602e1f48b7c62d92a969547fdc659be462 Mon Sep 17 00:00:00 2001 From: Fernando Date: Tue, 10 Dec 2024 05:57:36 -0300 Subject: [PATCH] fix --- Discord/discordIndex.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Discord/discordIndex.js b/Discord/discordIndex.js index cc937b9..a47e0b8 100644 --- a/Discord/discordIndex.js +++ b/Discord/discordIndex.js @@ -2466,11 +2466,11 @@ module.exports.sendProductPayment = async (params, id, type) => { } }, 60000) } catch (error) { - var DiscordServer2 = await client.guilds.cache.get(serverID); - let findChannel2 = await DiscordServer2.channels.cache.find(c => c.topic === userID) - if (findChannel2) { - findChannel2.delete().catch((err) => { }) - } + var DiscordServer2 = client.guilds.cache.get(serverID); + let findChannel2 = DiscordServer2.channels.cache.find(c => c.topic === userID) + if (findChannel2) { + findChannel2.delete().catch((err) => { }) + } } }