Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ async def on_message(message):
|
|
175 |
caption = ""
|
176 |
if len(message.attachments) > 0:
|
177 |
await message.attachments[0].save('ip.png')
|
178 |
-
caption = f"(ImageParsed:[{await C
|
179 |
if os.path.exists(f"data/{guild_name}/{msgchannel_name}"):
|
180 |
with open(f"data/{guild_name}/{msgchannel_name}", "a") as f:
|
181 |
n = "\n"
|
|
|
175 |
caption = ""
|
176 |
if len(message.attachments) > 0:
|
177 |
await message.attachments[0].save('ip.png')
|
178 |
+
caption = f"(ImageParsed:[{await C('ip.png')}])"
|
179 |
if os.path.exists(f"data/{guild_name}/{msgchannel_name}"):
|
180 |
with open(f"data/{guild_name}/{msgchannel_name}", "a") as f:
|
181 |
n = "\n"
|