We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All handlers should be in a dedicated handlers/ directory where we initialize all handlers and then we import it in the main file
handlers/
import handlers.santa_buttons import handlers.private ... dispatcher.add_handler(handlers.private.start) dispatcher.add_handler(handlers.private.help) dispatcher.add_handler(handlers.santa_buttons.start_match) ...
eg. handlers/private.py
handlers/private.py
def on_start_command(update, context): pass start = CommandHandler("start", on_start_command)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
All handlers should be in a dedicated
handlers/
directory where we initialize all handlers and then we import it in the main fileeg.
handlers/private.py
The text was updated successfully, but these errors were encountered: