From 181cc0324a8a42c6f6ffdb757a77d59d522ef4d9 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 20 Mar 2018 22:19:50 +0000 Subject: [PATCH] Fix --- commands/util/blacklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util/blacklist.js b/commands/util/blacklist.js index 5bf966be..60d649cb 100644 --- a/commands/util/blacklist.js +++ b/commands/util/blacklist.js @@ -24,7 +24,7 @@ module.exports = class BlacklistCommand extends Command { if (user.bot) return msg.reply('Bots cannot be blacklisted.'); const blacklist = this.client.provider.get('global', 'blacklist', []); if (blacklist.includes(user.id)) return msg.reply(`${user.tag} is already blacklisted!`); - blacklist.push(blacklist.id); + blacklist.push(user.id); this.client.provider.set('global', 'blacklist', blacklist); return msg.say(`${user.tag} has been blacklisted.`); }