From 8941aabf810341dd8d4792f7d60cb4ec8dc038ff Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 1 Feb 2024 18:28:22 -0500 Subject: [PATCH] fix(bible): set the footer with set_footer instead of trying to override footer --- bible/bible.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bible/bible.py b/bible/bible.py index ecbeb86..ff0401c 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -70,7 +70,7 @@ class Bible(commands.Cog): return passage = await self._get_passage(bible_id, f"{book_id}.{chapter}.{verse}") embed = Embed(title=f"{passage['reference']}", description=passage["content"].replace('¶ ', ''), color=await self.bot.get_embed_color(ctx.channel)) - embed.footer = f"{ctx.prefix}bible verse - Powered by API.bible" + embed.set_footer(f"{ctx.prefix}bible verse - Powered by API.bible") await ctx.send(embed=embed) @bible.command(name="passage") @@ -96,5 +96,5 @@ class Bible(commands.Cog): passage = await self._get_passage(bible_id, f"{book_id}.{passage.replace(':', '.')}") embed = Embed(title=f"{passage['reference']}", description=passage["content"].replace('¶ ', ''), color=await self.bot.get_embed_color(ctx.channel)) - embed.footer = f"{ctx.prefix}bible passage - Powered by API.bible" + embed.set_footer(f"{ctx.prefix}bible passage - Powered by API.bible") await ctx.send(embed=embed)