forked from Supositware/Haha-Yes
fixed the command
This commit is contained in:
parent
091ca60365
commit
3cb0bc1d11
1 changed files with 5 additions and 1 deletions
|
@ -20,8 +20,12 @@ class fartpissCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
|
if (!args.member) {
|
||||||
|
message.guild.members.get(message.author.id).setNickname('fart pis');
|
||||||
|
return message.channel.send('fart piss <:youngtroll:488559163832795136>');
|
||||||
|
}
|
||||||
args.member.setNickname('fart pis');
|
args.member.setNickname('fart pis');
|
||||||
message.channel.send('fart piss <:youngtroll:488559163832795136>');
|
return message.channel.send('fart piss <:youngtroll:488559163832795136>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue