lightbulb.cooldown_algorithms.CooldownStatus has been moved from the buckets module to the
cooldown_algorithms module.
commands_run attribute has been removed from the lightbulb.buckets.Bucket class.
Other Changes
Add lightbulb.commands.base.CommandLike.nsfw and nsfw kwarg in lightbulb.decorators.command
decorator in order to mark a command as only usable in NSFW channels.
Deprecate lightbulb.checks.nsfw_channel_only. Use the above new feature instead. The check will
be removed in version 2.4.0.
Add lightbulb.context.base.Context.respond_with_modal. Note that this will not work if called
on an instance of lightbulb.context.prefix.PrefixContext.
Add lightbulb.plugins.Plugin.listeners.
Improve lightbulb.converters.special.MessageConverter to support conversion of channelid-messageid format.
Implement multiple built-in cooldown algorithms which can be specified when adding a cooldown to a command.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on hikari-lightbulb to permit the latest version.
Release notes
Sourced from hikari-lightbulb's releases.
Commits
e7f73dd
Update changelog5995de6
Update changelog236bc96
Update changelog417b99a
Add a fixed-window cooldown algorithm implementationf6c1448
Update init6f28102
Implement ability to specify different cooldown algorithms to use for a comma...aae925a
Implement ability to specify different cooldown algorithms to use for a comma...063a2a5
Update changelogfc0c55d
Improve MessageConverter to convert channelid-messageid format. Closes #274b76f445
Add listeners property to PluginDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)