diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 554e623c..60e8d7e4 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -8,8 +8,6 @@ public partial class CommandTree { switch (parameters.Raw.Callback()) { - case "fun_thunder": - return ctx.Execute(null, m => m.Thunder(ctx)); case "help": return ctx.Execute(Help, m => m.HelpRoot(ctx)); case "help_commands": @@ -22,6 +20,10 @@ public partial class CommandTree return ctx.Execute(MemberInfo, m => m.ViewMember(ctx, parameters.MemberParams["target"])); case "member_new": return ctx.Execute(MemberNew, m => m.NewMember(ctx, parameters.Raw.Params()["name"])); + case "fun_thunder": + return ctx.Execute(null, m => m.Thunder(ctx)); + case "fun_meow": + return ctx.Execute(null, m => m.Meow(ctx)); default: return ctx.Reply( $"{Emojis.Error} Parsed command {parameters.Raw.Callback().AsCode()} not implemented in PluralKit.Bot!"); diff --git a/PluralKit.Bot/Commands/Fun.cs b/PluralKit.Bot/Commands/Fun.cs index b1ab53e0..9763f186 100644 --- a/PluralKit.Bot/Commands/Fun.cs +++ b/PluralKit.Bot/Commands/Fun.cs @@ -34,6 +34,9 @@ public class Fun public Task Sus(Context ctx) => ctx.Reply("\U0001F4EE"); + public Task Meow(Context ctx) => + ctx.Reply("*mrrp :3*"); + public Task Error(Context ctx) { if (ctx.Match("message")) diff --git a/crates/commands/src/commands/fun.rs b/crates/commands/src/commands/fun.rs index 472997ac..a8bddf45 100644 --- a/crates/commands/src/commands/fun.rs +++ b/crates/commands/src/commands/fun.rs @@ -1,10 +1,9 @@ use super::*; pub fn cmds() -> impl Iterator { - [command!( - ["thunder"], - "fun_thunder", - "fun thunder" - )] + [ + command!(["thunder"], "fun_thunder", "fun thunder"), + command!(["meow"], "fun_meow", "fun meow"), + ] .into_iter() }