forked from blizzthewolf/SeaCogs
fix(tts): awaited a coroutine
This commit is contained in:
parent
567f51fb45
commit
17312348fc
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class TTS(commands.Cog):
|
||||||
@commands.admin_or_permissions(manage_guild=True)
|
@commands.admin_or_permissions(manage_guild=True)
|
||||||
async def tts(self, ctx: commands.Context):
|
async def tts(self, ctx: commands.Context):
|
||||||
"""Text to Speech settings"""
|
"""Text to Speech settings"""
|
||||||
await ctx.send(embed=embed, view=Menu(ctx))
|
await ctx.send(embed=await embed(ctx), view=Menu(ctx))
|
||||||
|
|
||||||
@tts.command(name="google")
|
@tts.command(name="google")
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
|
|
Loading…
Reference in a new issue