Resource icon

Source Advanced Buttons | Corebot Addon 1.1.9

Changes
  • Added support for Aliases to work with the button command
  • Improved Error handling for button aliases
Changes
  • Added better member finding for button clicks. (fixes issues with buttons not working after reboot)
  • Fixed issue with button actions being executed after nopermission message is sent
Changes
  • Fixed config prefix not being detected for command handler
Changes

  • Fixed the Delete setting on Responses
YOUR CURRENT BUTTONS WILL NOT WORK UNTIL YOU CONVERT THEM OVER TO THE NEW CONFIG FORMAT. 1 button GROUP(-button <group>) per .yml/.json file. These files MUST be located in ./addon_configs/advanced_buttons/

Changes
  • Recoded the whole config system.
    • All configs are now stored in ./addon_configs/advanced_buttons/
      • YOUR OLD CONFIG WILL NOT WORK. Settings will but the file wont be called.
    • Buttons are now stored in their own file. One button per file.
    • Buttons can be configured in JSON or YML, the setting names/values are the same
    • The General Embeds/logging/command settings are now located in ./addon_configs/advanced_buttons/Main.yml
    • Added startup logging for a short period of time. Ill probably remove it later.
  • Added default corebot invite variables to Response/Logging messages ({inviter} {total} {bot-pfp})
  • Added RequiredChannels setting.
    • Accepts unlimited channels
    • Accepts BypassRoles
    • Custom InvalidChannel message
JavaScript:
RequiredChannels:
  Channels:
    - "762722417734713395"
  # Required Channels for this button to be sent in.
  BypassRoles:
    - "678333917576691736"
  # Bypass Roles for users to run cmd in any channel
  Message: Please use the correct channel!
  # Wrong Channel Message/Supports Advanced Say
Startup Config Creation
ls2xzqs3hH.gif

Attachments

  • PZr5pgWIe8.gif
    PZr5pgWIe8.gif
    35 KB · Views: 45
Changes
  • Added support for up to 25 buttons
  • Fixed a bug with Edit
  • Fixed a bug with sendButton
Changes
  • Fixed bug with custom command handler
  • Recoded the cooldown handler
  • Added Custom Emoji Support
Code:
Emoji:
  Name: "unicode/custom emoji name"
  ID: "set to null for unicode/custom emoji id"
  Animated: true/false
  • Fixed bug with custom command handler
  • Recoded the cooldown handler
Finally releasing AdvancedButtons onto MC-Market. Once notified in 59L's Support Lounge, open a ticket to receive access on MC-Market. Reviews Please <3 <3

Changes
  • Added Auto Install for Axios Module
  • Added logClick method to API
    • Logs a click for a button/user
  • Added getButtonData method to API
    • Fetches how many times a button has been clicked
  • Changed NoPermission Setting to accept Different Response Types
    • Now Supports PER Button permissions
    • YAML:
      // Old Format (Still Supported)
      NoPermission: "No Perms Dumby"
      
      // New Format
      NoPermission: 
          Type: "REPLY",
          // Supports CHANNEL/REPLY
          Private: true,
          // Only works with REPLY
          Content: "NO PERMS DUMBYYY"
  • Added support for RequiredRoles PER BUTTON
  • Added support for BypassRoles PER BUTTON
  • Changed Cooldown Setting to accept different response types
    • YAML:
      // Old Format (Still Supported)
      Cooldown: "5s"
      
      // New Format
      Cooldown:
          Type: "REPLY",
          // Supports CHANNEL/REPLY
          Private: true,
          // Only works with REPLY
          Timeout: "5s"
          // Old time format
          // 1s 1m 1h 1d
          Content: "Please wait {end} till clicking the button again."
          // placeholders {button-name} {button-id} user-variables {end}
  • Added Error handling when trying to send over 5 buttons. (DISCORD LIMITATION)
    • You can send a new button embed then deleting the embed for a second row of buttons
  • Fixed Delete feature for button CHANNEL Responses
  • Added Click Counter for Users & Buttons
  • Added {total-clicks} placeholder for embeds
  • Added user variables to embeds
  • Fixed Bug with Cooldowns

© 2021 COREBOTADDONS.COM INC. ALL RIGHTS RESERVED.
Major thank you to "Dragon" from Insurgence Network for helping setting up Paid Resources!

Top