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

Make !help dynamic #53

Open
mklarz opened this issue Apr 16, 2021 · 1 comment
Open

Make !help dynamic #53

mklarz opened this issue Apr 16, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mklarz
Copy link
Contributor

mklarz commented Apr 16, 2021

We should rather use some form documentation per command instead of having to manually update a static variable for each time.

I suggest creating a decorator where we input the documentation/usage for that specific command, and then dynamically fetch all command decorators whenever someone types !help

@theS1LV3R
Copy link
Member

Found this one, haven't tested it or checked how it looks: https://gist.github.com/That-Kidd/432b028352a44e434dfd54e3676a6a85

Based on purely looking through the code it looks like it should work

@theS1LV3R theS1LV3R added the enhancement New feature or request label Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants