Closed liquiddevelopmentnet closed 2 years ago
The API our Bot uses for the meme- image generation (https://nekobot.xyz/) crashes with HTTP CODE 501 when the text provided is too long, which results in a empty reply from the bot.
HTTP CODE 501
Steps to reproduce: GET https://nekobot.xyz/api/imagegen?type=changemymind&text={Text with 2000 characters}
File where this should be fixed
Note that some unicode codepoints (like flagemojis) consist of multiple characters.
The API our Bot uses for the meme- image generation (https://nekobot.xyz/) crashes with
HTTP CODE 501
when the text provided is too long, which results in a empty reply from the bot.Steps to reproduce: GET https://nekobot.xyz/api/imagegen?type=changemymind&text={Text with 2000 characters}
File where this should be fixed