CheckEqual

get
CheckEqual

exports.Badger_Discord_API:CheckEqual(role1, role2)
This export allows you to check if a Discord role ID is equal to a Discord role Name, this can also check if a Discord role ID is equal to Badger_Discord_API config's RoleList role reference.
Request
Response
Request
Query Parameters
role2
required
number
The 2nd role ID you are comparing.
role2
required
string
The 2nd role name or role reference you are comparing.
role1
required
number
The role ID.
role1
required
string
The role name or role reference.
Response
200: OK
Returns true if the roles are considered equal:
true
404: Not Found
Returns false if the roles are not considered equal:
false