add 300 char limit for tiktok

This commit is contained in:
Luke Robles 2023-01-17 14:07:59 -08:00
parent 43d383626f
commit ed185b7b54

View File

@ -157,8 +157,13 @@ class Cheeky(commands.Cog):
name="tiktok",
description="Returns a god awful tts with the tiktok voice",
)
@option(name="input", required=True, description="The text you want as TTS")
async def tiktok(self, ctx: commands.Context, input):
@option(
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 base64