Fix errors in examples

This commit is contained in:
Mads Marquart
2020-05-06 11:32:22 +02:00
parent af3758c8a9
commit 0981be42b9
3 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ def on_person_removed(sender, event: fbchat.PersonRemoved):
return
if event.author.id != session.user.id:
print(f"{event.removed.id} got removed. They will be re-added")
event.thread.add_participants([removed.id])
event.thread.add_participants([event.removed.id])
# Login, and start listening for events