Bug Fixes

This commit is contained in:
Daniel Odendahl Jr
2017-06-06 21:16:23 +00:00
parent f5e7c229a0
commit 850ba62e5a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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}`);
}
};
+2 -2
View File
@@ -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}`);
}
};