v2.4.0a1
·
625 commits
to master
since this release
2.4.0a1 - 2022-02-11
Added
ephemeralkeyword-argument toSlashContext'screate_initial_response,create_follow_upanddefermethods as a shorthand for including1 << 6in the passed flags.- Context menu command support.
- Slash command autocomplete support.
shardis now a property on all contexts.
Changed
ShlexParserno-longer treats'as a quote.- Command objects can now be passed directly to
SlashCommand.__init__andMessageCommand.__init__. - The search snowflake conversion functions now return lists of snowflakes instead of iterators.
tanjun.componentshas been split into a directory of the same name with the structuretanjun.components.slash,tanjun.components.message,tanjun.components.baseandtanjun.components.menu.tanjun.commandshas been split into a directory of the same name with the structuretanjun.commands.slash,tanjun.commands.message,tanjun.commands.baseandtanjun.commands.menu.- Bumped the minimum hikari version to
hikari~=2.0.0.dev106.
Fixed
- False-positive cache warnings from the standard converters.
- Mishandled edge cases for to_color.
- Mishandling of greedy arguments as reported by #200.