refine comments and change emoji
This commit is contained in:
parent
faced8e8e9
commit
5c9fa8b8fc
|
@ -55,7 +55,7 @@ controller.hears(["np"],["direct_message","direct_mention","mention","ambient"],
|
|||
console.log("Message was from test channel! Mention counters will not be increased.");
|
||||
}
|
||||
|
||||
// Decide what to do
|
||||
// Decide whether to respond with a problem or consult Johan Botson.
|
||||
if (Math.random() < 0.9) {
|
||||
var index = Math.floor(Math.random() * problems.length);
|
||||
var base_url = "https://en.wikipedia.org/wiki/";
|
||||
|
@ -87,7 +87,7 @@ controller.hears(["np"],["direct_message","direct_mention","mention","ambient"],
|
|||
bot.api.reactions.add({
|
||||
timestamp: message.ts,
|
||||
channel: message.channel,
|
||||
name: "mount_fuji",
|
||||
name: "raised_hands",
|
||||
},function(err, res) {
|
||||
if (err) {
|
||||
bot.botkit.log('Failed to add reaction emoji');
|
||||
|
|
Loading…
Reference in New Issue
Block a user