Repository navigation
v2.10.0a1
·
283 commits
to master
since this release
2.10.0a1 - 2022-11-24
Added
- Support for message commands to
tanjun.annotations.TheseChannels. allowed_typesfield totanjun.conversion.ToChannelto allow narrowing the allowed channel types for a message command option.- Support for toggleable case-insensitive message command name handling.
Fixed
- The hot reloader will no-longer retry to reload a module being targeted through a system path (
pathlib.Path) after one of its unloaders raises or finding out it has no unloaders. - Allow passing
hikari.GuildThreadChannelderived types (+hikari.InteractionChannel) toTheseChannels, and to thetypesfield ofwith_channel_slash_optionandSlashCommand.add_channel_option. - The spacing in
triggering_nameis now properly normalised for message commands in groups to ensure only 1 space. This also fixes cases where names were being smashed together without any spaces. - The hot reloader trying to declare commands multiple times.
- Actually set the attached component for commands within slash-command groups.
- Process converters attached to commands within slash-command groups to log for client misconfiguration.