diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index c8e3382d..7cd58c2a 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -215,12 +215,6 @@ public partial class CommandTree else if (ctx.Match("commands", "help")) await PrintCommandList(ctx, "systems", SystemCommands); - // these are deprecated (and not accessible by other users anyway), let's leave them out of new parsing - else if (ctx.Match("timezone", "tz")) - await ctx.Execute(ConfigTimezone, m => m.SystemTimezone(ctx), true); - else if (ctx.Match("ping")) - await ctx.Execute(ConfigPing, m => m.SystemPing(ctx), true); - // todo: these aren't deprecated but also shouldn't be here else if (ctx.Match("webhook", "hook")) await ctx.Execute(null, m => m.SystemWebhook(ctx)); @@ -561,13 +555,6 @@ public partial class CommandTree if (ctx.System == null) return ctx.Reply($"{Emojis.Error} {Errors.NoSystemError.Message}"); - // todo: move this whole block to Autoproxy.cs when these are removed - - if (ctx.Match("account", "ac")) - return ctx.Execute(ConfigAutoproxyAccount, m => m.AutoproxyAccount(ctx), true); - if (ctx.Match("timeout", "tm")) - return ctx.Execute(ConfigAutoproxyTimeout, m => m.AutoproxyTimeout(ctx), true); - return ctx.Execute(AutoproxySet, m => m.SetAutoproxyMode(ctx)); } diff --git a/PluralKit.Bot/CommandSystem/Context/Context.cs b/PluralKit.Bot/CommandSystem/Context/Context.cs index 80e7fe53..17f5af15 100644 --- a/PluralKit.Bot/CommandSystem/Context/Context.cs +++ b/PluralKit.Bot/CommandSystem/Context/Context.cs @@ -115,8 +115,7 @@ public class Context if (deprecated && commandDef != null) { - await Reply($"{Emojis.Warn} This command has been removed. please use `pk;{commandDef.Key}` instead."); - return; + await Reply($"{Emojis.Warn} Server configuration has moved to `pk;serverconfig`. The command you are trying to run is now `pk;{commandDef.Key}`."); } try