-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Feat]: Auto-register commands to /help
and bot menu
#168
Labels
enhancement ✨
New feature or request
Comments
又得写轮子告诉 |
如果要这样的话,那就要有一个 |
是不是可以通过 decorator 实现 @handler(CommandHandler, command="some_command")
@help("指令分类", "指令说明")
@menu("指令说明")
async def some_command(self, update: Update, context: CallbackContext) -> None:
... |
我觉得可以直接在 |
看 karakoo 老怎么解决 |
那直接写进 |
chuangbo
changed the title
[Feat]: 自动注册命令到 help 和 bot menu
[Feat]: Auto-register commands to Oct 31, 2022
/help
and bot menu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请确保您已阅读以上注意事项,并勾选下方的确认框。
Feature to be added
It would be great if the paimon bot allows plugins to declare whether or not to register commands to help and bot menu.
The text was updated successfully, but these errors were encountered: