Skip to content

6.9.0

Latest
Compare
Choose a tag to compare
@Leref Leref released this 13 Oct 21:17
· 12 commits to v6 since this release
cd30654

Added

  • Added entitlements

    • create, update and delete events
    • 7 new functions related to premium features!
    • $isConsumed, $consume, $createTestEntitlement, $deleteTestEntitlement, $oldEntitlementData, $newEntitlementData, $hasPremium
    • ability to send premium buttons!
  • Support for app emojis

    • ability to edit, update and delete app emojis
    • 3 new functions related to them,
      • $createAppEmoji, $deleteAppEmoji, $editAppEmoji
    • $customEmoji now supports sending app emojis!
  • $getAvatarDecoration, returns an (static) image of the users' avatar decoration

  • $deleteCacheData, deletes data created with $createCacheData

  • $awaitComponentsUntil, "temporary" interaction command to will expire after a given time

  • $cloneEmbed, simply clone your embeds instead of having to copy and paste your whole code!

  • $disableComponents, easily disable any components without having to edit the whole message!

  • $getTimeout, return all active timeouts created via $setTimeout!

  • $randomEmoji now allows you to specify the return type.

  • $usersBanned & $guildRoles now allows you to specify more return types and create lists using JSON.

  • Improvements to $httpRequest, now able to return HTML content, via #639

  • Updated typings, via #647

  • Added "endCmd" to most loop commands

  • Added "index" to most loop commands, meaning you can now use the $index function to return the current index of the loop

  • Added $switch[] function, thanks @Cyberghxst

  • Added $getGuildBoosters

  • Added $voiceMemberCount

  • Added $setVoiceStatus

  • Added $getAutomodRule

  • Added $getAutomodRules

Fixes

  • Fixed $setTimeout not executing after bot restart in some edge-cases!
  • Fixed $isInteger returning always false
  • Fixed $isValidImageLink throwing an error instead of returning false
  • Fixed several parser bugs
    • Unable to attach multiple images
    • Unable to use custom emojis in buttons in the string format
    • Parser is now less strict and doesn't instantly break
  • Fixes member events returning invalid data
  • More minor bug fixes
  • Fixes reaction events
  • Fixes $awaitMessages not having embed support
  • Fixes emoji parsing in all functions & parser
  • Fixes event data not being present for member events