From 058a97eaf73b8d6c15b914c83ad3a79d773cbd00 Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Mon, 20 Nov 2023 20:15:08 -0600 Subject: [PATCH] Undo testing thing --- commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands.py b/commands.py index af07e74..780a0b6 100644 --- a/commands.py +++ b/commands.py @@ -101,8 +101,7 @@ def quote(bot: bare.bot, chan: str, name: str, message: str) -> None: qfilter = query.replace(" ", "\s") r.seed() with open("mastermessages.txt", "r") as mm: - quotes = mm.readlines() - q = list(filter(lambda x: re.search(qfilter, x), quotes)) + q = list(filter(lambda x: re.search(qfilter, x), mm.readlines())) if q == []: q = [f'No results for "{query}" '] sel = conf.decode_escapes(