I thought I fixed this issue with avatar but apparently not
This commit is contained in:
parent
fea07b47ce
commit
10e934e722
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ exports.run = async (message, args) => {
|
|||
const member = message.channel.guild.members.find(element => {
|
||||
return userRegex.test(element.nick) ? userRegex.test(element.nick) : userRegex.test(element.username);
|
||||
});
|
||||
return member ? member.user.dynamicAvatarURL(null, 1024) : message.author.user.dynamicAvatarURL(null, 1024);
|
||||
return member ? member.user.dynamicAvatarURL(null, 1024) : message.author.dynamicAvatarURL(null, 1024);
|
||||
} else {
|
||||
return message.author.dynamicAvatarURL(null, 1024);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue