add 300 char limit for tiktok
This commit is contained in:
parent
6aff23ac18
commit
ed58abe653
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user