less-log2
This commit is contained in:
parent
834a63f5e6
commit
c9975f7b7f
|
@ -48,7 +48,7 @@ async def messages_routing(msg, state):
|
|||
scoring_msg_id = reply_msg.get("message_id") or latest_toxic_message_id
|
||||
toxic_score = await redis.get(f"toxic:{cid}:{uid}:{scoring_msg_id}")
|
||||
if toxic_score:
|
||||
text = f"{toxic_score}% токсичности"
|
||||
text = f"{int(toxic_score)}% токсичности"
|
||||
if text:
|
||||
await telegram_api(
|
||||
"sendMessage",
|
||||
|
|
Loading…
Reference in New Issue
Block a user