feat(seautils): add the url of the rfc document being retrieved to the embed

This commit is contained in:
Seaswimmer 2024-05-28 22:17:20 -04:00
parent 8f492cd937
commit 5b23f2f0fb
Signed by untrusted user: 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()
) )