Skip to content

v3.2.1

Latest
Compare
Choose a tag to compare
@Shea4 Shea4 released this 02 Jul 11:10
· 112 commits to master since this release

Version 3.2.1

Bug Fixes

  • Fixed a bug which caused mass move and move to error due to a missing permission check
  • Fixed a bug which caused mystery box to error due to a discord change
  • Fixed a bug which allowed users to buy crates they shouldn't be able to
  • Fixed a bug which meant you couldn't set an advanced message if you included a formatter which later resolved to a url
  • Fixed a bug which caused channel mentions not to resolve in arguments
  • Fixed a bug which caused welcomer messages not to be sent if a server used screening
  • Fixed a bug which caused empty paged results to error
  • Fixed a bug which caused role create to error when supplying a name longer than 100 characters
  • Fixed a bug in whitelist list and blacklist list which caused the mentions to be shown in the select menu
  • Fixed a bug which caused permission override create logs not to send
  • Fixed a bug which caused the MEMBER_TIME_OUT_REMOVED logger event to fire when the user already had a timeout and it was updated instead of removed
  • Fixed a bug which could cause the prefix command to error
  • Fixed a bug which caused mod log messages not to be updated when using the mod log case command

Added

  • Added the server banner command, allows you to view the servers banner
  • Added trigger action set, replaces all other action types with the same type with the new one specified
  • MEMBER_TIMED_OUT and MEMBER_TIME_OUT_REMOVED have been added as events in logs for the new time out feature in discord
  • Added a swipe left button on the ship command, ships the first user provided with a random one in the server
  • Added a swipe right button on the ship command, Providing you are the executor of the command and are included in the ship the button is available and gives a marry prompt to the other user once pressed
  • Added the EXECUTE_COMMAND trigger action, allows the ability to execute any Sx4 command. Supply the command field and arguments field in the trigger action
  • Added a new version of trigger add, allows you to add a trigger template as a trigger using the templates unique name
  • Added input formatters for triggers, allows you to define something a user might provide without knowing the exact content. They are also converted to formatters in order of matching, first input formatter will be named 0, second will be 1 etc and can be used like so {0} in the trigger action
    • Added {text}, matches any text in the trigger. Example: hello there would match hello {text}
    • Added {int}, matches any number in the trigger. Example: hello 50 would match hello {int}
    • Added {prefix}, matches the prefix of the current user. Example: s?command would match {prefix}command providing the user has a prefix of s?
    • Added {member}, matches a search for a member in the current server. Example: member Shea would match member {member} if someone named Shea was in the server
    • Added {role}, matches a search for a role in the current server. Example: role Admin would match role {role} if a role named Admin was in the server
  • Added trigger format, disables formatting of formatters in the trigger
  • Added trigger update, updates a trigger to the latest template version it's connected to
  • Added trigger variable, upload permanent formatters for a specific trigger which are non-viewable in any way making them useful for private information such as API keys, tokens and more
    • Added add, Adds a permanent variable to a trigger to be used within the actions of the trigger
    • Added purge, Deletes all variables from a specific trigger
  • Added trigger template, allows you to upload triggers as templates for all to use
    • Added upload, uploads a trigger from the current server as a template
    • Added update, updates the trigger data of the trigger template if the trigger has since been changed

Improvements

  • Audit log handling in loggers has been improved, they will be slightly faster but more of an internal improvement
  • The help command will now search for commands based on query rather than looking for direct matches
  • The slowmode command now works in new channels which support it
  • Paged results will now use select menus for choosing an item
  • Improved the handling of function arguments in formatters
  • Old paged results made in the same channel by the same user will still be usable but text commands will not work for them
  • Improved the handling of logs, now they will be more consistently bulked when they manage to fall behind in the queue
  • Webhook based commands such as Free Game notifications, Twitch notifications and YouTube notification can now be set in voice channels and threads.
  • trigger list is now selectable and will give more information on a trigger when selected