This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user