randydev commited on
Commit
6135f4b
·
verified ·
1 Parent(s): 6e32976

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -244,7 +244,7 @@ async def chatbot_talk(client: Client, message: Message):
244
  await message.reply_text(str(e))
245
  # End of handler
246
 
247
- # Define the main coroutine
248
  async def test_main():
249
  try:
250
  await db.connect()
@@ -256,8 +256,8 @@ async def test_main():
256
  # await client.stop()
257
  except Exception as e:
258
  LOGS.error(f"Unexpected error: {e}")
 
259
 
260
- # Entry point
261
  if __name__ == "__main__":
262
  try:
263
  client.run()
 
244
  await message.reply_text(str(e))
245
  # End of handler
246
 
247
+ """"
248
  async def test_main():
249
  try:
250
  await db.connect()
 
256
  # await client.stop()
257
  except Exception as e:
258
  LOGS.error(f"Unexpected error: {e}")
259
+ """
260
 
 
261
  if __name__ == "__main__":
262
  try:
263
  client.run()