From 79c79146a5df730cb8e8eee1cc1008639a2c21c7 Mon Sep 17 00:00:00 2001 From: Kyle Carson Date: Sun, 5 Feb 2017 19:28:42 -0600 Subject: [PATCH] Support `anytime` compliment group. --- modules/default/compliments/compliments.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/default/compliments/compliments.js b/modules/default/compliments/compliments.js index 9f514ff1..3cbad1a6 100644 --- a/modules/default/compliments/compliments.js +++ b/modules/default/compliments/compliments.js @@ -12,6 +12,9 @@ Module.register("compliments",{ // Module config defaults. defaults: { compliments: { + anytime: [ + "Hey there sexy!" + ], morning: [ "Good morning, handsome!", "Enjoy your day!", @@ -107,6 +110,9 @@ Module.register("compliments",{ if ( this.currentWeatherType in this.config.compliments) { compliments.push.apply(compliments, this.config.compliments[this.currentWeatherType]); } + + compliments.push.apply(compliments, this.config.compliments.anytime); + return compliments; },