0.5.7
New features:
- Added serenity trait impls for ApplicationContext and PrefixContext as well
- Previously,
AsRef<Cache>
,AsRef<Http>
,AsRef<ShardMessenger>
,AsRef<Context>
, andCacheHttp
were 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::servers
command- 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_creation
tofalse
- To return to previous behavior, set
Detailed changelog: v0.5.6...v0.5.7