mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 15:57:53 +00:00
feat: add pk;reproxy (#447)
This commit is contained in:
parent
fe69b1b320
commit
ee17fcb11f
5 changed files with 124 additions and 13 deletions
|
|
@ -48,6 +48,8 @@ public partial class CommandTree
|
|||
return ctx.Execute<ProxiedMessage>(Message, m => m.GetMessage(ctx));
|
||||
if (ctx.Match("edit", "e"))
|
||||
return ctx.Execute<ProxiedMessage>(MessageEdit, m => m.EditMessage(ctx));
|
||||
if (ctx.Match("reproxy", "rp"))
|
||||
return ctx.Execute<ProxiedMessage>(MessageReproxy, m => m.ReproxyMessage(ctx));
|
||||
if (ctx.Match("log"))
|
||||
if (ctx.Match("channel"))
|
||||
return ctx.Execute<ServerConfig>(LogChannel, m => m.SetLogChannel(ctx));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue