start listener
This commit is contained in:
parent
62ccd3a529
commit
099cb87111
1 changed files with 3 additions and 0 deletions
3
main.py
3
main.py
|
@ -65,3 +65,6 @@ class ReplyListener(mastodon.StreamListener):
|
|||
visibility = "unlisted"
|
||||
client.status_post(toot, post_id, visibility=visibility)
|
||||
print("replied with " + toot)
|
||||
|
||||
rl = ReplyListener()
|
||||
client.stream_user(rl)
|
||||
|
|
Loading…
Reference in a new issue