modified: bot.py

This commit is contained in:
SimolZimol
2024-12-17 22:37:44 +01:00
parent 1be363aef4
commit aa563b265c

7
bot.py
View File

@@ -490,14 +490,15 @@ async def on_message(message):
if message.author.bot: # Bots ignorieren
return
channel =message.channel
await channel.send("test")
channel_id = message.channel.id
# Prüfen, ob der Live-Chat aktiv ist
if channel_id in live_chats and live_chats[channel_id]["active"]:
await live_chat_queue.put((message, message.id, message.author.id, message.author.display_name, message.content))
await client.process_commands(message)
async def process_live_chat_queue():