add 300 char limit for tiktok

This commit is contained in:
Luke Robles 2023-01-17 14:07:59 -08:00
parent 6aff23ac18
commit ed58abe653

View File

@ -157,8 +157,13 @@ class Cheeky(commands.Cog):
name="tiktok", name="tiktok",
description="Returns a god awful tts with the tiktok voice", description="Returns a god awful tts with the tiktok voice",
) )
@option(name="input", required=True, description="The text you want as TTS") @option(
async def tiktok(self, ctx: commands.Context, input): name="input",
required=True,
description="The text you want as TTS",
max_length=300,
)
async def tiktok(self, ctx: commands.Context, input: str):
import tempfile import tempfile
import base64 import base64