From dd5bc0eeda9d582d96bb52330e06e7776bce2091 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 8 Feb 2022 17:25:29 +0100 Subject: [PATCH] .rategirl will now use embed imageurl instead of file attachment (thx sylveon) --- src/NadekoBot/Modules/Games/Games.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Games/Games.cs b/src/NadekoBot/Modules/Games/Games.cs index fa8885dce..2ff42cba7 100644 --- a/src/NadekoBot/Modules/Games/Games.cs +++ b/src/NadekoBot/Modules/Games/Games.cs @@ -68,13 +68,14 @@ public partial class Games : NadekoModule imgStream.Position = 0; await ctx.Channel.SendFileAsync(imgStream, - $"girl_{usr}.png", + $"rating.png", Format.Bold($"{ctx.User.Mention} Girl Rating For {usr}"), embed: _eb.Create() .WithOkColor() .AddField("Hot", gr.Hot.ToString("F2"), true) .AddField("Crazy", gr.Crazy.ToString("F2"), true) .AddField("Advice", gr.Advice) + .WithImageUrl($"attachment://rating.png") .Build()); }