fix(bible): set the footer with set_footer instead of trying to override footer
This commit is contained in:
parent
7f2555218c
commit
8941aabf81
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue