diff --git a/lib/bot.js b/lib/bot.js index 0b47638b..b05ef160 100644 --- a/lib/bot.js +++ b/lib/bot.js @@ -29,7 +29,10 @@ class Bot { validateChannelMapping(options.channelMapping); - this.discord = new discord.Client({ autoReconnect: true }); + this.discord = new discord.Client({ + autoReconnect: true, + retryLimit: 3, + }); this.server = options.server; this.nickname = options.nickname;