I need help with python code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need help with python code

I was creating two telegram bot in one folder of infidelity files botone.py & bottwo.py but only botone is working the second bot is not responding what do I need to add to the coding

10th May 2024, 8:21 AM
Stredy
Stredy - avatar
2 Answers
+ 2
You need to add what it is missing. Simply the filenames of the two scripts is not enough information to tell why one is working and the other isn’t. For all we know from that, only one is actually a Telegram script and the other is ascii art of a hampster wheel.
10th May 2024, 8:45 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 2
maybe: __init__.py and there add the missing code, for instance: __all__
10th May 2024, 1:37 PM
Mihaly Nyilas
Mihaly Nyilas - avatar