We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f205fb7 commit c511e98Copy full SHA for c511e98
discord_bot/cogs/commands.py
@@ -119,10 +119,11 @@ async def whojudge_debug(self, interaction: discord.Interaction):
119
@app_commands.command(name="screen", description="ragebait")
120
@app_commands.describe(gif="GIF URL")
121
async def screen(self, interaction: discord.Interaction, gif: str):
122
- res = perform_gif_overlay(gif)
123
- return await interaction.response.send_message(
124
- file=discord.File(io.BytesIO(res), filename="output.gif")
+ await interaction.response.send_message(
+ content="Generating..."
125
)
+ res = perform_gif_overlay(gif)
126
+ return await interaction.channel.send(file=discord.File(io.BytesIO(res), filename="output.gif"))
127
128
129
async def setup(bot):
0 commit comments