Adjust the examples to the new API and extend the advanced API to showcase multiple stream listeners #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs-advanced-example-cli-mastodon-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR depends on !6 as it adjust the examples to the new
connectmethod and extends theexamples/advanced.pybot.The advanced bot now listens both on the user and the local stream.
Any local status is printed to stdout, while the bot also reads from the command line for lines to post as local statuses.
This is to showcase not just the ability to listen on multiple streams, but also to use the bot's utility functions (
.postin this case).requested review from @emacsen
assigned to @CSDUMMI
mentioned in merge request !6
added 1 commit
Compare with previous version
added 3 commits
5e380fb2- Add listening to multiple streams on the advanced example.77d78af9- Extend the advanced example to be a complete command-line Mastodon client for local posts963e9624- Mock Mastodon.py library differently in tests to be able to test connectCompare with previous version
mentioned in commit
258de7beec