3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +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 489ad20e40
commit a034a614b7
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);