capture: add debug log because of issues
This commit is contained in:
parent
6eaac2c8ea
commit
9c077c72fc
|
@ -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