Commit 20e66c62 authored by litaolemo's avatar litaolemo

update

parent 8735c57e
......@@ -96,6 +96,7 @@ class push_rule(object):
else:
repost_diff = -100
print(datetime.datetime.now().timestamp(),comment_diff,favoratie_diff,repost_diff)
if parse_mode == "and":
if comment_diff / time_diff >= self.comment_per_min and favoratie_diff / time_diff >= self.favorite_per_min and repost_diff / time_diff >= self.repost_per_min:
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment