fix(bible): fixed another typeerror
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 52s
Actions / Build Documentation (MkDocs) (push) Successful in 34s

This commit is contained in:
Seaswimmer 2024-04-06 06:18:16 -04:00
parent 01b249fbb3
commit 33ce8a147c
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -267,7 +267,7 @@ class Bible(commands.Cog):
return return
if await ctx.embed_requested(): if await ctx.embed_requested():
icon = await self.get_icon(await ctx.embed_color()) icon = self.get_icon(await ctx.embed_color())
embed = Embed( embed = Embed(
title=f"{passage['reference']}", title=f"{passage['reference']}",
description=passage["content"].replace("", ""), description=passage["content"].replace("", ""),
@ -309,7 +309,7 @@ class Bible(commands.Cog):
return return
if await ctx.embed_requested(): if await ctx.embed_requested():
icon = await self.get_icon(await ctx.embed_color()) icon = self.get_icon(await ctx.embed_color())
embed = Embed( embed = Embed(
title=f"{passage['reference']}", title=f"{passage['reference']}",
description=passage["content"].replace("", ""), description=passage["content"].replace("", ""),