Revert "Default functions"

This reverts commit 513a5fcf55a7d5e0b98dd9d52fc92b659e767e7b.
This commit is contained in:
Daniel Odendahl Jr
2017-11-28 17:18:35 +00:00
parent bb4c323bb7
commit 1bc579cbb4
4 changed files with 3 additions and 122 deletions
+2 -1
View File
@@ -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