Additional list and tts descriptions

This commit is contained in:
bobloy 2018-10-01 10:17:28 -04:00
parent 7fc081de87
commit ae4fbbcc58
2 changed files with 4387 additions and 4 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ from redbot.core.bot import Red
class TTS:
"""
V3 Cog Template
Send Text-to-Speech messages
"""
def __init__(self, bot: Red):
@ -24,9 +24,7 @@ class TTS:
@commands.command(aliases=["t2s", "text2"])
async def tts(self, ctx: commands.Context, *, text: str):
"""
My custom cog
Extra information goes here
Send Text to speech messages as an mp3
"""
mp3_fp = io.BytesIO()
tts = gTTS(text, 'en')