diff --git a/CHANGELOG.md b/CHANGELOG.md index b242329..27cec76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # 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 66f8a3c..2cec21b 100644 --- a/feed-bot.js +++ b/feed-bot.js @@ -50,7 +50,7 @@ var DiscordClient = { DiscordClient.reconnectInterval = setInterval(function () { DiscordClient.startup(); - }, (Config.reconnectInterval || Config.pollingInterval)); + }, 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