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

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

View file

@ -267,11 +267,11 @@ class Bible(commands.Cog):
return
if await ctx.embed_requested():
icon = await self.get_icon(await ctx.embed_color)
icon = await self.get_icon(await ctx.embed_color())
embed = Embed(
title=f"{passage['reference']}",
description=passage["content"].replace("", ""),
color=await ctx.embed_color,
color=await ctx.embed_color(),
)
embed.set_footer(
text=f"{ctx.prefix}bible passage - Powered by API.Bible - {version.abbreviationLocal} ({version.languageLocal}, {version.descriptionLocal})",
@ -309,11 +309,11 @@ class Bible(commands.Cog):
return
if await ctx.embed_requested():
icon = await self.get_icon(await ctx.embed_color)
icon = await self.get_icon(await ctx.embed_color())
embed = Embed(
title=f"{passage['reference']}",
description=passage["content"].replace("", ""),
color=await ctx.embed_color,
color=await ctx.embed_color(),
)
embed.set_footer(
text=f"{ctx.prefix}bible random - Powered by API.Bible - {version.abbreviationLocal} ({version.languageLocal}, {version.descriptionLocal})",