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
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:
parent
33ae7ee3cc
commit
fcc07bd47e
@ -67,8 +67,8 @@ class ActualUtils(commands.Cog):
|
|||||||
async def define(self, ctx, word):
|
async def define(self, ctx, word):
|
||||||
import define_word
|
import define_word
|
||||||
|
|
||||||
embed = define_word.get_definition(word)
|
await ctx.defer()
|
||||||
await ctx.respond(embed=embed)
|
await ctx.send_followup(embed=define_word.get_definition(word))
|
||||||
|
|
||||||
@commands.command(name="tts")
|
@commands.command(name="tts")
|
||||||
async def tts(self, ctx: commands.Context):
|
async def tts(self, ctx: commands.Context):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user