with handling for do

This commit is contained in:
2022-11-05 23:05:41 +01:00
parent fd826827f6
commit 52f44f7c2e
8 changed files with 77 additions and 15 deletions

View File

@@ -65,6 +65,7 @@ func (cc *CharContext) About(ctx context.Context) ([]register.AboutItem, error)
return cc.pluginRegister.About(ctx)
}
func (cc *CharContext) Do(ctx context.Context, argName string, commandName string) error {
func (cc *CharContext) Do(ctx context.Context, clientName string, commandName string, args map[string]string) error {
cc.pluginRegister.Do(ctx, clientName, commandName, args)
return nil
}