fix(seautils): fixed a maybe_send_embed call having an invalid kwarg
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 44s

This commit is contained in:
Seaswimmer 2024-08-13 02:39:40 -04:00
parent b7bde42672
commit 5bfb74de47
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -247,4 +247,4 @@ class SeaUtils(commands.Cog):
embed.set_footer(text=f"Page {content.index(embed) + 1}/{len(content)}")
await SimpleMenu(pages=content, disable_after_timeout=True, timeout=300).start(ctx)
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}."))