Updating server stats embed to be uniform with user stats
This commit is contained in:
parent
98a13c9069
commit
b1f4e8ad93
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue