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!
Custom Commands | BrayanBot Addon

BrayanBot Encrypted Custom Commands | BrayanBot Addon 1.0.1

No permission to download
banner.png


This addon allows you to create custom commands with multiple types of responses
(Normal - Embed - Advanced)



Creating custom command
K4kEnhm.png



Using the custom command

1651964120351.png


YAML:
Prefix: "-"
Commands:
  CustomCommand:
    Usage: Use the slash command
    Description: Add/remove/edit a custom command
    Permission:
      - "@everyone"
    SlashCommand:
      Enabled: true
      Data:
        Name: customcommand
        Description: Add/remove/edit a custom command
        Options:
          - Type: Sub Command
            Name: add
            Description: Add a custom command
            Options:
              - Type: String
                Name: name
                Description: The name of the command
                Required: true
              - Type: String
                Name: type
                Description: Type of command
                Required: true
                Choices:
                  - Name: Normal
                    Value: normal
                  - Name: Embed
                    Value: embed
                  - Name: Advanced
                    Value: advanced
          - Type: Sub Command
            Name: remove
            Description: Remove a custom command
            Options:
              - Type: String
                Name: name
                Description: The name of the command to remove
                Required: true
          - Type: Sub Command
            Name: edit
            Description: Edit a custom command
            Options:
              - Type: String
                Name: name
                Description: The name of the command to edit
                Required: true
              - Type: String
                Name: action
                Description: What to edit
                Required: true
                Choices:
                  - Name: Name
                    Value: name
                  - Name: Content
                    Value: content
          - Type: Sub Command
            Name: list
            Description: List all custom commands
            Options:
              - Type: Integer
                Name: page
                Description: The page to show
                Required: false



YAML:
Commands:
  Add:
    InvalidName:
      Embeds:
        - Title: Invalid Name
          Description: >-
            The name you provided is invalid. Please try again.


            **Make sure that the name do not contain any special characters or spaces.**
          Color: 16711680
    AlreadyExists:
      Embeds:
        - Title: That command already exists!
          Color: RED
    SendYourInput:
      Embeds:
        - Title: Please send your input!
          Color: BLUE
          Description: |-
            • Normal - **Common content**
            • Embed - **Common content**
            • Advanced - **Setupmessage function format**
    Success:
      Embeds:
        - Title: Successfully added command!
          Color: GREEN
          Description: The custom command `{command-name}` has been added to the db!
  Remove:
    InvalidCommand:
      Embeds:
        - Title: That command doesn't exist!
          Color: RED
    Success:
      Embeds:
        - Title: Successfully removed command!
          Color: GREEN
          Description: The custom command `{command-name}` has been removed from the db!
  Edit:
    InvalidCommand:
      Embeds:
        - Title: That command doesn't exist!
          Color: RED
    SendYourInput:
      Embeds:
        - Title: Please send your input!
          Color: BLUE
          Description: |-
            Please send the new {action} for the command `{command-name}`
            > **{command-type}**
    NameEdited:
      Embeds:
        - Title: Successfully edited command!
          Color: GREEN
          Fields:
            - Name: Old Name
              Value: "{command-old-name}"
            - Name: New Name
              Value: "{command-name}"
            - Name: Type
              Value: "{command-type}"
    ContentEdited:
      Embeds:
        - Title: Successfully edited command!
          Color: GREEN
          Description: The content of the command `{command-name}` has been edited!
  List:
    NoCommands:
      Embeds:
        - Title: There are no custom commands!
          Color: RED
    List:
      Embeds:
        - Title: Custom commands list | [ __{page}/{pages}__ ]
          Color: BLUE
          Description: "{commands}"
EmbedType:
  Embeds:
    - Title: Custom command | {command-name}
      Color: BLUE
      Description: "{command-content}"



To get support for this addon contact to ElkinSantiana#0115
This is the encrypted version (SRC in the Source category)

Author
Elkin S.
Downloads
42
Views
477
First release
Last update

Ratings

0.00 star(s) 0 ratings

Latest updates

  1. 1.0.1

    Changelog:Added BrayanBot v1.4.0 support
Back
Top