mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05: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;
 | 
					        imgStream.Position = 0;
 | 
				
			||||||
        await ctx.Channel.SendFileAsync(imgStream,
 | 
					        await ctx.Channel.SendFileAsync(imgStream,
 | 
				
			||||||
            $"girl_{usr}.png",
 | 
					            $"rating.png",
 | 
				
			||||||
            Format.Bold($"{ctx.User.Mention} Girl Rating For {usr}"),
 | 
					            Format.Bold($"{ctx.User.Mention} Girl Rating For {usr}"),
 | 
				
			||||||
            embed: _eb.Create()
 | 
					            embed: _eb.Create()
 | 
				
			||||||
                      .WithOkColor()
 | 
					                      .WithOkColor()
 | 
				
			||||||
                      .AddField("Hot", gr.Hot.ToString("F2"), true)
 | 
					                      .AddField("Hot", gr.Hot.ToString("F2"), true)
 | 
				
			||||||
                      .AddField("Crazy", gr.Crazy.ToString("F2"), true)
 | 
					                      .AddField("Crazy", gr.Crazy.ToString("F2"), true)
 | 
				
			||||||
                      .AddField("Advice", gr.Advice)
 | 
					                      .AddField("Advice", gr.Advice)
 | 
				
			||||||
 | 
					                      .WithImageUrl($"attachment://rating.png")
 | 
				
			||||||
                      .Build());
 | 
					                      .Build());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user