Spaces:
Running
Running
Update main.py
Browse files
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 |
-
|
| 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()
|