Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ async def save_forum(ctx, channel_id: int):
|
|
56 |
async for message in thread.history(limit=None):
|
57 |
messages.append(message)
|
58 |
|
59 |
-
messages = messages.
|
60 |
print(messages) # debug
|
61 |
|
62 |
with open("gradio-questions.json", 'w', encoding='utf-8') as file:
|
|
|
56 |
async for message in thread.history(limit=None):
|
57 |
messages.append(message)
|
58 |
|
59 |
+
messages = messages.reverse()
|
60 |
print(messages) # debug
|
61 |
|
62 |
with open("gradio-questions.json", 'w', encoding='utf-8') as file:
|