aahnik / tgcf

The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
https://github.com/aahnik/tgcf/wiki
MIT License
1.34k stars 797 forks source link

Getting an error when trying to run forwarder.py #11

Closed Halon2 closed 3 years ago

Halon2 commented 3 years ago

I've followed all the steps but I'm getting this error after I try to run the forwarder.py:

Traceback (most recent call last):
  File "forwarder.py", line 10, in <module>
    from settings import API_ID, API_HASH, forwards, get_forward, update_offset, STRING_SESSION
  File "/telegram-chat-forward/settings.py", line 12, in <module>
    assert API_ID and API_HASH
AssertionError