Skip to content

Commit

Permalink
fix(spam-prediction): log raw text instead processed text
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMissx committed Jul 24, 2024
1 parent 60bbcfe commit 5f7e051
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anjani/internal_plugins/spam_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ async def spam_check(self, message: Message, text: str) -> None:
"proba": probability,
"msg_id": msg.id,
"date": util.time.sec(),
"text": result.processed_text,
"text": text,
},
)

Expand Down

0 comments on commit 5f7e051

Please sign in to comment.