Warning: session_start(): open(/var/lib/php/sessions/sess_hs18qsohu9kbv2nfvdslih1cjm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
cmodule ClustersBot > DynTalkBot2 {
start {
makeByServer = () -> new ByServer;
useAGIBlueForDropPunctuation = false;
preprocessAtSelfToMyName = false;
}
class ByServer extends DynTalkBot2.ByServer {
S processSimplifiedLine(S s, O... _) {
try answer super.processSimplifiedLine(s, _); // adding authorized users etc.
new Matches m;
S sOld = s;
s = dropPrefixOrNull(myPrefix(), s);
if (s == null) {
print("no got prefix: " + quote(myPrefix()) + " / " + quote(sOld));
null;
}
if (eqic(s, "test"))
ret "test OK";
if (eqic(s, "help"))
ret trim([[
Help text will go here.
[Bot made by https://BotCompany.de]
]]).replace("@me", atSelf());
null;
}
}
}