sakura-no-hana / hanalon-bot

An RPG Discord bot
MIT License
0 stars 0 forks source link

Custom emoji cause rendering string to be too long #23

Open eniraa opened 3 years ago

eniraa commented 3 years ago

Sometimes, especially in scenes with a high quantity of custom emoji, the bot does not send the embed due to the rendered string being too long. The maximum (square) size with all custom emoji where the string is guaranteed to fit is 9 × 9.

The current implementation renders a 13 × 13 view. As the actual rendering code is size-agnostic, changing the view size is trivial.

What's not trivial is the need to see further than a 9 × 9 view in any RPG.

There are a few solutions:

eniraa commented 3 years ago

Proposed solution in #24.