diff --git a/bot/src/index.ts b/bot/src/index.ts index e4d44ca..50fd931 100644 --- a/bot/src/index.ts +++ b/bot/src/index.ts @@ -24,6 +24,7 @@ let client = new AutomodClient({ messageTimeoutFix: true, apiURL: process.env.API_URL, messageRateLimiter: true, + autoReconnect: true, }, db); login(client); diff --git a/bridge/src/revolt/client.ts b/bridge/src/revolt/client.ts index f1a7402..a075098 100644 --- a/bridge/src/revolt/client.ts +++ b/bridge/src/revolt/client.ts @@ -6,6 +6,7 @@ let AUTUMN_URL = `http://autumnUrl`; const client = new Client({ apiURL: process.env.REVOLT_API_URL, + autoReconnect: true, }); const login = () => new Promise((resolve: (value: Client) => void) => {