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!
Sticky Messages | BrayanBot Addon

BrayanBot Source Sticky Messages | BrayanBot Addon 1.0.1

sticky-banner-png.467

Do you want to keep important messages in the bottom of a channel?



Creating the sticky message

1651967250407-png.466

Sticky message
x3fsg9L.gif



YAML:
Commands:
  Sticky:
    Usage: Use the slash command
    Description: Create/remove a sticky message
    Aliases: []
    Permission:
      - "@everyone"
    SlashCommand:
      Enabled: true
      Data:
        Name: sticky
        Description: Create/remove a sticky message
        Options:
          - Type: Sub Command
            Name: create
            Description: Create a sticky message
            Options:
              - Type: String
                Name: message
                Description: The message id to copy the message
                Required: true
              - Type: Channel
                Name: channel
                Description: The channel to send the sticky message to
                ChannelTypes:
                  - Text
                Required: true
          - Type: Sub Command
            Name: remove
            Description: Remove a sticky message
            Options:
              - Type: Channel
                Name: channel
                Description: The channel where the sticky message is located
                ChannelTypes:
                  - Text
                Required: false
          - Type: Sub Command
            Name: list
            Description: List all sticky messages
            Options:
              - Type: Integer
                Name: page
                Description: The page number to show
                Required: false



YAML:
Commands:
  Create:
    NotValidMessage:
      Embeds:
        - Title: ":x: | That was not a valid message ID!"
          Color: RED
          Description: Please make sure you have the correct message ID and that the
            message is in this channel.
    AlreadySticky:
      Embeds:
        - Title: There is already a sticky message in that channel!
          Color: RED
          Description: Please remove the sticky message before creating a new one.
    Success:
      Embeds:
        - Title: ":white_check_mark: | Successfully created a sticky message!"
          Color: "#5AFF00"
          Description: The sticky message has been created
          Fields:
            - Name: Current message
              Value: |-
                > ID: {message-id}
                > Jump: [**Click here**]({message-url})
  Remove:
    NotSticky:
      Embeds:
        - Title: There is no sticky message in that channel!
          Color: RED
          Description: To remove a valid sticky use the command again without any option
    Menu:
      Embeds:
        - Title: Please select a sticky message to remove
          Color: BLUE
    Success:
      Embeds:
        - Title: ":white_check_mark: | Successfully removed a sticky message!"
          Color: "#5AFF00"
          Description: The sticky message that was located at the channel <#{channel-id}>
            has been removed
      Components: []
  List:
    List:
      Embeds:
        - Title: List of sticky messages
          Color: BLUE
          Description: "{stickies}"
          Timestamp: true



To get support for this addon contact to ElkinSantiana#0115
Author
Elkin S.
Type
Digital product
License duration
Unlimited
Price
4.99 USD
Views
392
First release
Last update

Ratings

0.00 star(s) 0 ratings

Latest updates

  1. 1.0.1

    Changelog:Solved error not sending the msg again when the msg is deleted
Back
Top