From c2f847d45eb1ddd4ae1026e8f1a710a47c1ddd8f Mon Sep 17 00:00:00 2001 From: ajax146 <31014239+ajax146@users.noreply.github.com> Date: Wed, 15 Oct 2025 16:55:21 -0400 Subject: [PATCH] Crops factoid info to prevent logs factoids from erroring --- techsupport_bot/commands/factoids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techsupport_bot/commands/factoids.py b/techsupport_bot/commands/factoids.py index 5c0fd44c..4ed5f46a 100644 --- a/techsupport_bot/commands/factoids.py +++ b/techsupport_bot/commands/factoids.py @@ -1634,7 +1634,7 @@ async def info( # Adds all fields to the embed embed.add_field(name="Aliases", value=alias_list) embed.add_field(name="Embed", value=bool(factoid.embed_config)) - embed.add_field(name="Contents", value=factoid.message) + embed.add_field(name="Contents", value=factoid.message[:1020]) embed.add_field(name="Date of creation", value=factoid.time) # Get all the special properties of a factoid, if any are set