Don't load all members on startup
Should improve start times significantly
This commit is contained in:
parent
d30fbbbbaa
commit
51a77b0082
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ connect().then(async conn => {
|
||||||
await conn.runMigrations();
|
await conn.runMigrations();
|
||||||
|
|
||||||
const client = new Client(`Bot ${process.env.TOKEN}`, {
|
const client = new Client(`Bot ${process.env.TOKEN}`, {
|
||||||
getAllUsers: true,
|
getAllUsers: false,
|
||||||
restMode: true,
|
restMode: true,
|
||||||
});
|
});
|
||||||
client.setMaxListeners(100);
|
client.setMaxListeners(100);
|
||||||
|
|
Loading…
Add table
Reference in a new issue