feat(bot): add admin command for account recovery

This commit is contained in:
Iris System
2022-11-23 23:54:21 +13:00
parent 0d27e669c8
commit e65c2de542
2 changed files with 56 additions and 1 deletions

View File

@@ -127,6 +127,8 @@ public partial class CommandTree
await ctx.Execute<Admin>(Admin, a => a.SystemMemberLimit(ctx));
else if (ctx.Match("ugl", "updategrouplimit"))
await ctx.Execute<Admin>(Admin, a => a.SystemGroupLimit(ctx));
else if (ctx.Match("sr", "systemrecover"))
await ctx.Execute<Admin>(Admin, a => a.SystemRecover(ctx));
else
await ctx.Reply($"{Emojis.Error} Unknown command.");
}