From 2c634912ef2d8177b748a1930608eaf33fee407c Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Wed, 3 Mar 2021 18:44:53 +0100 Subject: [PATCH] Add three dots when truncating --- data/embeds/ufora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/embeds/ufora.py b/data/embeds/ufora.py index 3a38c46..475110b 100644 --- a/data/embeds/ufora.py +++ b/data/embeds/ufora.py @@ -40,7 +40,7 @@ class UforaNotification: desc = self._clean_content(self._content["summary"]) if len(desc) > 500: - return desc[:500] + return desc[:497] + "..." return desc