New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

slash-create

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slash-create - npm Package Versions

23
8

6.3.1

Diff

Changelog

Source

[6.3.1] - 2024-12-18

Added:

  • Added GUILD_MEDIA channel type (#625)

Fixed:

  • PING requests no longer will use the callback endpoint regardless of the postCallbacks option (#626)
  • Added a doc link to CommandContext.options
snazzah
published 6.3.0 •

Changelog

Source

[6.3.0] - 2024-09-25

Changed:

  • POST callbacks will now return responses as InitialCallbackResponse, multiple functions can return this instead of a boolean denoting success

Added:

  • SlashCreators using webservers can use the postCallbacks option to serve 202s to interactions and POST a callback instead
  • Launching activities with MessageInteractionContext#launchActivity
  • Entry points
  • SlashCommand#getMention
  • MessageInteractionContext#defer now supports using any message flags
  • Support for editing message flags
  • Support for sending polls
  • [types] Updated MessageAttachmentOptions to support voice message properties
  • Message classes now support the following:
    • call objects (call)
    • more thread properties (position and thread)
    • polls (poll)
    • activity
    • applicationID
    • message snapshots / forwarded messages (messageSnapshots)
    • stickers (stickerItems)

Fixed:

  • HTTP errors will now properly format request errors
  • Fastify/Express servers should no longer respond early to some interactions
  • Message#interactionMetadata parsing has been updated and fixed to include more data
  • [types] Updated AutocompleteChoice to include name_localizations
  • [types] Updated MessageAttachment to include waveform, duration_secs, flags, title, and ephemeral
  • [types] Updated Message#components to be an array of any component rather than just action rows (See https://github.com/discord/discord-api-docs/pull/7115)
snazzah
published 6.2.1 •

Changelog

Source

[6.2.1] - 2024-07-21

Fixed:

  • Fixed global modal submit handlers causing errors (#622)
snazzah
published 6.2.0 •

Changelog

Source

[6.2.0] - 2024-07-15

Added:

  • Added Server Context support for servers like Cloudflare Workers (#621)
  • Added premium button, deprecating MessageInteractionContext#promptPremium (#618)

Fixed:

  • Updated permission flags and names (#617)
snazzah
published 6.1.4 •

Changelog

Source

[6.1.4] - 2024-06-12

Changed:

  • Export node util functions verifyKey and getFiles (#614)

Fixed:

  • Handle null reponses properly in DiscordRESTError
  • Fix typing for ComponentButton (#616)
  • Updated channel permissions description (#613)
snazzah
published 6.1.3 •

Changelog

Source

[6.1.3] - 2024-04-24

Fixed:

snazzah
published 6.1.2 •

Changelog

Source

[6.1.2] - 2024-04-04

Fixed:

  • Added DANGER ButtonStyle in accordance to Discord documentation
  • Added the Request object to the rawREST event for SlashCreator
snazzah
published 6.1.1 •

Changelog

Source

[6.1.1] - 2024-03-30

Fixed:

  • Removed a debug log statement (#608)
snazzah
published 6.1.0 •

Changelog

Source

[6.1.0] - 2024-03-29

Added:

  • Support for user-installable apps (discord changelog)
    • Added SlashCommandOptions#integrationTypes and SlashCommandOptions#contexts
    • Added BaseInteraction#authorizingIntegrationOwners and BaseInteraction#context
    • Message#interaction deprecated in favor of Message#interactionMetadata

Fixed:

  • Added applied_tags field to channel structure (#607)
  • Use global name in Member#displayName
snazzah
published 6.0.2 •

Changelog

Source

[6.0.2] - 2023-12-07

Fixed:

  • Fixed some possible issues with verifying responses
23
8
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc