mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 10:45:27 +00:00
auto reconnect revolt client
This commit is contained in:
parent
d5e4d55e55
commit
8c49c21228
|
@ -24,6 +24,7 @@ let client = new AutomodClient({
|
|||
messageTimeoutFix: true,
|
||||
apiURL: process.env.API_URL,
|
||||
messageRateLimiter: true,
|
||||
autoReconnect: true,
|
||||
}, db);
|
||||
login(client);
|
||||
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue