SaveRestrictedContentBot
SaveRestrictedContentBot copied to clipboard
SyntaxError: invalid syntax
I've deployed by docker, and had error below:
srcbot | starting Bot ~@DroneBots
srcbot | Traceback (most recent call last):
srcbot | File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
srcbot | return _run_code(code, main_globals, None,
srcbot | File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
srcbot | exec(code, run_globals)
srcbot | File "/app/main/main.py", line 16, in
What's going on here?
When I reset to commit b1261427a682058bac5082fab1a5508a78b1bf0f, it works. What's wrong with the newest version?
same problem with new code.
Add a tab indent before "await client.copy_message(sender, chat, msg_id)".