From 01b249fbb346db0c3bee531ee2e684535945df2b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 6 Apr 2024 06:16:41 -0400 Subject: [PATCH] fix(bible): fixed a typeerror --- bible/bible.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bible/bible.py b/bible/bible.py index ff7d4b5..5ae0405 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -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})",