Skip to content

v1.3.0

Compare
Choose a tag to compare
@replaceitem replaceitem released this 01 May 19:40
· 235 commits to master since this release

Changes

  • Added Attachment value
    • Added message~'attachments`
  • Added Slash command interaction option value
    • Added server~'slash_commands'
    • Added dc_get_global_slash_commands() function
  • Added slash command value
  • Discord events now run on the main game thread instead of javacord's listener thread. This should fix all issues of not being able to access things inside the game in these events.
  • All parsables are now parsed using a new parser api. Some behaviours might be different than before
    • Renamed select menu option' 'default' field to 'default_option'
  • Added dc_delete(value) function for deleting discord values
    • Removed dc_delete_message, dc_delete_webhook and dc_delete_slash_command in favor of new dc_delete
  • Added Slash command builder parsable
    • dc_create_slash_command(command,server) now expects a slash command builder and a server (or null for global) as its arguments
  • Added Scarpet Graphics as a soft dependency for using images
    • Attachment parsable now supports 'image' as an image value
    • Embed image and thumbnail can now be an image
    • Webhook profile builder and updater avatar can now ba an image
    • Embed author and Embed footer icon can now be an image
  • There might very well be something I missed...