ignore lines that are probably the bots own log lines
This commit is contained in:
@@ -228,6 +228,10 @@ def parse_delete(filepath):
|
|||||||
# logger('info', "no spoiler for: " + content)
|
# logger('info', "no spoiler for: " + content)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if sys.argv[0] in content:
|
||||||
|
logger('info', 'silenced, this is my own log')
|
||||||
|
return
|
||||||
|
|
||||||
if True != extract_url(content):
|
if True != extract_url(content):
|
||||||
plugins.data_parse_commands(content)
|
plugins.data_parse_commands(content)
|
||||||
plugins.data_parse_other(content)
|
plugins.data_parse_other(content)
|
||||||
|
|||||||
Reference in New Issue
Block a user