Compare commits
2 commits
3c4fba46b6
...
567f51fb45
Author | SHA1 | Date | |
---|---|---|---|
567f51fb45 | |||
39fead0928 |
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue