FridayNightFunkinBoyfriendBot/commands/reconnect.js
2024-02-20 16:58:22 +00:00

19 lines
No EOL
416 B
JavaScript

const randomstring = require('randomstring')
module.exports = {
name: 'reconnect',
hashOnly: true,
execute (context) {
const source = context.source
const bot = context.bot
const randomstring = require('randomstring')
context.source.sendFeedback({ text: `Reconnecting to ${bot.options.host}:${bot.options.port}`, color: 'dark_green'})
bot.chat(randomstring.generate(300))
}
}
//red sus