diff --git a/CHANGELOG.md b/CHANGELOG.md index 27cec76..b242329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,5 @@ # Changelog -## v1.1.2.1 - -### Fixed - -- Fixed reconnect timer being set to 0 sometimes - ## v1.1.2 ### Updated diff --git a/feed-bot.js b/feed-bot.js index 2cec21b..66f8a3c 100644 --- a/feed-bot.js +++ b/feed-bot.js @@ -50,7 +50,7 @@ var DiscordClient = { DiscordClient.reconnectInterval = setInterval(function () { DiscordClient.startup(); - }, Config.pollingInterval); + }, (Config.reconnectInterval || Config.pollingInterval)); }, onMessage: function (user, userID, channelID, message) { //check if the message is in the right channel, contains a link, and is not the latest link from the rss feed