Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -368,7 +368,7 @@ async def on_message(message):
|
|
368 |
return 0
|
369 |
with open(f"{guild_name}.guild", "r") as f:
|
370 |
o = f.read()
|
371 |
-
if (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct"):
|
372 |
return 0
|
373 |
async with msgchannel.typing():
|
374 |
for user in message.mentions:
|
|
|
368 |
return 0
|
369 |
with open(f"{guild_name}.guild", "r") as f:
|
370 |
o = f.read()
|
371 |
+
if not (str(message.channel.id) in o.split("\n")) or (guild_name == "Direct"):
|
372 |
return 0
|
373 |
async with msgchannel.typing():
|
374 |
for user in message.mentions:
|