forked from Supositware/Haha-Yes
Fix owned command
This commit is contained in:
parent
75ec054282
commit
d2aa20ffb5
1 changed files with 6 additions and 6 deletions
|
@ -27,23 +27,23 @@ class OwnedCommand extends Command {
|
|||
|
||||
if (args.member) {
|
||||
|
||||
if (args.member.id == this.client.user.id) {
|
||||
if (args.member.id === this.client.user.id) {
|
||||
return message.reply('You really thought you could own me?, pathetic...');
|
||||
} else if (args.member.id == this.client.ownerID) {
|
||||
} else if (args.member.id === this.client.ownerID) {
|
||||
return message.reply('You really thought you could own him?, pathetic...');
|
||||
} else if (args.member.id == '286054184623538177' || args.member.id == '172112210863194113') {
|
||||
} else if (args.member.id === '286054184623538177' || args.member.id === '172112210863194113') {
|
||||
owned = message.author;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (ownedMessage == epicMessage[0]) {
|
||||
if (ownedMessage === epicMessage[0]) {
|
||||
return message.reply(ownedMessage);
|
||||
}
|
||||
|
||||
return message.send(`${owned}, ${ownedMessage}`);
|
||||
return message.channel.send(`${owned}, ${ownedMessage}`);
|
||||
} else {
|
||||
return message.send(ownedMessage);
|
||||
return message.channel.send(ownedMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue