Carbon
PluginsLinked RolesType Aliases

LinkedRolesOptions

LinkedRolesOptions: object

The options for the linked roles package

Type declaration

NameTypeDescription
disableDeployRoute?booleanWhether the deploy route should be disabled. Default false
disableVerifyUserCallbackRoute?booleanWhether the connect callback route should be disabled. Default false
disableVerifyUserRoute?booleanWhether the connect route should be disabled. Default false
metadataLinkedRoleCriteria[]The metadata that you want to check for, and that should show to the end-user on Discord.
metadataCheckersobjectThe functions that you want to use to check the metadata. Remarks If you are checking a boolean, you should return true or false. If you are checking an integer, you should return a number that is safe to use as an integer. If you are checking a datetime, you should return a Date.now() timestamp.

On this page

Edit on GitHub