From 6df92da12f8dce0c11877adc556383247aa72520 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 1 Feb 2024 19:39:48 -0500 Subject: [PATCH] fix(bible): hopefully made translate_book_name case insensitive --- bible/bible.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bible/bible.py b/bible/bible.py index f86e4ca..5040cff 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -39,9 +39,7 @@ class Bible(commands.Cog): book_name_list = book_name.split() for w in book_name_list: book_name_list.remove(w) - if not w.lower() == "of": - w = w.capitalize() - book_name_list.append(w) + book_name_list.append(w if w.lower() == "of" else w.capitalize()) books = await self._get_books(bible_id) for book in books: if book_name in (book["abbreviation"], book["name"]):