diff --git a/bot/commands/Configuration/blocklist.js b/bot/commands/Configuration/blocklist.js index e6628dc..adbfd4b 100644 --- a/bot/commands/Configuration/blocklist.js +++ b/bot/commands/Configuration/blocklist.js @@ -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!`); } diff --git a/bot/commands/Utility/serverinfo.js b/bot/commands/Utility/serverinfo.js index ddba662..17dac6d 100644 --- a/bot/commands/Utility/serverinfo.js +++ b/bot/commands/Utility/serverinfo.js @@ -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) diff --git a/bot/commands/Utility/userinfo.js b/bot/commands/Utility/userinfo.js index 376ca5d..69ca67d 100644 --- a/bot/commands/Utility/userinfo.js +++ b/bot/commands/Utility/userinfo.js @@ -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 = [];