mirror of
https://github.com/sigmasternchen/MinervaBot
synced 2025-03-15 07:59:00 +00:00
i hate python if this works
This commit is contained in:
parent
b15cd25d31
commit
4bb2b61d76
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -70,8 +70,8 @@ if __name__ == "__main__":
|
||||||
lastChange = 0
|
lastChange = 0
|
||||||
else:
|
else:
|
||||||
lastChange = lastChange[0].GetId()
|
lastChange = lastChange[0].GetId()
|
||||||
lastChange = api.mentions_timeline(since_id = lastChange)
|
tmp = api.mentions_timeline(since_id = lastChange)
|
||||||
if len(lastChange) != 0:
|
if len(tmp) != 0:
|
||||||
lastChange = lastChange[0].GetId()
|
lastChange = lastChange[0].GetId()
|
||||||
|
|
||||||
while true:
|
while true:
|
||||||
|
|
Loading…
Reference in a new issue