Skip to content

Commit 73025d9

Browse files
committed
decreases how often bot will reply with twss
1 parent 9705d0f commit 73025d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if(msg.isMemberMentioned(client.user)){
4949
}
5050

5151
// TWSS responses
52-
if (twss.prob(message) >= THRESHOLD) {
52+
if (twss.prob(message) >= THRESHOLD && Math.random() > 0.7 ) {
5353
msg.reply(TWSS_RESPONSE)
5454
}
5555
})

0 commit comments

Comments
 (0)