Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando-Santana-j committed Dec 10, 2024
1 parent fe61a49 commit b9b4b06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Discord/discordIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => { })
}
}

}
Expand Down

0 comments on commit b9b4b06

Please sign in to comment.