mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
More Formatting Woot
This commit is contained in:
@@ -20,7 +20,7 @@ module.exports = class AvatarCommand extends commando.Command {
|
||||
message.channel.send(':x: Error! Please mention one user!');
|
||||
}
|
||||
else {
|
||||
if (message.mentions.users.first().avatarURL === null) {
|
||||
if (!message.mentions.users.first().avatarURL) {
|
||||
message.channel.send(":x: Error! This person has no avatar!");
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user