}
}
}
private void continueDiscussion() {
Discussion discussion = memory.currentDiscussion();
if (!discussion.lastSpokenBy(name) && discussion.getSilenceSeconds() > 2) {
String response = determineResponse(discussion);
if (response != null) {
send(response);
}
}
else if (discussion.lastSpokenBy(name) && memory.getAloneSeconds() > 60) {
send("I guess nobody wants to talk to me.");
memory.killDiscussion();
}
else if (discussion.lastSpokenBy(name) && discussion.getSilenceSeconds() > 30) {
send("helloooooo?");
}
}