fix messages

This commit is contained in:
Mylloon 2022-08-05 23:53:45 +02:00
parent 9da39014fc
commit bd866f02cd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -62,11 +62,11 @@ class Listener(StreamListener):
self.q = q
self.api = api
self.accounts = users
self.users = users + forcelist
self.listOfFriendsID = getFriendsID(api, users)
self.forcelist = forcelist
self.listOfFriendsID = getFriendsID(api, users) + forcelist
def on_connect(self):
print(f"Scroll sur Twitter avec les abonnements de @{', @'.join(self.accounts)} comme timeline...")
print(f"Scroll sur Twitter avec les abonnements de @{', @'.join(self.accounts)} comme timeline et ces comptes : @{', @'.join(self.forcelist)}...")
def on_disconnect(notice):
notice = notice["disconnect"]