API improvements
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-09-10 19:19:50 +03:00
parent 24b15ca4fe
commit c5806b6b45
4 changed files with 13 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package ru.penkrat.stbf.api;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import lombok.AccessLevel;
@@ -36,4 +37,9 @@ public class BotCommandChain implements CommandChain {
return this;
}
public BotCommandChain addAll(Collection<Command> cmds) {
commands.addAll(cmds);
return this;
}
}