mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Cleaned up embedbuilder calls to use parameters instead of footer builder
This commit is contained in:
@@ -445,7 +445,7 @@ namespace NadekoBot.Modules.NSFW
|
||||
{
|
||||
var embed = new EmbedBuilder().WithOkColor()
|
||||
.WithDescription($"{ctx.User} [{tag ?? "url"}]({imgObj}) ")
|
||||
.WithFooter(efb => efb.WithText(type.ToString()));
|
||||
.WithFooter(type.ToString());
|
||||
|
||||
if (Uri.IsWellFormedUriString(imgObj.FileUrl, UriKind.Absolute))
|
||||
embed.WithImageUrl(imgObj.FileUrl);
|
||||
|
Reference in New Issue
Block a user