modified: bot.py
This commit is contained in:
3
bot.py
3
bot.py
@@ -500,9 +500,10 @@ async def on_message(message):
|
||||
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():
|
||||
while True:
|
||||
loop = asyncio.get_running_loop()
|
||||
try:
|
||||
if not askmultus_queue.empty():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user