Compare commits

..

No commits in common. "567f51fb457995f18a8975be9f5b55f446047f39" and "3c4fba46b62b77e5edc15d752305c0674b84f3cc" have entirely different histories.

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, embed from tts.menu import Menu
class TTS(commands.Cog): class TTS(commands.Cog):
@ -41,11 +41,11 @@ class TTS(commands.Cog):
#TODO - add PyLav integration #TODO - add PyLav integration
return return
@commands.group(name="tts") @commands.group(name="tts", autohelp=True)
@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(view=Menu(ctx))
@tts.command(name="google") @tts.command(name="google")
@commands.is_owner() @commands.is_owner()