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

Fixed prefix command

parent bde7f8ca
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ exports.run = async (client, message , args, connection) => {
return;
});
return;
};
} else {
connection.query(`UPDATE prefixes SET prefix ='${args[0]}' WHERE guild ='${message.guild.id}'`, function (err) {
if (err) {
throw err;
......@@ -78,6 +78,7 @@ exports.run = async (client, message , args, connection) => {
message.channel.send('Updated prefix.').catch(() => {
return;
});
}
};
};
};
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment