Fix define by having it defer
This commit is contained in:
parent
34125884f4
commit
725d065412
@ -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