Cog-Creators / Cog-Creators/Red-DiscordBot

Preferred Syntax command line change on aliases.

Open
#2,708 1 comment 0 reactions 0 assignees View on GitHub
Category: Cogs - Alias Status: Needs Discussion Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

# Feature request

- [X] New Core /Command/ Functionality

#### Describe your requested feature

You can adjust the title / above "new core command" title as well if required, didn't know exactly where to put this under. But, here goes.

Whenever you type in a command, a help menu will be shown how to use the command line. With a small example, if you run the `[p]kick` command, you'll get something like:

> Syntax: !kick [member] [reason]
> kick the member from the server.

Now suppose I'd add an alias to the kick command, something like: `[p]alias add kickingyou kick` so `[p]kickingyou` will have the same result as the kick command. But at this moment, when running the `[p]kickingyou` command, it'll show the exact same Syntax as the original command:

> Syntax: !kick [member] [reason]
> kick the member from the server.

What I'd really like to see is a Syntax command line (or maybe an option?) that keeps the Syntax to whatever the original command **used** (alias in this case) was. Even if an alias is involved. So in the end will result into:

> Syntax: !kickingyou [member] [reason]
> kick the member from the server.

Regards,
Skyrider

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.