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

Update the help slash command #11

Open
sinsniwal opened this issue May 31, 2023 · 3 comments
Open

Update the help slash command #11

sinsniwal opened this issue May 31, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@sinsniwal
Copy link
Owner

The Slash command structure is built; only the embed requires changes portion that needs editing: iitm-server-bot/cogs/slash.py help function.

Requirement: List the commands that are not hidden.

@sinsniwal sinsniwal added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 31, 2023
@lmaotrigine
Copy link
Contributor

Why not use the built-in help command?
Since hybrid commands are a thing, you can just invoke the help command by creating a context using Context.from_interaction

Customizing the help command is a more manageable task than maintaining a list of usable commands per user.

What are your thoughts?

@droxtal
Copy link
Contributor

droxtal commented Jun 11, 2023

Why not use the built-in help command?

@sloth-ontabasco wanted it to be interactive
with buttons & pagination

@lmaotrigine
Copy link
Contributor

Why not use the built-in help command?

@sloth-ontabasco wanted it to be interactive with buttons & pagination

Which is possible with the built in HelpCommand.

For reference: https://github.com/lmaotrigine/Ayaka/blob/main/cogs/meta.py#L201-L285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants