Skip to content
Shea4 edited this page Jun 24, 2022 · 1 revision

Version 3.2.0

Bug Fixes

  • Fixed a bug which caused the reddit command to not work in non-nsfw channels
  • Fixed a bug which caused youtube notification list to not return the channel or a custom message if set
  • Fixed a bug which caused auction list not to show the correct durability of a tool
  • Fixed a bug which caused a starboard to show the wrong message when someone adds a star to the starboard
  • Fixed a bug which caused youtube notification preview not to work for channels without videos
  • Fixed a bug which could cause formatters to error
  • Fixed a bug which caused auction refund not to respond when you had an expired item
  • Fixed a bug which caused anti regex whitelist add to error if the anti regex wasn't from the current server
  • Fixed a bug which could cause a YouTube channel to not receive notifications
  • Numerous other bug fixes

Added

  • Added urlEncode as a variable to the String formatter, encodes the string to URL standard
  • Added epoch as a variable to the DateTime formatter, gets the epoch seconds of a DateTime
  • Added a static function list, allows you to initiate a list like so {list([cat,dog,fish])}
  • Added Response type to formatters, allows you to get fields from a HTTP response
    • Added json, gets the JSON object of the body
    • Added raw, gets the String object of the body
    • Added status, gets the Number status code of the response
  • Added Currency type to formatters which extends Number so every function/variable from Number can also be used on Currency
    • Added currency static function which creates a Currency instance, example {currency(5,EUR)}
    • Added convert function to Currency, example {currency.convert(GBP)}
  • Added Document type to formatters
    • Added get function to JSON, example {json.get(field)}
  • Added formatter, allows you to view formatter types, variables and functions. A useful tool to follow the formatter class hierarchy.
  • Added user banner, shows the banner of a user from their profile if they have one
  • Added status, shows the avatar of a user with a status specified just like in discord
  • Added youtube notification toggle, enables or disables a specific YouTube notification
  • Added steam connect, allows you to link your steam account on Sx4 so you can use steam profile without arguments
  • Added steam inventory, shows the inventory of your profile for a specific game
  • Added trigger action, allows you to perform an action when a trigger is triggers
    • Added add, adds an action to a trigger
    • Added remove, removes an action from a trigger
  • Added the order option to trigger add and trigger advanced add so you can add the order field to the SEND_MESSAGE action
  • Added sticker command, allows you to delete and create stickers
    • Added create, creates a sticker from an image url, sticker in your message, sticker name or id
    • Added delete, deletes a sticker in the current server
  • Added free games, view or add a channel to get free game notifications
    • Added list, allows you to see the current free games on promotion
    • Added upcoming, allows you to see the free games which will come out in the future on Epic Games
    • Added history, shows all the past games announced by the bot
    • Added add, adds a channel to get free game notifications
    • Added remove, removes a channel from getting free game notifications
    • Added toggle, enables or disables a free game channel
    • Added formatters, view the formatters you can use for a custom message
    • Added message, set the message for the free game notifications
    • Added advanced message, set the message for the free game notifications using json
    • Added name, set the name of the webhook that sends free game notifications
    • Added avatar, set the avatar of the webhook that sends free game notifications
    • Added preview, preview your message for free game notifications
    • Added platforms, lets you select what platforms you want free game notifications from
  • Added twitch notification, set up a twitch notification to post when a streamer goes live
    • Added add, adds a notification to a channel for a streamer
    • Added remove, removes a notification by it's id
    • Added toggle, enables or disables a notification by it's id
    • Added list, lists all the notifications in the server
    • Added name, sets the webhook name of the notification
    • Added avatar, sets the webhook avatar of the notification
    • Added message, sets the message of the notification
    • Added advanced message, same as message but allows for more customizability with json
    • Added preview, previews a notification by it's id
    • Added formatters, shows you the formatters you can use for the messages

Improvements

  • avatar will now show per-server avatars if the user has one
  • Changed the csgo skin command to use SkinPort over SkinBaron
  • All leaderboard commands no longer show the bot in economy
  • You can now view the exact commit the current bot is running on in the info command
  • Improved handling of webhook based commands, including the correct deletion of webhooks once the channel is no longer used
Clone this wiki locally