net.sf.jqql.robot
Interface IRobot
- All Known Implementing Classes:
- DummyRobot
public interface IRobot
afford current chat robot supported for LumaQQ, if has off-the-shelf robot program,
user can implement this interface to pack it, then rework robot.xml, namely can open/close robot function across system
为LumaQQ提供通用的聊天机器人支持,用户如果有现成的机器人程序,可以通过实现这个接口
对其包装,然后修改robot.xml文件,即可通过系统菜单打开/关闭机器人功能
- Author:
- luma
getReply
String getReply(ReceiveIMPacket packet)
- get a reply based on message
根据message得到一条回复消息
- Parameters:
packet - receive message packet
接受消息包
- Returns:
- reply message, return null means it doestn't answer this message
回复的消息,返回null表示不响应这条消息