Temporarily load all users on start again
This commit is contained in:
parent
5e8d098661
commit
017d721792
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,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: false,
|
getAllUsers: true,
|
||||||
restMode: true,
|
restMode: true,
|
||||||
});
|
});
|
||||||
client.setMaxListeners(100);
|
client.setMaxListeners(100);
|
||||||
|
|
Loading…
Add table
Reference in a new issue