Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Parsers/NDA.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,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);
Loading