mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Revert "Default functions"
This reverts commit 513a5fcf55a7d5e0b98dd9d52fc92b659e767e7b.
This commit is contained in:
@@ -21,13 +21,14 @@ module.exports = class YearsCommand extends Command {
|
||||
key: 'user',
|
||||
prompt: 'Which user would you like to edit the avatar of?',
|
||||
type: 'user',
|
||||
default: msg => msg.author
|
||||
default: ''
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
async run(msg, { user }) {
|
||||
if (!user) user = msg.author;
|
||||
const avatarURL = user.displayAvatarURL({
|
||||
format: 'png',
|
||||
size: 256
|
||||
|
||||
Reference in New Issue
Block a user