Skip to content
Snippets Groups Projects
Commit b7303ad6 authored by Reviath's avatar Reviath
Browse files

Fixed message event

parent 3c8b701c
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ const xp2 = await new Promise((resolve, reject) => {
if (err) throw err;
});
};
connection.query(`DELETE FROM ranksystem WHERE guildid ='${message.guild.id} AND userid ='${message.author.id}`, function (err, result) {
connection.query(`DELETE FROM ranksystem WHERE guildid ='${message.guild.id}' AND memberid ='${message.author.id}'`, function (err, result) {
if (err) throw err;
});
var levelmessage = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment