capture: add debug log because of issues
This commit is contained in:
parent
a2b70887de
commit
8467c25beb
|
@ -26,9 +26,12 @@ class CapturePlugin(Plugin):
|
|||
return False
|
||||
if self.current_thing is not None:
|
||||
message = event.arguments[0]
|
||||
if message == self.config["capture_sentence"]:
|
||||
capture_sentence = self.config["capture_sentence"]
|
||||
if message == capture_sentence:
|
||||
self.capture(event.source.nick, event.target)
|
||||
return True
|
||||
else:
|
||||
self.bot.log_d(f"Capture: “{message}” != “{capture_sentence}”")
|
||||
return False
|
||||
|
||||
if proc(self.config["rate"]):
|
||||
|
|
Loading…
Reference in a new issue