From ceffc88981fc9c938f7d16c625a1a31e01a5e054 Mon Sep 17 00:00:00 2001 From: Steele Farnsworth Date: Sat, 8 Feb 2025 12:54:33 -0500 Subject: `and` -> `or` --- bot/exts/filtering/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/filtering/filtering.py b/bot/exts/filtering/filtering.py index 0d07bfebc..01eba6afc 100644 --- a/bot/exts/filtering/filtering.py +++ b/bot/exts/filtering/filtering.py @@ -67,7 +67,7 @@ WEEKLY_REPORT_ISO_DAY = 3 # 1=Monday, 7=Sunday async def _extract_text_file_content(att: discord.Attachment) -> str: - """Extract up to the first 30 lines and first 2000 characters (whichever is shorter) of an attachment.""" + """Extract up to the first 30 lines or first 2000 characters (whichever is shorter) of an attachment.""" file_encoding = re.search(r"charset=(\S+)", att.content_type).group(1) file_content_bytes = await att.read() file_lines = file_content_bytes.decode(file_encoding).splitlines() -- cgit v1.2.3