[hide]
i don't know if this will get you banned i used it for along time and didn't get banned
const names = ['Test', 'Test...1', 'Test....2', 'Test.....3', 'Cracked.to']; // names here
const token = ''; // token here
const request = require('request-promise');
const serverID = ''; // server id here
const discord = require('discord.js');
const bot = new discord.Client();
const invite = '';
let join = false;
let counter = 0;
bot.on('ready', () => {
if (join) {
request({
method: 'POST',
url: `https://discordapp.com/api/v7/invite/${invite}`,
json: false,
headers: { authorization: token }
}).catch(e => console.log(e));
}
setInterval(() => {
request({
url: `https://discordapp.com/api/v6/guilds/${serverID}/members/@me/nick`,
method: 'PATCH',
headers: { 'Content-Type': 'application/json', authorization: token },
json: { nick: names[counter++] }
}).then(() => {}).catch(e => {});
if (counter >= names.length) counter = 0;
}, 1024);
});
bot.login(token);
[/hide]