lunarflu HF staff commited on
Commit
c16a8f7
1 Parent(s): ca54a4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.author.display_name} ({message.author.id}): {message.content}\n")
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