fix(tts): fixed missing embed in menu
This commit is contained in:
parent
3c4fba46b6
commit
39fead0928
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ from redbot.core import commands
|
||||||
from redbot.core.bot import Red
|
from redbot.core.bot import Red
|
||||||
|
|
||||||
from tts.config import config
|
from tts.config import config
|
||||||
from tts.menu import Menu
|
from tts.menu import Menu, embed
|
||||||
|
|
||||||
|
|
||||||
class TTS(commands.Cog):
|
class TTS(commands.Cog):
|
||||||
|
@ -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(view=Menu(ctx))
|
await ctx.send(embed=embed, view=Menu(ctx))
|
||||||
|
|
||||||
@tts.command(name="google")
|
@tts.command(name="google")
|
||||||
@commands.is_owner()
|
@commands.is_owner()
|
||||||
|
|
Loading…
Reference in a new issue