give feedback on lines missed regardless of pub/privmsg
This commit is contained in:
parent
9368c8b823
commit
b21421a395
|
@ -99,11 +99,13 @@ class History(Plugin):
|
||||||
logger.debug("total history so far: %s", total_history)
|
logger.debug("total history so far: %s", total_history)
|
||||||
logger.debug("final missed history: %s", total_history)
|
logger.debug("final missed history: %s", total_history)
|
||||||
self._send_history(who, total_history)
|
self._send_history(who, total_history)
|
||||||
|
self.bot.reply(event, f"{len(total_history)} lines")
|
||||||
return 'NO MORE'
|
return 'NO MORE'
|
||||||
else:
|
else:
|
||||||
where = event.target
|
where = event.target
|
||||||
history = self._missed_slice(where, who)
|
history = self._missed_slice(where, who)
|
||||||
self._send_history(who, history)
|
self._send_history(who, history)
|
||||||
|
self.bot.reply(event, f"{len(history)} lines (PRIVMSGed)")
|
||||||
return 'NO MORE'
|
return 'NO MORE'
|
||||||
|
|
||||||
def _send_history(self, who, history):
|
def _send_history(self, who, history):
|
||||||
|
|
Loading…
Reference in New Issue