Skip to content

[Feature Request] Overhaul command handling system to utilize decorators instead of 'cmd_' method name prefixes #357

@DuckBoss

Description

@DuckBoss

It might be a better idea to change the command handling system so that it uses a @command decorator instead of the current cmd_ prefix on methods. This would also open up the opportunity to add other custom decorators for other functionality.
For example:

OLD:
def cmd_echo(...):
    ...

NEW:
@command
def echo(...):
    ...

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions