From 93f87fdf37238ebad89c50c0fd6c4c48b02c2c9a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 19 Aug 2023 16:59:06 -0400 Subject: [PATCH] misc(issues): changed some code formatting --- issues/issues.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/issues/issues.py b/issues/issues.py index d308b18..e849d81 100644 --- a/issues/issues.py +++ b/issues/issues.py @@ -115,17 +115,14 @@ class Issues(commands.Cog): words = value.split() split_value = [] current_part = "" - for word in words: if len(current_part) + len(word) + 1 <= 1024: current_part += word + " " else: split_value.append(current_part.strip()) current_part = word + " " - if current_part: split_value.append(current_part.strip()) - for i, part in enumerate(split_value): embed.add_field(name=title if i == 0 else "\u200b", value=part, inline=False) else: