Skip to content

Instantly share code, notes, and snippets.

View Digital39999's full-sized avatar
💥
What's happening!?

Digital Digital39999

💥
What's happening!?
View GitHub Profile
@Digital39999
Digital39999 / Discord Inorganic Growth Checker.js
Created August 22, 2022 17:14
This code checks which users own multiple servers which are causing inorganic growth issue.
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,
});