forked from ServiceNowDevProgram/SlackerBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTips for Slack.js
7 lines (7 loc) · 876 Bytes
/
Tips for Slack.js
1
2
3
4
5
6
7
/*
activation_example:!Tips
regex:!tips
flags:gmi
*/
var message = "1. Use Threads (when busy or when quiet)\n • Start your own thread with :thread:\n2. Wrap your code in 1x and 3x back-tick syntax\n • Surround text with ` = Red highlighted single-line\n • Surround text with ``` = Grey highlighted multi-line\n3. Don't ask if you can ask a question, just ask it.\n4. See if there is a #channel for your topic, experts like to hang in channels they are experts in\n5. If you have a code question, be prepared to share your code\n6. Notifications\n • you can keywords to notify you in your slack preferences\n • you can mute channels you want access to, but dont need immediate Notifications\n • you can have separate desktop / mobile notifiations configs";
var send_chat = new x_snc_slackerbot.Slacker().send_chat(current, message, false);