Skip to content

Move aliases to their respective cogs #707

@MarkKoz

Description

@MarkKoz

I think it's easier to maintain aliases if they are located near the actual commands. Furthermore, creating separate functions for aliases feels redundant and harder to maintain (particularly the parameters and their type annotations). I wonder if it's possible to create a decorator for commands which can add an alias for a command. Perhaps the command resolution of discord.py can be manipulated rather than having to create "dummy" commands for aliases (this may prove to be complicated for subcommands/groups particularly).

The point of this issue right now is to have some discussion on what a good design would be and some ideas for implementations.

Metadata

Metadata

Assignees

Labels

a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)p: 3 - lowLow Prioritys: WIPWork In Progresst: featureNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions