fix(tts): fixed missing embed in menu

This commit is contained in:
Seaswimmer 2024-02-21 11:47:13 -05:00
parent 3c4fba46b6
commit 39fead0928
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -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()