Issue with command info cmd

if(command.perms === "Owner" && message.author.id !== config.client.owner) return message.channel.send("Owner")
else if(command.perms === "Staff" && !message.member.roles.cache.has(config.moderation.modRole) || message.channel.id !== config.channels.staffCommands) return message.channel.send("Staff")


why does it return "Staff" even if command.perms is "Owner"?
Was this page helpful?