mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Remove text after generating new quote
This commit is contained in:
parent
d7e7127245
commit
58b406b572
1 changed files with 1 additions and 1 deletions
|
@ -1061,7 +1061,7 @@ class OtherCog(commands.Cog):
|
||||||
followup = await interaction.followup.send(f"{emoji} Generating quote")
|
followup = await interaction.followup.send(f"{emoji} Generating quote")
|
||||||
new_result = await get_quote()
|
new_result = await get_quote()
|
||||||
if isinstance(new_result, discord.File):
|
if isinstance(new_result, discord.File):
|
||||||
return await followup.edit(file=new_result, view=GenerateNewView())
|
return await followup.edit(content=None, file=new_result, view=GenerateNewView())
|
||||||
else:
|
else:
|
||||||
return await followup.edit(content=new_result, view=GenerateNewView())
|
return await followup.edit(content=new_result, view=GenerateNewView())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue