forked from cswimr/SeaCogs
fix(bible): fixed embed.set_footer()
This commit is contained in:
parent
8941aabf81
commit
bb53343ecc
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ class Bible(commands.Cog):
|
||||||
return
|
return
|
||||||
passage = await self._get_passage(bible_id, f"{book_id}.{chapter}.{verse}")
|
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 = 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)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@bible.command(name="passage")
|
@bible.command(name="passage")
|
||||||
|
@ -96,5 +96,5 @@ class Bible(commands.Cog):
|
||||||
passage = await self._get_passage(bible_id, f"{book_id}.{passage.replace(':', '.')}")
|
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 = 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)
|
await ctx.send(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue