3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-13 13:25:03 +00:00

mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left

This commit is contained in:
Dragory 2019-04-13 03:17:09 +03:00
parent 05bf5b4f25
commit fdd9bd93c5
2 changed files with 85 additions and 30 deletions

View file

@ -81,8 +81,9 @@ logger.info("Running database migrations");
connect().then(async conn => {
await conn.runMigrations();
const client = new Client(process.env.TOKEN, {
const client = new Client(`Bot ${process.env.TOKEN}`, {
getAllUsers: true,
restMode: true,
});
client.setMaxListeners(100);