Additional list and tts descriptions
This commit is contained in:
parent
7fc081de87
commit
ae4fbbcc58
4385
audiotrivia/data/lists/games-plab.yaml
Normal file
4385
audiotrivia/data/lists/games-plab.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@ from redbot.core.bot import Red
|
|||||||
|
|
||||||
class TTS:
|
class TTS:
|
||||||
"""
|
"""
|
||||||
V3 Cog Template
|
Send Text-to-Speech messages
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, bot: Red):
|
def __init__(self, bot: Red):
|
||||||
@ -24,9 +24,7 @@ class TTS:
|
|||||||
@commands.command(aliases=["t2s", "text2"])
|
@commands.command(aliases=["t2s", "text2"])
|
||||||
async def tts(self, ctx: commands.Context, *, text: str):
|
async def tts(self, ctx: commands.Context, *, text: str):
|
||||||
"""
|
"""
|
||||||
My custom cog
|
Send Text to speech messages as an mp3
|
||||||
|
|
||||||
Extra information goes here
|
|
||||||
"""
|
"""
|
||||||
mp3_fp = io.BytesIO()
|
mp3_fp = io.BytesIO()
|
||||||
tts = gTTS(text, 'en')
|
tts = gTTS(text, 'en')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user