mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Add missing client.stop()
This commit is contained in:
parent
5cab0b42bb
commit
0f6e89e6b3
2 changed files with 4 additions and 0 deletions
|
|
@ -31,5 +31,7 @@ while True:
|
||||||
history.extend(messages.messages)
|
history.extend(messages.messages)
|
||||||
offset += limit
|
offset += limit
|
||||||
|
|
||||||
|
client.stop()
|
||||||
|
|
||||||
# Now the "history" list contains all the messages sorted by date in
|
# Now the "history" list contains all the messages sorted by date in
|
||||||
# descending order (from the most recent to the oldest one)
|
# descending order (from the most recent to the oldest one)
|
||||||
|
|
|
||||||
|
|
@ -35,4 +35,6 @@ while True:
|
||||||
users.extend(participants.users)
|
users.extend(participants.users)
|
||||||
offset += limit
|
offset += limit
|
||||||
|
|
||||||
|
client.stop()
|
||||||
|
|
||||||
# Now the "users" list contains all the members of the target chat
|
# Now the "users" list contains all the members of the target chat
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue