Skip to content

v5.5.0

Compare
Choose a tag to compare
@Snazzah Snazzah released this 28 Apr 20:08
· 595 commits to master since this release
a9b0a91

Changed:

  • Command permissions have been deprecated, including these methods/options:
    • SyncCommandOptions#syncPermissions
    • SlashCreator#syncCommandPermissions
    • SlashCommandOptions#permissions
    • SlashCreatorAPI#bulkUpdateCommandPermissions
  • SlashCommandOptions: #requiredPermissions now sets member permissions within the command using default_member_permissions.
  • SlashCommand: #commandJSON is now deprecated in favor of #toCommandJSON.

Added:

  • Permissions: New flags: SEND_MESSAGES_IN_THREADS, USE_EMBEDDED_ACTIVITIES, MODERATE_MEMBERS
  • ApplicationCommandPermissionType: New type: CHANNEL = 3
  • SlashCommandOptions: Added #dmPermission
  • SlashCreatorAPI: Added withLocalization option to #getCommands
  • CommandContext: Initial response attachments support

Fixed:

  • Permission names in constants being outdated
  • SlashCommandOptions#requiredPermissions option checking