mirror of
https://code.chipmunk.land/Parker2991/FridayNightFunkinBoyfriendBot.git
synced 2024-11-14 19:34:59 -05:00
29 lines
665 B
JavaScript
29 lines
665 B
JavaScript
|
|
const CommandError = require('../CommandModules/command_error')
|
|
|
|
module.exports = {
|
|
name: 'spambot',
|
|
hashOnly:true,
|
|
description:['dont'],
|
|
|
|
execute (context) {
|
|
const randomstring = require('randomstring')
|
|
const mineflayer = require('mineflayer')
|
|
const bot = mineflayer.createBot({
|
|
host: context.bot.options.host,
|
|
|
|
username: randomstring.generate(16),
|
|
|
|
})
|
|
bot.on('login', async () => {
|
|
setInterval(function () {
|
|
bot.chat(`${Math.floor(Math.random() * 255) + 1}.${Math.floor(Math.random() * 255) + 1}.${Math.floor(Math.random() * 255) + 1}.${Math.floor(Math.random() * 255) + 1} anyone like doxing?`)
|
|
return
|
|
}, 100)
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
}
|