From 4916bfccc693b301f5e38d1d21dfd07e9ee04623 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:33:04 +0100 Subject: [PATCH] modified: bot.py --- bot.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bot.py b/bot.py index b2b5bf9..f9a658f 100644 --- a/bot.py +++ b/bot.py @@ -617,7 +617,6 @@ background_data = read_background_data("background_data.txt") @client.event async def on_ready(): - update_user_data_task.start() client.loop.create_task(process_ai_queue()) logger.info("Bot is ready!") logger.info(f"Logged in as: {client.user.name}") @@ -640,12 +639,6 @@ async def on_ready(): except requests.exceptions.RequestException: logger.info("Failed to connect to version server.") - await update_all_users() - -@tasks.loop(hours=24) # Läuft alle 24 Stunden -async def update_user_data_task(): - await update_all_users() - @client.event async def on_command_error(ctx, error): logger.error(f"An error occurred while executing the command: {error}")