File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ activation_example:!nda
3+ regex:(!nda|!confidential)
4+ flags:gmi
5+ */
6+
7+ //Provides a response to the strings that will cause the `Summarize the thread so far` parser to not produce a summary.
8+
9+ var message = [ ] ; //Array of potential messages to respond with
10+ message . push ( ":zipper_mouth_face:" ) ;
11+ message . push ( ":shushing_face:" ) ;
12+ message . push ( "I got you :fingerguns:" ) ;
13+ message . push ( "Lips are sealed" ) ;
14+ message . push ( ":spill-the-tea:" ) ;
15+ message . push ( ":popcorn2:" ) ;
16+ message . push ( ":speak_no_evil:" ) ;
17+ message . push ( "Request for confidentiality acknowledged. Use of !summary, !catchmeup, and !catchup have been disabled." ) ;
18+
19+
20+ //Select one at random.
21+ var randomIndex = Math . floor ( Math . random ( ) * message . length ) ;
22+
23+ new x_snc_slackerbot . Slacker ( ) . send_chat ( current , message [ randomIndex ] , true ) ;
You can’t perform that action at this time.
0 commit comments