shutdown.java
Go to the documentation of this file.
00001 
00009 package script;
00010 
00011 import com.rosalfred.core.ia.rivescript.BotReply;
00012 import com.rosalfred.core.ia.rivescript.RiveScript;
00013 import com.rosalfred.core.ia.rivescript.lang.java.RunRiver;
00014 
00020 public class shutdown implements RunRiver {
00021 
00022     @Override
00023     public BotReply invoke(RiveScript rs, String user, String[] args) {
00024         System.exit(0);
00025         return new BotReply("");
00026     }
00027 
00028 }


alfred_bot
Author(s): Mickael Gaillard , Erwan Le Huitouze
autogenerated on Tue Jun 14 2016 01:34:50