Releases
v1.3.0
Changed:
Permission bitfield now uses bigints
Command syncing now uses lodash.isEqual
to check for
publicKey
in creator options is now optional
Typing changes
CommandOption
in constants has split off into CommandSubcommandOption
and AnyCommandOption
, not allowing you to define options and a value.
Typings for User
, Member
and Message
have been set to read-only
Most undocumented typings are hidden/privated
Export changes
Some constant exports now exports to index: InteractionType
, InterationResponseType
, InteractionResponseFlags
, CommandOptionType
, PartialApplicationCommand
, ApplicationCommand
, ApplicationCommandOption
, ApplicationCommandOptionChoice
, RawRequest
, AnyRequestData
, PingRequestData
, InteractionRequestData
, CommandMember
, CommandUser
, CommandData
, AnyCommandOption
, CommandOption
, CommandSubcommandOption
, ImageFormat
ConvertedOption
now exports to index
SlashCommandOptions
now exports to index
Added:
Commands will automatically acknowledge after 3 seconds to avoid interaction invalidation
You can also set autoAcknowledgeSource
within creator options
Documentation for unknown commands
Member#pending
Fixed:
SlashCreator documentation
Option validation for unknown commands
Typings are ignored for express
and fastify
You can’t perform that action at this time.