From e6902ec5b179c8c4518a7477dc3071ef55db7e42 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 13 Oct 2019 18:54:38 +0200 Subject: [PATCH] replace hardcoded "supositware#1616" with the one from config --- event/listeners/commandblocked.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event/listeners/commandblocked.js b/event/listeners/commandblocked.js index f4e70116..9ea5b6d0 100644 --- a/event/listeners/commandblocked.js +++ b/event/listeners/commandblocked.js @@ -1,4 +1,5 @@ const { Listener } = require('discord-akairo'); +const { ownerID } = require('../../config.json'); class CommandBlockedListener extends Listener { constructor() { @@ -30,7 +31,7 @@ class CommandBlockedListener extends Listener { message.reply(blacklistMessage); break; case 'serverblacklist': - message.channel.send('This server have been blacklisted... to appeal contact Supositware#1616, and now i will yeet out of here'); + message.channel.send(`This server have been blacklisted... to appeal contact ${this.client.users.get(ownerID).username}#${this.client.users.get(ownerID).discriminator}, and now i will yeet out of here`); message.guild.leave(); break; }