Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -366,10 +366,6 @@ async def on_message(message):
|
|
366 |
await msg.remove_reaction("◀️")
|
367 |
await msg.remove_reaction("▶️")
|
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 |
-
await msgchannel.typing()
|
373 |
for user in message.mentions:
|
374 |
if user.bot:
|
375 |
message.content = message.content.replace(f"<@{user.id}>",
|
|
|
366 |
await msg.remove_reaction("◀️")
|
367 |
await msg.remove_reaction("▶️")
|
368 |
return 0
|
|
|
|
|
|
|
|
|
369 |
for user in message.mentions:
|
370 |
if user.bot:
|
371 |
message.content = message.content.replace(f"<@{user.id}>",
|