diff --git a/templates/bothub-template/app.js b/templates/bothub-template/app.js index f440b80..b79e673 100644 --- a/templates/bothub-template/app.js +++ b/templates/bothub-template/app.js @@ -1,3 +1,5 @@ +"use strict"; + var Flint = require('node-flint'); var webhook = require('node-flint/webhook'); var express = require('express'); diff --git a/templates/bothub-template/flint.js b/templates/bothub-template/flint.js index 0a52d57..6c0b384 100644 --- a/templates/bothub-template/flint.js +++ b/templates/bothub-template/flint.js @@ -1,3 +1,5 @@ +"use strict"; + module.exports = function(flint) { flint.hears('hello', function(bot, trigger) { bot.say('Hello %s!', trigger.personDisplayName); diff --git a/templates/bothub-template/test.js b/templates/bothub-template/test.js index 15b594a..6ed08f4 100644 --- a/templates/bothub-template/test.js +++ b/templates/bothub-template/test.js @@ -1,3 +1,5 @@ +"use strict"; + var Flint = require('node-flint'); var webhook = require('node-flint/webhook'); var Socket2meClient = require('socket2me-client');