diff --git a/VPLink/Services/DiscordMessageService.cs b/VPLink/Services/DiscordMessageService.cs index abb042d..8611e36 100644 --- a/VPLink/Services/DiscordMessageService.cs +++ b/VPLink/Services/DiscordMessageService.cs @@ -119,6 +119,13 @@ internal sealed class DiscordMessageService : BackgroundService, IDiscordMessage } } + if (arg.Interaction is { Type: InteractionType.ApplicationCommand } interaction) + { + string name = interaction.User.GetDisplayName(); + string commandName = interaction.Name; + messages.Add(new RelayedMessage(null, $"⌨️ {name} used /{commandName}", true)); + } + AddMessage(messages, displayName, content); IReadOnlyCollection attachments = message.Attachments;