Araeynn commited on
Commit
9f08fbe
·
verified ·
1 Parent(s): c891a50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: