We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 255590c commit bf527d1Copy full SHA for bf527d1
lib/services/punishment-read-write-stream.js
@@ -93,6 +93,10 @@ class PunishmentReadWriteStream extends Transform {
93
this.push(punished);
94
}
95
96
+ /**
97
+ * @param {Object} punished
98
+ * @param {boolean} punished.isBannedWord `true` if this mute was automatically issued as a result of the user typing a banned word
99
+ */
100
handleMute(punished) {
101
getReporter().incrementCounter(METRIC_NAMES.MUTES_GIVEN, 1);
102
let muteDuration = null;
0 commit comments