Compare commits

...

2 commits

Author SHA1 Message Date
567f51fb45
fix(tts): turned autohelp off for tts command
All checks were successful
Actions / Lint Code (Ruff) (pull_request) Successful in 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
2024-02-21 11:47:22 -05:00
39fead0928
fix(tts): fixed missing embed in menu 2024-02-21 11:47:13 -05:00

View file

@ -12,7 +12,7 @@ from redbot.core import commands
from redbot.core.bot import Red
from tts.config import config
from tts.menu import Menu
from tts.menu import Menu, embed
class TTS(commands.Cog):
@ -41,11 +41,11 @@ class TTS(commands.Cog):
#TODO - add PyLav integration
return
@commands.group(name="tts", autohelp=True)
@commands.group(name="tts")
@commands.admin_or_permissions(manage_guild=True)
async def tts(self, ctx: commands.Context):
"""Text to Speech settings"""
await ctx.send(view=Menu(ctx))
await ctx.send(embed=embed, view=Menu(ctx))
@tts.command(name="google")
@commands.is_owner()