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:
parent
05bf5b4f25
commit
fdd9bd93c5
2 changed files with 85 additions and 30 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue