Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import os
|
|
2 |
|
3 |
from multiprocess import Process
|
4 |
|
5 |
-
# test again?
|
6 |
-
|
7 |
import discord
|
8 |
|
9 |
import traceback
|
@@ -204,7 +202,7 @@ async def on_message(message: discord.Message):
|
|
204 |
<|end_of_turn|>"""
|
205 |
)
|
206 |
f.write(s)
|
207 |
-
if client.user in message.mentions or guild_name == "Direct" or msgchannel_name == "
|
208 |
async with msgchannel.typing():
|
209 |
with open(os.path.join(guild_name, f"{msgchannel_name}.txt"), "r") as f:
|
210 |
o = f.read()
|
|
|
2 |
|
3 |
from multiprocess import Process
|
4 |
|
|
|
|
|
5 |
import discord
|
6 |
|
7 |
import traceback
|
|
|
202 |
<|end_of_turn|>"""
|
203 |
)
|
204 |
f.write(s)
|
205 |
+
if client.user in message.mentions or guild_name == "Direct" or msgchannel_name == "lyre":
|
206 |
async with msgchannel.typing():
|
207 |
with open(os.path.join(guild_name, f"{msgchannel_name}.txt"), "r") as f:
|
208 |
o = f.read()
|