aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Shivansh <[email protected]>2021-04-27 06:27:16 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-11 12:05:39 +0530
commit5ce51115f19f7ce13802701dc58d508ab5eb69f8 (patch)
tree5f2f018b2316245f65b21b438cec64dc1a85c4e6 /tests
parentHandle 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