Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ async def save_messages(ctx, channel_id: int):
|
|
35 |
|
36 |
with open("gradio-questions.json", 'w', encoding='utf-8') as file:
|
37 |
for message in messages:
|
38 |
-
file.write(f"{message.
|
39 |
|
40 |
await ctx.send(f"Messages from {channel.name} saved to gradio-questions.json")
|
41 |
|
|
|
35 |
|
36 |
with open("gradio-questions.json", 'w', encoding='utf-8') as file:
|
37 |
for message in messages:
|
38 |
+
file.write(f"{message.content}\n")
|
39 |
|
40 |
await ctx.send(f"Messages from {channel.name} saved to gradio-questions.json")
|
41 |
|