only show PRIVMSGed if we had something to PRIVMSG
This commit is contained in:
parent
a550bf07ac
commit
ab1d3456ad
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user