Skip to content

Provide command decorator for blocking duplicated command output #87

@Numerlor

Description

@Numerlor

In certain situations, multiple users invoking the same command with static output is common, resulting in duplicate messages from the bot, for example linking the same doc page.

The bot currently handles a per channel cooldown on tags, but commands always run.
I propose adding a decorator that can be applied to static output commands (e.g. doc, rules etc.) which will cause a cooldown to be applied depending on the command arguments, or maybe some output method that returns equal objects for equal output.

Metadata

Metadata

Assignees

Labels

a: codePull requests which add features, fixes, or any code changes: approvedAn issue or PR with core developer approvalt: feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions