diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index a20a0505..4aac3fd2 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -53,6 +53,7 @@ namespace PluralKit.Bot public static Command Import = new Command("import", "import [fileurl]", "Imports system information from a data file"); public static Command Export = new Command("export", "export", "Exports system information to a data file"); public static Command Help = new Command("help", "help", "Shows help information about PluralKit"); + public static Command Explain = new Command("explain", "explain", "Explains the basics of systems and proxying"); public static Command Message = new Command("message", "message ", "Looks up a proxied message"); public static Command LogChannel = new Command("log channel", "log channel ", "Designates a channel to post proxied messages to"); public static Command LogEnable = new Command("log enable", "log enable all| [channel 2] [channel 3...]", "Enables message logging in certain channels"); @@ -119,6 +120,8 @@ namespace PluralKit.Bot else if (ctx.Match("proxy")) return ctx.Reply("The proxy help page has been moved! See the website: https://pluralkit.me/guide#proxying"); else return ctx.Execute(Help, m => m.HelpRoot(ctx)); + if (ctx.Match("explain")) + return ctx.Execute(Explain, m => m.Explain(ctx)); if (ctx.Match("commands")) return ctx.Reply("For the list of commands, see the website: "); if (ctx.Match("message", "msg")) diff --git a/PluralKit.Bot/Commands/Help.cs b/PluralKit.Bot/Commands/Help.cs index b52f6d36..9e6c72bb 100644 --- a/PluralKit.Bot/Commands/Help.cs +++ b/PluralKit.Bot/Commands/Help.cs @@ -23,5 +23,10 @@ namespace PluralKit.Bot .WithColor(DiscordUtils.Blue) .Build()); } + + public async Task Explain(Context ctx) + { + await ctx.Reply("> **About PluralKit**\nPluralKit detects messages enclosed in specific tags associated with a profile, then replaces that message under a \"pseudo-account\" of that profile using Discord webhooks.\n\nThis is useful for multiple people sharing one body (aka. *systems*), people who wish to role-play as different characters without having multiple Discord accounts, or anyone else who may want to post messages under a different identity from the same Discord account.\n\nDue to Discord limitations, these messages will show up with the `[BOT]` tag - however, they are not bots."); + } } } \ No newline at end of file