diff --git a/config-sample.json b/config-sample.json index d6e9f74..791f913 100644 --- a/config-sample.json +++ b/config-sample.json @@ -1,7 +1,9 @@ { "standup": { "api_key": "acdef12345", - "url": "http://api.website.com" + "url": "http://api.website.com", + "website": "http://stanu.ps", + "help_page": "https://wiki.mozilla.org/Standup" }, "irc": { "host": "irc.server.com", diff --git a/config.js b/config.js index e3829f8..deeaab9 100644 --- a/config.js +++ b/config.js @@ -12,7 +12,9 @@ var defaults = { nick: 'standup' }, standup: { - port: 80 + port: 80, + website: 'NOSITE', + help_page: 'NOHELP' }, log: { console: true, diff --git a/standup-irc.js b/standup-irc.js index 5d46614..5cdcbb1 100644 --- a/standup-irc.js +++ b/standup-irc.js @@ -374,8 +374,8 @@ var commands = { }); irc_client.say(user, 'For everything else, please log into the ' + - 'Standup website at http://standu.ps/ or check ' + - 'the wiki page https://wiki.mozilla.org/Standup ' + + 'Standup website at ' + config['standup']['website'] + ' ' + + 'or check the wiki page at ' + config['standup']['help_page'] + ' ' + 'for instructions.'); } },