Telegram Bot not working

The bot was working well when it had some small amount of commands like /start, /warn, /ban, /unban, /unwarn but after additing new commands the bot sometimes reply and sometimes not even ignores some particular commands. Can someone help me with the code?

Repl link: https://replit.com/@prakhardoneria/TGBot



Hello @prakhardoneria!

Could you make sure that no errors appeared in the console? If you don’t see any errors, try running kill 1 in the shell.

Their isn’t any error but sometimes it stops working i figured out the issue it’s because I have put a logic that check every message due to which cursor wasn’t going down to check commands below it i just put them above and it fixed still thanks for time .

Mark your answer as the solution of the topic so others with the same problem can see your fix!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.