mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
feat: add premium management admin commands
This commit is contained in:
parent
0a474c43eb
commit
59b9b6f6ec
3 changed files with 93 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ public partial class CommandTree
|
|||
await ctx.Execute<Admin>(Admin, a => a.SystemRecover(ctx));
|
||||
else if (ctx.Match("sd", "systemdelete"))
|
||||
await ctx.Execute<Admin>(Admin, a => a.SystemDelete(ctx));
|
||||
else if (ctx.Match("pe", "premiumexpiry", "premium"))
|
||||
await ctx.Execute<Admin>(Admin, a => a.PremiumExpiry(ctx));
|
||||
else if (ctx.Match("sendmsg", "sendmessage"))
|
||||
await ctx.Execute<Admin>(Admin, a => a.SendAdminMessage(ctx));
|
||||
else if (ctx.Match("al", "abuselog"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue