From 71a15c8c4ff065fceb7030d947b9d54bf81bd40b Mon Sep 17 00:00:00 2001 From: nex Date: Tue, 7 Mar 2023 15:10:56 +0000 Subject: [PATCH] Fix jimmy's filter --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index cdd242a..0dd5015 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -612,7 +612,7 @@ class OtherCog(commands.Cog): async def blacklist_check() -> bool | str: async with aiofiles.open("domains.txt") as blacklist: - for ln in iter(lambda l: l.strip(), await blacklist.readline()): + for ln in await blacklist.readlines(): if not ln.strip(): continue if re.match(ln.strip(), url.netloc):