nosegm6
This commit is contained in:
@@ -120,7 +120,7 @@ async def messages_routing(msg, state):
|
||||
|
||||
await redis.set(f"toxic:{cid}", mid)
|
||||
await redis.set(f"toxic:{cid}:{uid}:{mid}", toxic_perc, ex=60 * 60 * 24 * 3)
|
||||
if toxic_score > 0.81:
|
||||
if toxic_score > 0.75:
|
||||
if toxic_score > 0.90:
|
||||
await redis.set(f"removed:{uid}:{cid}:{mid}", text)
|
||||
try:
|
||||
|
Reference in New Issue
Block a user