Fix define by having it defer
All checks were successful
Build and push / changes (push) Successful in 7s
Build and push / Lint-Python (push) Successful in 5s
Build and push / Build-and-Push-Docker (push) Successful in 17s
Build and push / post-status-to-discord (push) Successful in 2s
Build and push / sync-argocd-app (push) Successful in 9s

This commit is contained in:
Luke R 2024-11-22 10:57:05 -08:00
parent 33ae7ee3cc
commit fcc07bd47e

View File

@ -67,8 +67,8 @@ class ActualUtils(commands.Cog):
async def define(self, ctx, word):
import define_word
embed = define_word.get_definition(word)
await ctx.respond(embed=embed)
await ctx.defer()
await ctx.send_followup(embed=define_word.get_definition(word))
@commands.command(name="tts")
async def tts(self, ctx: commands.Context):