fix(bible): fixed embed.set_footer()
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 15s
Actions / Build Documentation (MkDocs) (push) Successful in 12s

This commit is contained in:
Seaswimmer 2024-02-01 18:29:00 -05:00
parent 8941aabf81
commit bb53343ecc
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -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.set_footer(f"{ctx.prefix}bible verse - Powered by API.bible")
embed.set_footer(text=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.set_footer(f"{ctx.prefix}bible passage - Powered by API.bible")
embed.set_footer(text=f"{ctx.prefix}bible passage - Powered by API.bible")
await ctx.send(embed=embed)