only show PRIVMSGed if we had something to PRIVMSG

This commit is contained in:
Brian S. Stephan 2021-05-06 09:36:00 -05:00
parent a550bf07ac
commit ab1d3456ad
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,8 @@ class History(Plugin):
history = self._missed_slice(where, who)
self._delete_channel_leave_point(where, who)
self._send_history(who, history)
self.bot.reply(event, f"{len(history)} line(s) (PRIVMSGed)")
privmsged_str = " (PRIVMSGed)" if history else ""
self.bot.reply(event, f"{len(history)} line(s){privmsged_str}")
return 'NO MORE'
def _send_history(self, who, history):