replace hardcoded "supositware#1616" with the one from config
This commit is contained in:
parent
7c9434f0eb
commit
e6902ec5b1
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue