File "\main.py", line 9, in
updater = Updater(token=TOKEN, use_context=True)
File "\updater.py", line 237, in init
raise ValueError('token or bot must be passed')
ValueError: token or bot must be passed
any way to fix this (removed directory for privacy purpose)
File "\main.py", line 9, in
updater = Updater(token=TOKEN, use_context=True)
File "\updater.py", line 237, in init
raise ValueError('
token
orbot
must be passed')ValueError:
token
orbot
must be passedany way to fix this (removed directory for privacy purpose)
this is when i enter python main.py
You have to replace "TOKEN" with the actual token that you got from the telegram Bot-father and use that instead, i just put "TOKEN" as a placeholder