modified: bot.py
This commit is contained in:
7
bot.py
7
bot.py
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user