Add bypass to deletion for main guild
Some checks failed
ptero-push / build (push) Has been cancelled

This commit is contained in:
Christopher Cookman 2025-02-03 05:04:21 -07:00
parent bd275403e9
commit e02faaab18

View file

@ -522,6 +522,7 @@ xmpp.on("stanza", (stanza) => {
}).catch((err) => {
console.log(`${colors.red("[ERROR]")} Failed to send message to ${channel.guild.ownerId}`);
}).then(() => {
if (channel.guildId == config.discord.mainGuild) return;
db.run(`DELETE FROM channels WHERE channelid = ? AND iemchannel = ?`, [channel.id, fromChannel], (err) => {
if (err) {
console.error(err.message);