CheckEqual

CheckEqual

GET 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.

Query Parameters

NameTypeDescription

role2

number

The 2nd role ID you are comparing.

role2

string

The 2nd role name or role reference you are comparing.

role1

number

The role ID.

role1

string

The role name or role reference.

true

Last updated