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
Since we are about to introduce many name regarding changes, we need to update the documentation accordingly.
The work needed to be done here is to:
setup.py
The text was updated successfully, but these errors were encountered:
This is of course an issue to tackle after all the work is done!
Sorry, something went wrong.
Change the examples in the README
What about echo_bot example using the new on_event decorator?
echo_bot
on_event
from twitchobserver import Observer, ChatEventType observer = Observer(<BOT_USERNAME>, <BOT_OAUTH>) observer.join_channel(<CHANNEL>) @observer.on_event(ChatEventType.TWITCHCHATMESSAGE) def echo_handler(event): observer.send_message(event.message, event.channel) observer.start()
on_command bot would be also cool to have there, once the feature appear
on_command
I will try to handle all of this at the evening, once naming issue will be discussed
I think we should definetly show both ways, decorators being only quality of life improvements.
I think the Cookbook should have actual use cases that folks can directly use. We also should have one that uses decorators. 😄
No branches or pull requests
Summary
Since we are about to introduce many name regarding changes, we need to update the documentation accordingly.
The work needed to be done here is to:
setup.py
PyPi fileThe text was updated successfully, but these errors were encountered: