mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Don
't default
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "51.6.0",
|
||||
"version": "51.6.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "XiaoBot.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user