Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Tagline formatting #4669

Closed
1 of 3 tasks
bobloy opened this issue Dec 12, 2020 · 1 comment · Fixed by #4972
Closed
1 of 3 tasks

[Help] Tagline formatting #4669

bobloy opened this issue Dec 12, 2020 · 1 comment · Fixed by #4972
Labels
Category: Core - Help This is related to our help command and/or HelpFormatter API. Status: In Progress There's a PR open to deal with this, or an org member is working on this internally Type: Enhancement Something meant to enhance existing Red features.

Comments

@bobloy
Copy link
Contributor

bobloy commented Dec 12, 2020

Feature request

Select the type of feature you are requesting:

  • Cog
  • Command
  • API functionality

Describe your requested feature

Be able to use [p] in [p]helpset tagline to specify the context's prefix. Currently it will only use format on the default tagline.

Nice to have: also the ability to reference the current command object for command.signature or command.qualified_name

Default tagline can use the context prefix:
image

Custom tagline can't use context prefix:
image

@bobloy bobloy added the Type: Feature New feature or request. label Dec 12, 2020
@github-actions github-actions bot added the Status: Needs Triage This has not been labeled or discussed for handling yet. label Dec 12, 2020
@Jackenmen Jackenmen added Category: Core - Help This is related to our help command and/or HelpFormatter API. Status: In Progress There's a PR open to deal with this, or an org member is working on this internally Type: Enhancement Something meant to enhance existing Red features. and removed Status: Needs Triage This has not been labeled or discussed for handling yet. Type: Feature New feature or request. labels Jun 27, 2021
@Jackenmen
Copy link
Member

Nice to have: also the ability to reference the current command object for command.signature or command.qualified_name

While there is some merit to this, I think that this would probably need a whole new command so that we can set separate taglines for cases where there isn't specific command in context (e.g. [p]help, [p]help CogName) and cases where there is (e.g. [p]help commandname). Perhaps even 3 commands in total if we want the tagline for the case with cog name too. If you think this is something we should look into, you can make another issue but we'll narrow this issue to just replacement of [p] in taglines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - Help This is related to our help command and/or HelpFormatter API. Status: In Progress There's a PR open to deal with this, or an org member is working on this internally Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants