Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const { Client } = require('discord.js');
const client = new Client();
const token = 'dein user token hier: https://discordhelp.net/discord-token';
client.on('ready', () => {
console.log("Servers:")
client.guilds.forEach((guild) => {
console.log(" - " + guild.name)
})
});
client.login(token);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.