Skip to content

Commit 9b31837

Browse files
Dumb mistakes
1 parent 8029fce commit 9b31837

File tree

1 file changed

+3
-3
lines changed
  • Ep_06/commands/moderation

1 file changed

+3
-3
lines changed

Ep_06/commands/moderation/ban.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ module.exports = {
5151
}
5252

5353
// Check if the user's banable
54-
if (!toBan.banable) {
54+
if (!toBan.bannable) {
5555
return message.reply("I can't ban that person due to role hierarchy, I suppose.")
5656
.then(m => m.delete(5000));
5757
}
5858

5959
const embed = new RichEmbed()
60-
.setColor(this.client.color)
60+
.setColor("#ff0000")
6161
.setThumbnail(toBan.user.displayAvatarURL)
6262
.setFooter(message.member.displayName, message.author.displayAvatarURL)
6363
.setTimestamp()
@@ -93,4 +93,4 @@ module.exports = {
9393
}
9494
});
9595
}
96-
};
96+
};

0 commit comments

Comments
 (0)