Don't fetch all users on load (again...)
This commit is contained in:
parent
68380c5ac3
commit
6282c13b70
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ import { AllowedGuilds } from "./data/AllowedGuilds";
|
|||
logger.info("Connecting to database");
|
||||
connect().then(async conn => {
|
||||
const client = new Client(`Bot ${process.env.TOKEN}`, {
|
||||
getAllUsers: true,
|
||||
getAllUsers: false,
|
||||
restMode: true,
|
||||
});
|
||||
client.setMaxListeners(100);
|
||||
|
|
Loading…
Add table
Reference in a new issue