mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 23:55:46 +02:00
Make memegen preview ephemeral
This commit is contained in:
parent
60181aadea
commit
5528ce7c2e
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ class Fun(commands.Cog):
|
|||
@app_commands.describe(template="The meme template to use in the preview.")
|
||||
async def memegen_preview_slash(self, interaction: discord.Interaction, template: str):
|
||||
"""Generate a preview for a meme, to see how the fields are structured."""
|
||||
await interaction.response.defer()
|
||||
await interaction.response.defer(ephemeral=True)
|
||||
|
||||
fields = [f"Field #{i + 1}" for i in range(20)]
|
||||
meme_url = await self._do_generate_meme(template, fields)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue