New
0.5.7
New features:
- Added serenity trait impls for ApplicationContext and PrefixContext as well
- Previously,
AsRef<Cache>,AsRef<Http>,AsRef<ShardMessenger>,AsRef<Context>, andCacheHttpwere only implemented forpoise::Context - With these impls, poise's context types can be used as-is for the context parameter in serenity functions
- Previously,
- Support generics in
#[poise::command]-annotated functions - Added
Context.guild_channel()
Behavior changes:
- Improved formatting of
builtins::serverscommand- More compact and respects the message character limit
- Titles from thread creations are not interpreted as command invocations anymore
- To return to previous behavior, set
PrefixFrameworkOptions.ignore_thread_creationtofalse
- To return to previous behavior, set
Detailed changelog: https://github.com/kangalioo/poise/compare/v0.5.6...v0.5.7