diff options
| author | 2021-04-27 06:27:16 +0530 | |
|---|---|---|
| committer | 2021-10-11 12:05:39 +0530 | |
| commit | 5ce51115f19f7ce13802701dc58d508ab5eb69f8 (patch) | |
| tree | 5f2f018b2316245f65b21b438cec64dc1a85c4e6 /tests | |
| parent | Handle discord.errors.NotFound while deleting msg link webhook embeds (diff) | |
Fix truncation bug
When you take a long message, just one word of 400 A's then the truncated wouldn't be able to handle it properly and just return the placeholder. This is a bug in the textwrap.shorten function.
To solve this, I went the long way to use slicing on the list.
This commit seems to have resolved the bug.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions