Welcome to CoreMart!

By registering with us, you'll be able to discuss, share, download resources and private message with other members of our community.

Sign-Up Now!
RolesManager | BrayanBot Addon

RolesManager | BrayanBot Addon 2.0.2

No permission to download

Banner1.png

Want to give role to user or whole server at once?​

Then this addon is perfect for you.
This addon adds multiple features to manage your roles with ease:
  • giverole (role) (user/"all"/"everyone") - give role to user(s)
  • removerole (role) (user/"all"/"everyone") - remove role from user(s)
  • temprole (add/remove/list) (user) (role) (time) - manage temporary roles
  • Option to give roles for content in user's status
  • Option to give roles for user's activity
  • Option to give roles to user's for being in selected VC

Target types for give/remove role commands:
@mention - User
everyone - All users WITHOUT bots
all - All users WITH bots

Information

This addon has license system. To get license gor your bot, open license ticket on support server.

Banner2.png

Estaminated action time:
1650874612554.png

(same for removerole)

Success message:
1650874647987.png

(same for removerole)

NOTE:
All messages are fully configurable and you can change it's look and content using configuration files.

Banner3.png

YAML:
# Define if addon is enabled
Enabled: true
# Status roles
StatusRoles:
  - # Avaliable modes: INCLUDES | EQUALS
    Mode: INCLUDES
    Content: d.js is cool
    Role: 💻 | Coder
    # Should role be taken if user status isnt correct anymore?
    TakeRole: true
# Activity roles
ActivityRoles:
  - Activity: Visual Studio Code
    Role: 💻 | Coder
    TakeRole: true
# VC roles
VCRoles:
  - Channel: 🔊┇voice
    Role: 🔊 | Talker
    TakeRole: true
YAML:
# GiveRole command
GiveRole:
  # Command Name
  Name: giverole
  # Command Description
  Description: Give a role to user/everyone
  # Command Type
  Type: Admin
  # Command usage
  # THIS WONT CHANGE ANYTHING. Only for translation purposes!
  Usage: giverole (role) (user/"all"/"everyone")
  # Command Aliases
  Aliases: []
  # Roles with which users can use this command
  Permission:
    - 🧰 | Admin
  SlashCommand:
    # Should SlashCommand be enabled?
    Enabled: true
    # SlashCommand data
    Data:
      # SlashCommand name
      Name: giverole
      # SlashCommand description
      Description: Give a role to user/everyone
      # SlashCommand options
      Options:
        - Type: role
          Name: role
          Description: Role, which should be added to user(s)
          Required: true
        - Type: string
          Name: target
          Description: Target to which role should be added
          Required: true
# RemoveRole command
RemoveRole:
  # Command Name
  Name: removerole
  # Command Description
  Description: Remove a role from user/everyone
  # Command Type
  Type: Admin
  # Command usage
  # THIS WONT CHANGE ANYTHING. Only for translation purposes!
  Usage: removerole (role) (user/"all"/"everyone")
  # Command Aliases
  Aliases: []
  # Roles with which users can use this command
  Permission:
    - 🧰 | Admin
  SlashCommand:
    # Should SlashCommand be enabled?
    Enabled: true
    # SlashCommand data
    Data:
      # SlashCommand name
      Name: removerole
      # SlashCommand description
      Description: Remove a role from user/everyone
      # SlashCommand options
      Options:
        - Type: role
          Name: role
          Description: Role, which should be removed from user(s)
          Required: true
        - Type: string
          Name: target
          Description: Target from which role should be removed
          Required: true
# TempRole command
TempRole:
  # Command Name
  Name: temprole
  # Command Description
  Description: Give a temporary role to user
  # Command Type
  Type: Admin
  # Command usage
  # THIS WONT CHANGE ANYTHING. Only for translation purposes!
  Usage: temprole (add/remove/list) (user) (role) (time)
  # Command Aliases
  Aliases: []
  # Roles with which users can use this command
  Permission:
    - 🧰 | Admin
  SlashCommand:
    # Should SlashCommand be enabled?
    Enabled: true
    # SlashCommand data
    Data:
      # SlashCommand name
      Name: temprole
      # SlashCommand description
      Description: Give a temporary role to user
      # SlashCommand options
      Options:
        - Type: sub command
          Name: add
          Description: Add a temporary role to user
          Options:
            - Type: user
              Name: target
              Description: User, to which role should be added
              Required: true
            - Type: role
              Name: role
              Description: Role, which should be added to user
              Required: true
            - Type: string
              Name: time
              Description: Time, how long role should be added to user
              Required: true
        - Type: sub command
          Name: remove
          Description: Remove a temporary role from user
          Options:
            - Type: user
              Name: target
              Description: User, from which role should be removed
              Required: true
            - Type: role
              Name: role
              Description: Role, which should be removed from user
              Required: true
        - Type: sub command
          Name: list
          Description: List all temporary roles of user
          Options:
            - Type: user
              Name: target
              Description: User, from which roles should be listed
              Required: true
YAML:
# Messages used by addon.
# Its recomended to use these placeholders:
# - {target} - Target user(mention)/everyone
# - {targets} - Given target(s) count
# - {targets-affected} - Target(s) to which role has been added
# - {role-?} - Role variables
Messages:
  # GiveRole Success Message
  GiveRoleSuccess:
    Embeds:
      - Title: Role has been successfully added
        Color: "#FFFF00"
        Description: |-
          **Role**:
          > {role-mention}
          **Target**:
          > {target}
          **Targets**:
          > `{targets}`
          **Targets affected**:
          > `{targets-affected}`
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # RemoveRole Success Message
  RemoveRoleSuccess:
    Embeds:
      - Title: Role has been successfully removed
        Color: "#FFFF00"
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Description: |-
          **Role**:
          > {role-mention}
          **Target**:
          > {target}
          **Targets**:
          > `{targets}`
          **Targets affected**:
          > `{targets-affected}`
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # Estimated time to complete
  EstimatedTime:
    Embeds:
      - Title: Estimated time to complete
        Color: "#FFFF00"
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Fields:
          - Name: Estimated time
            Value: "**{minutes}** minutes and **{seconds}** seconds"
            Inline: true
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # TempRole add success message
  TempRoleSuccess:
    Embeds:
      - Title: Temporary role has been successfully added
        Color: "#FFFF00"
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Description: Role {role-mention} has been added to {target-mention}. It will be
          removed from user {expires}.
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # TempRole remove success message
  TempRoleRemoveSuccess:
    Embeds:
      - Title: Temporary role has been successfully removed
        Color: "#FFFF00"
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Description: Role {role-mention} has been removed from {target-mention}.
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # TempRole roles list
  TempRoleList:
    Embeds:
      - Title: Temporary roles list
        Color: "#FFFF00"
        Author: "{brand-name}"
        AuthorIcon: "{brand-logo}"
        Description: |-
          {target-mention}'s TempRoles:
          {temproles}
        Thumbnail: "{brand-logo}"
        Timestamp: true
        Footer: "{brand-name}"
        FooterIcon: "{brand-logo}"
  # Errors Messages used by addon.
  Errors:
    # Error Message, which will be send if user wrongly use the command.
    # Its recomended to use {usage} placeholder, which will show command usage.
    WrongCommandUsage:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: Wrong command usage!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: "Usage: `{usage}`"
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error Message, which will be send if user cant manage selected role.
    # Its recomended to use {role-name} or {role-mention} placeholder.
    RoleHigherThanUser:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: Selected role is higher than user highest role!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: "Role: {role-mention}"
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error Message, which will be send if role is managed by integration.
    # Its recomended to use {role-name} or {role-mention} placeholders.
    ManagedByIntegration:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: Selected role is managed by integration!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: "Role: {role-mention}"
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error message, which will be send if user already has role.
    UserAlreadyHasRole:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: User already has selected role!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: User already have selected role. To give it to him temporarily
            first remove it.
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error message, which will be send if user cant manage user.
    UserDoesntHavePerms:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: Not enough perms!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: |-
            You don't have to complete this action.
            > Check user/role perms/position and try again.
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error message, which will be send if user doesnt have temprole.
    UserDoesntHaveRole:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: User doesn't have selected role!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: User doesn't have selected role.
          Thumbnail: "{brand-logo}"
          Timestamp: true
    # Error message, if user doesnt have any temproles
    NoTempRoles:
      Content: ⚠️ An error occured ⚠️
      Embeds:
        - Title: No temporary roles!
          Color: "#FF0000"
          Author: "{brand-name}"
          AuthorIcon: "{brand-logo}"
          Description: User doesn't have any temporary roles.
          Thumbnail: "{brand-logo}"
          Timestamp: true

Banner4.png

You can get support for this addon on:

Banner5.png
  • Banner5.png
    Banner5.png
    35 KB · Views: 61
Author
SimonB50
Downloads
35
Views
1,080
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from SimonB50

Latest updates

  1. 2.0.2

    Changelog:Reworked TempRolesNow, there is an function for removing role after X time Support...
  2. 2.0.1 version fix

    This version doesn't contain any changes in code. It's only for fixing version detection (forgot...
  3. 2.0.1

    This update is just fix for TempRoles slash commands. Nothing big but very important if you use...
Back
Top