parent
cea014ce9d
commit
ba86017d4f
3
index.js
3
index.js
|
@ -522,7 +522,7 @@ const handleDiscord = function (data) {
|
||||||
color: 0xff0000
|
color: 0xff0000
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}).then(() => {
|
})
|
||||||
db.run(`DELETE FROM userAlerts WHERE userid = ? AND iemchannel = ?`, [user.id, fromChannel], (err) => {
|
db.run(`DELETE FROM userAlerts WHERE userid = ? AND iemchannel = ?`, [user.id, fromChannel], (err) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.error(err.message);
|
console.error(err.message);
|
||||||
|
@ -530,7 +530,6 @@ const handleDiscord = function (data) {
|
||||||
console.log(`${colors.cyan("[INFO]")} Deleted user ${user.id} from database`);
|
console.log(`${colors.cyan("[INFO]")} Deleted user ${user.id} from database`);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
})
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue