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
Map float to double internally to support Float type parameters in commands for slash commands.
Additions
Crude support for autocomplete on parameters using @Autocomplete("nameOfAutocompleteMethod")
Rudimentary support for pre-defined choices on arguments.
Added guildOnly boolean to @SubCommand
This boolean isn't synced with Discord at the time of writing due to limitations with slash commands. Only top-level commands can be flagged as guild-only, so this is implemented as a client-side check.
Changes
Changed SlashContext#respond0 to always return a value, which carries over to public calling functions.
Argument#parameter is now a public field.
Deprecated BadArgument#original in favour of Throwable#cause
Changed ObjectStorage to extend MutableMap to improve usability.
Changed RoleParser to allow specifying the @everyone role without pinging.
Users may write "everyone" to trigger this behaviour.