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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -39,7 +39,9 @@ async def save_messages(ctx, channel_id: int):
39
 
40
  await ctx.send(f"Messages from {channel.name} saved to gradio-questions.json")
41
 
42
-
 
 
43
 
44
 
45
  """"""
 
39
 
40
  await ctx.send(f"Messages from {channel.name} saved to gradio-questions.json")
41
 
42
+ with open("gradio-questions.json", 'rb') as file:
43
+ discord_file = discord.File(file)
44
+ await ctx.send(file=discord_file)
45
 
46
 
47
  """"""