nyxx_commands 0.2.0 copy "nyxx_commands: ^0.2.0" to clipboard
nyxx_commands: ^0.2.0 copied to clipboard

outdated

A framework for easily creating slash commands and text commands for Discord using the nyxx library.

0.2.0 #

Breaking changes:

  • Reorder description and execute parameters in Command.textOnly and Command.slashOnly constructors.
  • Remove syncDeleted option from BotOptions as nyxx_interactions removes them on sync anyways.

New features:

  • Add send(MessageBuilder) and respond(MessageBuilder) methods to Context
  • Add children as an optional argument to Command and Group constructor
  • Add autoAcknowledgeInteractions option to BotOptions to determine whether to automatically respond to interaction events
  • Commands can now restrict execution using checks

Bugfixes:

  • InteractionContext.respond will no longer throw an error when responding immediately
  • Slash Commands can no longer have direct slash command children
  • Errors emitted outside of argument parsing and callback execution are now correctly sent to Bot.onCommandError

Miscellaneous:

  • Text-only and slash-only commands can now have Context as their first argument type

0.1.0 #

  • Initial release
9
likes
0
pub points
75%
popularity

Publisher

verified publisherl7ssha.xyz

A framework for easily creating slash commands and text commands for Discord using the nyxx library.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

logging, nyxx, nyxx_interactions

More

Packages that depend on nyxx_commands