-
Notifications
You must be signed in to change notification settings - Fork 130
Expand file tree
/
Copy pathNDA.js
More file actions
23 lines (18 loc) · 779 Bytes
/
NDA.js
File metadata and controls
23 lines (18 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
activation_example:!nda
regex:(!nda|!confidential)
flags:gmi
*/
//Provides a response to the strings that will cause the `Summarize the thread so far` parser to not produce a summary.
var message = []; //Array of potential messages to respond with
message.push(":zipper_mouth_face:");
message.push(":shushing_face:");
message.push("I got you :fingerguns:");
message.push("Lips are sealed");
message.push(":spill-the-tea:");
message.push(":popcorn2:");
message.push(":speak_no_evil:");
message.push("Request for confidentiality acknowledged. Use of !summary, !catchmeup, and !catchup have been disabled.");
//Select one at random.
var randomIndex = Math.floor(Math.random() * message.length);
new x_snc_slackerbot.Slacker().send_chat(current, message[randomIndex], true);