panda-discord

Command framework for building Discord bots with discord.js, allowing chat and slash commands to run through one handler.

APACHE-2.0 License

Downloads
43
Stars
2
Committers
2

Bot releases are visible (Hide)

panda-discord - 2.2.1

Published by jackson-nestelroad almost 3 years ago

Features

  • Display all public command categories in the help command, even if they have no commands.
panda-discord - 2.2.0

Published by jackson-nestelroad almost 3 years ago

Features

  • Update to discord.js 13.5.0, changing some internal types.
  • Renamed FloatingPoint argument type to Number, to match Discord behavior.
panda-discord - 2.1.1

Published by jackson-nestelroad almost 3 years ago

Bug Fixes

  • Exported HelpArgs type for extending help command behavior.
panda-discord - 2.1.0

Published by jackson-nestelroad almost 3 years ago

Features

  • Better help command customization.
    • Handle queries before and after command queries.
  • Disable named argument parsing per command.
  • Removed custom command flag, as it is not relevant to the command framework.
panda-discord - 2.0.2

Published by jackson-nestelroad almost 3 years ago

Bug Fixes

  • Fix bug where forbidden mentions were passed through the default message listener to commands.
panda-discord - 2.0.1

Published by jackson-nestelroad almost 3 years ago

Bug Fixes

  • Fix behavior of SplitArgumentArray.restore when no end index is given.
panda-discord - 2.0.0

Published by jackson-nestelroad almost 3 years ago

Features

  • Default-supported named arguments for all commands.
    • Option to customize parsing pattern is removed from bot options, but it can still be changed on the bot type itself.
    • Option to parse named arguments: "always", "if needed", and "never".
  • Allow named arguments to be required.
panda-discord - 1.1.1

Published by jackson-nestelroad almost 3 years ago

Features

  • Reply to interactions on cooldown.
  • Customizable named arguments, such as --name=value, to help bridge the gap between chat and slash commands.
  • Hidden arguments, which can only be given as named arguments.
panda-discord - 1.0.1

Published by jackson-nestelroad about 3 years ago

Bug Fixes

  • Fix deepEqual bug that prevented slash commands from being updated when the choices property was updated.
panda-discord - 1.0.0

Published by jackson-nestelroad about 3 years ago

Initial release of Panda.

Features

  • Bot abstract class
  • Command framework
    • Supports chat and slash commands
    • Complex argument parsing
    • Nested commands
    • Command categories
    • Command permissions
    • Command cooldowns
    • Default ping, help, and eval commands
  • Event framework
    • Default ready, message, and interaction events
  • Embed templates
  • Service classes
    • Default MemberListService and TimeoutService
  • Various utilities
    • Argument splitter (by word, quotes, and code blocks)
    • Code block parsing
    • Dynamic slash command updates
    • JavaScript eval utilities
    • Timed cache
Package Rankings
Top 13.97% on Npmjs.org
Related Projects