mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Cleaner Looking args
This commit is contained in:
@@ -7,11 +7,13 @@ module.exports = class AvatarCommand extends Command {
|
||||
group: 'userinfo',
|
||||
memberName: 'avatar',
|
||||
description: 'Gives a link to a user\'s avatar.',
|
||||
args: [{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to get the avatar of?',
|
||||
type: 'user'
|
||||
}]
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to get the avatar of?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,13 @@ module.exports = class UserInfoCommand extends Command {
|
||||
memberName: 'user',
|
||||
description: 'Gives some info on a user.',
|
||||
guildOnly: true,
|
||||
args: [{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to get info on?',
|
||||
type: 'user'
|
||||
}]
|
||||
args: [
|
||||
{
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to get info on?',
|
||||
type: 'user'
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user