Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Fixed ?gunblacklist not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyguy authored Jun 8, 2019
1 parent 799e62d commit e25694e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/misc/gunblacklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = async (Client, message, args) => {
const exists = (await Client.sql.query('SELECT reason FROM gblacklist WHERE memberid = $1', [user.id])).rows[0];
if (!exists) return message.reply('That user is not globally blacklisted!');

Client.sql.query('DELETE FROM gblacklist WHERE memberid = $1 LIMIT 1', [user.id]);
Client.sql.query('DELETE FROM gblacklist WHERE memberid = $1', [user.id]);
return message.channel.send(`Successfully removed a global blacklist from ${user.tag}.`);
};

Expand Down

0 comments on commit e25694e

Please sign in to comment.