diff --git a/commands/hidden/owned.js b/commands/hidden/owned.js index d5fa05f..86d35b4 100644 --- a/commands/hidden/owned.js +++ b/commands/hidden/owned.js @@ -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); } } }