+ 1
How solve this error
Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module> start(fakepyfile,mainpyfile) File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start exec(open(mainpyfile).read(), __main__.__dict__) File "<string>", line 6 context.bot.sendMessage(chat_id=update.effective_chat.id,text="Hello{yourname},Welcome on sillytuktuk bot".formot(yourname=update.effective.user=fullname)) ^ SyntaxError: invalid syntax [Program finished]
3 Antworten
+ 3
Are you using python telegram bot Api.
Check there you have written wrong spelling of format.
You have written formot which is wrong replace it with format.
Also, load the update.effective.user=fullname in a variable before that will be best for you.
+ 3
Also like my answer
+ 1
Ok bro