forked from Supositware/Haha-Yes
don't ping the person
This commit is contained in:
parent
3549621ce5
commit
ae710c7d65
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ class fakeleaveCommand extends Command {
|
|||
if (fs.existsSync(`./bye/${message.guild.id}.json`)) {
|
||||
let member;
|
||||
if (args.member) {
|
||||
member = args.member;
|
||||
member = args.member.username;
|
||||
} else {
|
||||
member = message.author;
|
||||
member = message.author.username;
|
||||
}
|
||||
|
||||
let bye = require(`../../bye/${message.guild.id}.json`);
|
||||
|
|
Loading…
Reference in a new issue