mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
.rategirl will now use embed imageurl instead of file attachment (thx sylveon)
This commit is contained in:
@@ -68,13 +68,14 @@ public partial class Games : NadekoModule<GamesService>
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user