@@ -68,6 +68,7 @@ public abstract class Action {
*/
public static List<Action> getAllActions(Bot b){
List<Action> ar= new ArrayList<>();
+ ar.add(new Help(b));
ar.add(new Contact(b));
ar.add(new Info(b));
ar.add(new Liste(b));
@@ -0,0 +1,22 @@
+package actions;
+
+import java.util.ArrayList;
+import java.util.List;
+import main.Bot;
+public class Help extends Action {
+ public Help(Bot b) {
+ super(b);
+ List<String> kw = new ArrayList<>(3);
+ kw.add("help");
+ kw.add("?");
+ }
+ @Override
+ public void react(String channel, String sender, String login, String hostname, String message) {
+ // TODO Auto-generated method stub
+}