REPOSITORY / ScuroNeko/Laniakea

Pull Requests

PULL REQUESTS REPOSITORY

v1.0.0 #9

Merged
ScuroNeko merged 101 commits from dev into main 2026-05-20 13:43:34 +03:00
Showing only changes of commit c2909b4cfb - Show all commits
+3
View File
@@ -109,6 +109,9 @@ func (p *Plugin) AddCommand(command *Command) *Plugin {
p.Commands[command.command] = *command
return p
}
func (p *Plugin) NewCommand(exec CommandExecutor, command string, args ...CommandArg) *Command {
return NewCommand(exec, command, args...)
}
func (p *Plugin) AddPayload(command *Command) *Plugin {
p.Payloads[command.command] = *command
return p