This is probably a nub question, but I can't seem to figure it out. I'm trying to make my bot check if it has a permission, and send a message if does not. I'm guessing it like this code to check it a member has a permission:
message.member.hasPermission("MUTE_MEMBERS") Is it like that to get a bots permissions? Any help would be appreciated!