feat: show bot version on startup and in /catalogger ping
This commit is contained in:
parent
a22057b9fa
commit
5ac607fd0a
6 changed files with 66 additions and 4 deletions
|
|
@ -176,7 +176,7 @@ public class MetaCommands(
|
|||
var embed = new EmbedBuilder()
|
||||
.WithColour(DiscordUtils.Purple)
|
||||
.WithFooter(
|
||||
$"{RuntimeInformation.FrameworkDescription} on {RuntimeInformation.RuntimeIdentifier}"
|
||||
$"{BuildInfo.Version}, {RuntimeInformation.FrameworkDescription} on {RuntimeInformation.RuntimeIdentifier}"
|
||||
)
|
||||
.WithCurrentTimestamp();
|
||||
embed.AddField(
|
||||
|
|
@ -209,8 +209,7 @@ public class MetaCommands(
|
|||
"Numbers",
|
||||
$"{CataloggerMetrics.MessagesStored.Value:N0} messages "
|
||||
+ $"from {guildCache.Size:N0} servers\n"
|
||||
+ $"Cached {channelCache.Size:N0} channels, {roleCache.Size:N0} roles, {emojiCache.Size:N0} emojis",
|
||||
false
|
||||
+ $"Cached {channelCache.Size:N0} channels, {roleCache.Size:N0} roles, {emojiCache.Size:N0} emojis"
|
||||
);
|
||||
|
||||
IEmbed[] embeds = [embed.Build().GetOrThrow()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue