You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking Changes
Deleted MessageCommand and SlashCommand types as they got replaced by a type that's merging them which is Command
Removed all create command functions associated with MessageCommand and SlashCommand and their subcommands as well and was replaced to what favors Command
Added a new options system that will support both message and slash commands
Removed the message and args arguments to the execute function for message commands, and the data argument for slash commands and got replaced with ctx argument with type Context
Subcommands is only supported in slash for now
Added
Added an option to automatically load command and event files
Added quoted argument support to message commands
Added Context type to support the new argument system and to be useable in both message and slash commands
Added commandNotFound event that triggers whenever a message command is not found on a message starting with the bot prefix
Added AmethystEvents that will be used for the amethyst plugin
Added AmethystEvent that can be used in a file that will be loaded through the bot options
Added Command that can support both message and slash commands and can be used in command files that will be loaded through the command options
Various bug fixes
Removed
Removed the old argument system in favor of the new one
Removed the SlashCommand and MessageCommand types and their subcommand types as well