This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require('discord.js'); | |
const config = { | |
token: ``, // your discord bot token, get it from https://discordapp.com/developers/applications/me | |
leaveIfMoreThen5: false, // would you like to leave guilds if same owner owns more then 5 of them? | |
}; | |
const client = new Discord.Client({ | |
intents: Discord.GatewayIntentBits.Guilds, | |
}); |