mirror of
https://github.com/sigmasternchen/MinervaBot
synced 2025-03-15 07:59:00 +00:00
i hate python
This commit is contained in:
parent
559f51a2e4
commit
df9337ddbb
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -62,12 +62,12 @@ if __name__ == "__main__":
|
|||
lastChange = 0
|
||||
|
||||
lastChange = api.direct_messages(since_id = lastChange)
|
||||
if lastChange.length == 0
|
||||
if lastChange.length == 0:
|
||||
lastChange = 0
|
||||
else
|
||||
else:
|
||||
lastChange = lastChange[0].GetId()
|
||||
lastChange = api.mentions_timeline(since_id = lastChange)
|
||||
if lastChange.length != 0
|
||||
if lastChange.length != 0:
|
||||
lastChange = lastChange[0].GetId()
|
||||
|
||||
while true:
|
||||
|
|
Loading…
Reference in a new issue