Skip to content

Commit

Permalink
Update avatar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nocturnal-Compiler authored Feb 1, 2022
1 parent 65d3526 commit 555dfe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/information/avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = class UserInfo extends Command {
*/
async messageRun(message, args) {
const target = (args.length && (await resolveMember(message, args[0]))) || message.member;
const response = avatarInfo(target);
const response = avatarInfo(target.user);
await message.reply(response);
}
};

0 comments on commit 555dfe5

Please sign in to comment.