fix(seautils): fixed a maybe_send_embed call having an invalid kwarg
This commit is contained in:
parent
b7bde42672
commit
5bfb74de47
1 changed files with 1 additions and 1 deletions
|
@ -247,4 +247,4 @@ class SeaUtils(commands.Cog):
|
||||||
embed.set_footer(text=f"Page {content.index(embed) + 1}/{len(content)}")
|
embed.set_footer(text=f"Page {content.index(embed) + 1}/{len(content)}")
|
||||||
await SimpleMenu(pages=content, disable_after_timeout=True, timeout=300).start(ctx)
|
await SimpleMenu(pages=content, disable_after_timeout=True, timeout=300).start(ctx)
|
||||||
else:
|
else:
|
||||||
await ctx.maybe_send_embed(content=cf.error(f"An error occurred while fetching RFC {number}. Status code: {response.status}."))
|
await ctx.maybe_send_embed(message=cf.error(f"An error occurred while fetching RFC {number}. Status code: {response.status}."))
|
||||||
|
|
Loading…
Reference in a new issue