Warning: session_start(): open(/var/lib/php/sessions/sess_rp4krvcmbvt3b6h67d4e1kam2h, 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
static LL gazelle_monologues(O... _) {
int minLength = optPar minLength(_, 2);
int maxDelay = optPar maxDelay(_, 5000);
new LL out;
for (long channelID : dm_discord_allChannelIDs()) {
L l = dm_discord_linesInChannel(channelID);
for i over l: {
int j = i+1;
if (!l.get(i).bot) continue;
while (j < l(l) && l.get(j).bot && l.get(j).timestamp <= l.get(j-1).timestamp+maxDelay) ++j;
if (j-i >= minLength)
out.add(cloneSubList(l, i, j));
i = j-1;
}
}
ret out;
}