don't ping the person

This commit is contained in:
loicbersier 2019-08-11 19:56:39 +02:00
parent 3549621ce5
commit ae710c7d65

View file

@ -27,9 +27,9 @@ class fakeleaveCommand extends Command {
if (fs.existsSync(`./bye/${message.guild.id}.json`)) { if (fs.existsSync(`./bye/${message.guild.id}.json`)) {
let member; let member;
if (args.member) { if (args.member) {
member = args.member; member = args.member.username;
} else { } else {
member = message.author; member = message.author.username;
} }
let bye = require(`../../bye/${message.guild.id}.json`); let bye = require(`../../bye/${message.guild.id}.json`);