diff --git a/commands/response/compliment.js b/commands/response/compliment.js index af3ae9c8..c1a898b0 100644 --- a/commands/response/compliment.js +++ b/commands/response/compliment.js @@ -22,6 +22,6 @@ module.exports = class ComplimentCommand extends Command { run(msg, args) { const user = args.user || msg.author; const compliment = compliments[Math.floor(Math.random() * compliments.length)]; - return msg.say(`${user}, ${compliment}`); + return msg.say(`${user.username}, ${compliment}`); } }; diff --git a/commands/response/roast.js b/commands/response/roast.js index dda77fbf..45ed3db6 100644 --- a/commands/response/roast.js +++ b/commands/response/roast.js @@ -12,7 +12,7 @@ module.exports = class RoastCommand extends Command { { key: 'user', prompt: 'What user do you want to roast?', - type: 'string', + type: 'user', default: '' } ] @@ -22,6 +22,6 @@ module.exports = class RoastCommand extends Command { run(msg, args) { const user = args.user || msg.author; const roast = roasts[Math.floor(Math.random() * roasts.length)]; - return msg.say(`${user}, ${roast}`); + return msg.say(`${user.username}, ${roast}`); } };