randydev commited on
Commit
67df2b3
·
verified ·
1 Parent(s): 3e66391

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -150,11 +150,11 @@ async def tiktok_downloader(client: Client, message: Message):
150
  async def setup():
151
  try:
152
  await client.start()
153
- logger.info("Bot started successfully")
154
  await start_periodic_task()
155
  # Run the client
156
  await idle()
157
  except Exception as e:
158
- logger.error(f"Error in setup: {e}")
159
 
160
  client.run(setup())
 
150
  async def setup():
151
  try:
152
  await client.start()
153
+ logging.info("Bot started successfully")
154
  await start_periodic_task()
155
  # Run the client
156
  await idle()
157
  except Exception as e:
158
+ logging.info(f"Error in setup: {e}")
159
 
160
  client.run(setup())