(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] icon

(!! End of Life !!) FoxCodeBot | Discord [Tickets, ReactionRoles, WelcomeMessages, Suggestions, ...] -----

Modular Discord bot written in Python, self-hosted solution



ReactionRoles update | Select Menu
Hey there, I have updated the Reaction roles, now the bot can display selectors as SelectMenus :)
upload_2022-9-8_20-27-49.png

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):
    upload_2022-9-8_20-31-22.png
    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
  • Restart the bot :coffee:
----------, Sep 8, 2022
Resource Information
Author:
----------
Total Downloads: 1,743
First Release: Jan 3, 2022
Last Update: Nov 26, 2022
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings