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"]):