Hey there, I have updated the Reaction roles, now the bot can display selectors as SelectMenus
You can keep using reactions as well, or combine it.
To be able to use this feature, you'll have to update the module and its config.
Update steps:
Download new version of the module, unzip, replace reactionRoles.py
Update your configuration as shown bellow (add new lines):
Code (YAML):
selector-creation-admin-role: Administrator
role-added-embed:
enabled: true
send-to: channel
# possible values: 'dm' = user's direct messages, 'channel' = the channel of selector embed-title: "Role added, {user}" embed-description: "New role **{role}** has been added to your account!" embed-footer: "FoxCode Reaction Roles" embed-color: 0x00ff00
role-removed-embed:
enabled: true
send-to: channel
# possible values: 'dm' = user's direct messages, 'channel' = the channel of selector embed-title: "Role removed, {user}" embed-description: "Role **{role}** has been removed from your account!" embed-footer: "FoxCode Reaction Roles" embed-color: 0xff0000
another-role-required-embed:
send-to: dm
# possible values: 'dm' = user's direct messages, 'channel' = the channel of selector embed-title: "Another role required, {user}" embed-description: "Sorry, you have to have **{required_role}** before you can acquire this role." embed-footer: "FoxCode Reaction Roles" embed-color: 0xff0000
selectors:
rules: # This is the selector name type: reaction
# Possible values: reaction/menu select-menu-title: "Agree to rules:" embed-title: "Server Rules" embed-description: "Please, agree to our server rules by clicking the confirm button." embed-footer: "FoxCode Reaction Roles" embed-color: 0x00ff00
options:
agreeRules:
name: "Accept Rules" description: "Select this to receive RulesAccepted role." emoji: "✅" role: RulesAccepted
multi-role-selector: # This is the selector name type: menu
# Possible values: reaction/menu select-menu-title: "Select your role:" embed-title: "Select your role:" embed-description: " - Role 1\n - Role 2" embed-footer: "FoxCode Reaction Roles" embed-color: 0x00ff00
only-one-role: true
# If set to true, user will be able to only select one role from the selector options:
Role1:
name: "Some Role" description: "Select this to receive some role." emoji: "" role: Role1
required-role: RulesAccepted
# The user has to have RulesAccepted role to be able to get the Role1 role Role2:
name: "Another Role" description: "Select this to receive another role" emoji: "" role: Role2