mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
remove unnecessary client options
This commit is contained in:
parent
2eaa37549a
commit
7ba96a905b
|
@ -4,11 +4,7 @@ import { logger } from '..';
|
||||||
|
|
||||||
let AUTUMN_URL = `http://autumnUrl`;
|
let AUTUMN_URL = `http://autumnUrl`;
|
||||||
|
|
||||||
const client = new Client({
|
const client = new Client({ });
|
||||||
messageTimeoutFix: true,
|
|
||||||
autoReconnect: true,
|
|
||||||
onPongTimeout: 'RECONNECT',
|
|
||||||
});
|
|
||||||
|
|
||||||
const login = () => new Promise((resolve: (value: Client) => void) => {
|
const login = () => new Promise((resolve: (value: Client) => void) => {
|
||||||
client.loginBot(process.env['REVOLT_TOKEN']!);
|
client.loginBot(process.env['REVOLT_TOKEN']!);
|
||||||
|
|
Loading…
Reference in a new issue