feat: emoji update event

This commit is contained in:
sam 2024-10-14 17:09:12 +02:00
parent f1c75124a8
commit 4f718cde20
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
7 changed files with 174 additions and 2 deletions

View file

@ -46,6 +46,7 @@ public class MetaCommands(
ContextInjectionService contextInjection,
GuildCache guildCache,
ChannelCache channelCache,
EmojiCache emojiCache,
IDiscordRestChannelAPI channelApi
) : CommandGroup
{
@ -107,7 +108,7 @@ public class MetaCommands(
embed.AddField(
"Numbers",
$"{CataloggerMetrics.MessagesStored.Value:N0} messages "
+ $"from {guildCache.Size:N0} servers\nCached {channelCache.Size:N0} channels",
+ $"from {guildCache.Size:N0} servers\nCached {channelCache.Size:N0} channels, {emojiCache.Size:N0}",
false
);