-
-
Notifications
You must be signed in to change notification settings - Fork 240
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 command doesn't subclass HelpCommand
#1265
Comments
This comment also mentions that changes to Python's help command should also be applied here, but the changes in python-discord/bot#519 (which refactored Python's help command to subclass |
Isn't the better thing here having the help command logic in bot-core, which the two bots both then import and use? Then you don't have to worry about one bot being behind ahead/behind the other etc.. Fwiw, this is part of python-discord/bot-core#85,. |
It's not a good idea have the same logic in two (or more) places, why don't move the logic to a common place? like a module? |
Sorry, I didn't read your comment @TizzySaurus well. Yes, that is better. |
Duplicate of #470 |
Description
Lancebot's current help command doesn't subclass
HelpCommand
, unlike Python's. The former should be changed to match the latter because subclassingHelpCommand
is the preferred way of creating custom help commands.Reasoning
This wouldn't change anything for the end user, but internally, the bot will be able to do things like
ctx.send_help(ctx.command)
Proposed Implementation
Replace Lancebot's help command with Python's new help command.
Additional Details
I think we should also consider moving the help command to bot-core instead because it is common functionality for all bots.
Would you like to implement this yourself?
The text was updated successfully, but these errors were encountered: