't default
This commit is contained in:
Daniel Odendahl Jr
2017-11-06 00:26:15 +00:00
parent c6dbc06fa3
commit 705125b581
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -31,15 +31,13 @@ module.exports = class DistractedBoyfriendCommand extends Command {
{
key: 'boyfriend',
prompt: 'Which user should be the boyfriend?',
type: 'user',
default: ''
type: 'user'
}
]
});
}
async run(msg, { otherGirl, girlfriend, boyfriend }) {
if (!boyfriend) boyfriend = msg.author;
const boyfriendAvatarURL = boyfriend.displayAvatarURL({
format: 'png',
size: 256
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "51.6.0",
"version": "51.6.1",
"description": "Your personal server companion.",
"main": "XiaoBot.js",
"scripts": {