const Discord = require('discord.js');
const client = new Discord.Client();
const generator = require('generate-password');
client.on('ready', () => {
var i = 0;
while (i<1000) { //Number of messages
var password = generator.generate({
length: 16,
numbers: true
});
client.channels.get('Id').send("https://discord.gift/" + password); //Channel ID
i++;
}
});
client.login('token'); //Bot Token
hamodykkk / discord-gift-generator Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hiteke/discord-gift-generator
Super cool generator :D
Home Page: https://hiteke.github.io
License: GNU General Public License v3.0