WIP: Add TTS cog #18

Draft
cswimr wants to merge 14 commits from tts into main
Showing only changes of commit 39fead0928 - Show all commits

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