feat: redirect commands

This commit is contained in:
sam 2024-10-16 14:53:30 +02:00
parent 03dc16b0b3
commit bacbc6db0e
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
7 changed files with 212 additions and 7 deletions

View file

@ -46,6 +46,7 @@ public class MetaCommands(
IFeedbackService feedbackService,
ContextInjectionService contextInjection,
GuildCache guildCache,
RoleCache roleCache,
ChannelCache channelCache,
EmojiCache emojiCache,
IDiscordRestChannelAPI channelApi
@ -109,7 +110,8 @@ public class MetaCommands(
embed.AddField(
"Numbers",
$"{CataloggerMetrics.MessagesStored.Value:N0} messages "
+ $"from {guildCache.Size:N0} servers\nCached {channelCache.Size:N0} channels, {emojiCache.Size:N0}",
+ $"from {guildCache.Size:N0} servers\n"
+ $"Cached {channelCache.Size:N0} channels, {roleCache.Size:N0} roles, {emojiCache.Size:N0} emojis",
false
);