-
-
Notifications
You must be signed in to change notification settings - Fork 57
Authorization Claims
Jay Madden edited this page Apr 26, 2021
·
8 revisions
Claims represent different permissions within the bots. Claims are added to different roles and anyone that has that role is granted access to the functionality/commands that that claim authorizes.
Anyone with admins perms is automatically granted all claims irregardless of their other roles.
The current available claims are
- designated_channel_view : Allows for viewing of available and assigned designated channels in a server
- designated_channel_modify : Allows for adding and removing designations from channels in a server
- custom_prefix_set : Allows for the prefix the Clembot responds to in a server to be set
- welcome_message_view : Allows for the welcome message dmd to the new members to be viewed
- welcome_message_modify : Allows for the welcome message dmd to the new members to be set
- tag_add : Allows tags to be added in a server
- tag_delete : Allows other peoples tags to be deleted in a server
- assignable_roles_add : Allows for adding a role as assignable
- assignable_roles_delete : Allows for removing a role as assignable
- delete_message : Allows for deletion of any message that Clembot reacts with a trashcan too
- emote_add : Allows for use of the emote add command
- claims_view : Allows for viewing of claims that a user or role has
- claims_modify : Allows for modifying the assigned claims of a role
- manage_class_add : Allows for usage of the class creation wizard
- moderation_warn : Allows for usage of the warn command
- moderation_mute : Allows for usage of the mute command
- moderation_ban : Allows for usage of the ban command
- moderation_infraction_view : Allows for usage of the infractions command to list a given users warnings
To add a claim to a role run the command
<prefix>claims add <claim> @role
To remove a claim from a role run the command
<prefix>claims delete <claim> @role
To list all claims on a user or role run
<prefix>claims list @role
or <prefix>claims list @user