use camel case properly
This commit is contained in:
parent
dfc1674bad
commit
b561f80835
3 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ module.exports = class {
|
|||
const blocklist = data.guild.blocklist;
|
||||
|
||||
if (action === 'add') {
|
||||
if (member.id === message.guild.ownerID) return message.channel.send(
|
||||
if (member.id === message.guild.ownerId) return message.channel.send(
|
||||
`${client.config.emojis.userError} You can't block the owner, silly!`
|
||||
);
|
||||
|
||||
|
@ -96,7 +96,7 @@ module.exports = class {
|
|||
}
|
||||
|
||||
if (action === 'remove') {
|
||||
if (client.functions.highestRole(member).position >= client.functions.highestRole(message.member).position && message.member.id !== message.guild.ownerID) {
|
||||
if (client.functions.highestRole(member).position >= client.functions.highestRole(message.member).position && message.member.id !== message.guild.ownerId) {
|
||||
return message.channel.send(`${client.config.emojis.userError} This user has a higher role than you, you can't remove them to the blocklist!`);
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ module.exports = class {
|
|||
.setTitle(guild.name)
|
||||
.setThumbnail(guild.iconURL)
|
||||
.addField('ID', guild.id, true)
|
||||
.addField('Owner', `<@${guild.ownerID}>`, true)
|
||||
.addField('Owner', `<@${guild.ownerId}>`, true)
|
||||
.addField('Region', guild.region.toProperCase(), true)
|
||||
.addField('Boosts', `${guild.premiumSubscriptionCount} (Level ${guild.premiumTier})`, true)
|
||||
.addField('Member Count (Approximate)', `${guild.memberCount} (${guild.memberCount - guild.members.filter(member => member.user.bot).length} humans, ${guild.members.filter(member => member.user.bot).length} bots)`, true)
|
||||
|
|
|
@ -47,7 +47,7 @@ module.exports = class {
|
|||
const badges = [];
|
||||
|
||||
if (client.config.ownerIDs.includes(member.id)) badges.push('<:Woomy_Developer:816822318289518622> ');
|
||||
if (member.id === member.guild.ownerID) badges.push('<:owner:685703193694306331>');
|
||||
if (member.id === member.guild.ownerId) badges.push('<:owner:685703193694306331>');
|
||||
if (member.bot) badges.push('<:bot:686489601678114859>');
|
||||
|
||||
const roles = [];
|
||||
|
|
Loading…
Reference in a new issue