feat(seautils): add the url of the rfc document being retrieved to the embed
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 39s

This commit is contained in:
Seaswimmer 2024-05-28 22:17:20 -04:00
parent 8f492cd937
commit 5b23f2f0fb
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -221,6 +221,7 @@ class SeaUtils(commands.Cog):
if await ctx.embed_requested(): if await ctx.embed_requested():
embed = Embed( embed = Embed(
title=f"RFC Document {number}", title=f"RFC Document {number}",
url=url,
description=page, description=page,
color=await ctx.embed_color() color=await ctx.embed_color()
) )