From d02a34aa5a1e77bd43e4bcb88003265c39d942af Mon Sep 17 00:00:00 2001 From: rladenson Date: Tue, 5 Nov 2024 21:22:59 -0700 Subject: [PATCH] fix: App command for ping author used wrong message definition --- PluralKit.Bot/ApplicationCommandMeta/ApplicationCommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/ApplicationCommandMeta/ApplicationCommandTree.cs b/PluralKit.Bot/ApplicationCommandMeta/ApplicationCommandTree.cs index 04292a88..7f3600ae 100644 --- a/PluralKit.Bot/ApplicationCommandMeta/ApplicationCommandTree.cs +++ b/PluralKit.Bot/ApplicationCommandMeta/ApplicationCommandTree.cs @@ -12,7 +12,7 @@ public partial class ApplicationCommandTree else if (ctx.Event.Data!.Name == ProxiedMessageDelete.Name) return ctx.Execute(ProxiedMessageDelete, m => m.DeleteMessage(ctx)); else if (ctx.Event.Data!.Name == ProxiedMessagePing.Name) - return ctx.Execute(ProxiedMessageDelete, m => m.PingMessageAuthor(ctx)); + return ctx.Execute(ProxiedMessagePing, m => m.PingMessageAuthor(ctx)); return null; }