diff options
Diffstat (limited to 'commands/dm.js')
| -rw-r--r-- | commands/dm.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/dm.js b/commands/dm.js index edd8a0a..fcaeb0d 100644 --- a/commands/dm.js +++ b/commands/dm.js @@ -4,11 +4,11 @@ module.exports = { execute(msg, args, bot) { if (msg.author) { // TODO: fix discord not evaluating args[1] if (!msg.mentions.users.first() && !args[1]) { - msg.reply('you haven\'t specified a user or a message.') + msg.reply('you haven\'t specified a user or a message.'); } else if (!args[1]) { - msg.reply('you haven\'t specified anything to send.') + msg.reply('you haven\'t specified anything to send.'); } else if (!msg.mentions.users.first()) { - msg.reply('you haven\'t specified anyone to send a dm to.') + msg.reply('you haven\'t specified anyone to send a dm to.'); } else { var sendTo = msg.mentions.users.first().id; var d = new Date(msg.createdTimestamp); @@ -63,4 +63,4 @@ module.exports = { msg.reply('insufficent perms bruh'); } } -}
\ No newline at end of file +};
\ No newline at end of file |