Temporarily load all users on start again

This commit is contained in:
Dragory 2019-05-02 17:46:04 +03:00
parent 5e8d098661
commit 017d721792

View file

@ -98,7 +98,7 @@ connect().then(async conn => {
await conn.runMigrations();
const client = new Client(`Bot ${process.env.TOKEN}`, {
getAllUsers: false,
getAllUsers: true,
restMode: true,
});
client.setMaxListeners(100);