Very similar to what Buddha said about right speech, the 5 principles of that:
- Is it true? - Is it beneficial? - Is it spoken at the right time? - Is it spoken affectionately? - Is it spoken with a mind of good will?
https://www.accesstoinsight.org/ptf/dhamma/sacca/sacca4/samm...