MrQuickLine
MrQuickLine
DIAdiscord.js - Imagine a boo! 👻
Created by MrQuickLine on 8/29/2023 in #djs-questions
How do I distinguish an `APIRole` from a `Role`?
In a CommandInteraction, if you set one of the options to type: 8 for Role, the user can pass in an APIRole if they want. (I think that's a separate problem that needs to be solved, but in the meantime...) Is there an easy way to check if they've passed in a Role or an APIRole?
6 replies