Merged hotfix/reconnect-spam into develop
This commit is contained in:
commit
93661a416f
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v1.1.2.1
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed reconnect timer being set to 0 sometimes
|
||||||
|
|
||||||
## v1.1.2
|
## v1.1.2
|
||||||
|
|
||||||
### Updated
|
### Updated
|
||||||
|
|
|
@ -50,7 +50,7 @@ var DiscordClient = {
|
||||||
|
|
||||||
DiscordClient.reconnectInterval = setInterval(function () {
|
DiscordClient.reconnectInterval = setInterval(function () {
|
||||||
DiscordClient.startup();
|
DiscordClient.startup();
|
||||||
}, (Config.reconnectInterval || Config.pollingInterval));
|
}, Config.pollingInterval);
|
||||||
},
|
},
|
||||||
onMessage: function (user, userID, channelID, message) {
|
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
|
//check if the message is in the right channel, contains a link, and is not the latest link from the rss feed
|
||||||
|
|
Loading…
Reference in New Issue