Updating server stats embed to be uniform with user stats

This commit is contained in:
Runebaas 2017-09-29 01:32:15 +02:00
parent 98a13c9069
commit b1f4e8ad93
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -22,10 +22,12 @@ namespace Geekbot.net.Modules
public async Task getInfo() public async Task getInfo()
{ {
var eb = new EmbedBuilder(); var eb = new EmbedBuilder();
eb.WithAuthor(new EmbedAuthorBuilder() // eb.WithAuthor(new EmbedAuthorBuilder()
.WithIconUrl(Context.Guild.IconUrl) // .WithIconUrl(Context.Guild.IconUrl)
.WithName(Context.Guild.Name)); // .WithName(Context.Guild.Name));
eb.WithColor(new Color(110, 204, 147)); eb.WithColor(new Color(110, 204, 147));
eb.Title = $":bar_chart: {Context.Guild.Name}";
eb.ThumbnailUrl = Context.Guild.IconUrl;
var created = Context.Guild.CreatedAt; var created = Context.Guild.CreatedAt;
var age = Math.Floor((DateTime.Now - created).TotalDays); var age = Math.Floor((DateTime.Now - created).TotalDays);