Cool Functions
Here, I’m showing you some other interesting functions from the Utility module.
const channel = Utility.findChannel(guild, channelName/channelId); // Find the channel
const role = Utility.findRole(guild, roleName/roleId); // Find the role
const prefix = await Utility.getPrefix(guildId); // Get the bot's prefix
Utility.findMember(guild, user); // Find a member in the guild
Utility.permission(member, guild, rolesArray); // Check if the member has permissionLast updated