FridayNightFunkinBoyfriendBot/src/modules/boot.js

18 lines
593 B
JavaScript
Raw Normal View History

2024-11-22 12:49:22 -05:00
function boot (context) {
const bot = context.bot;
const config = context.config;
const options = context.options;
2024-07-07 15:44:16 -04:00
bot.on("packet.login", (data) => {
2024-09-19 11:30:06 -04:00
if (bot.options.isCreayun) return
2024-08-09 22:08:42 -04:00
if (new Date().getDay() === 5) {
bot.chat.message('Gettin\' freaky on a friday night!');
} else {
bot.chat.message('&9FNF&3Boyfriend&1Bot &fcreated by &4Parker&02991');
}
2024-11-22 12:49:22 -05:00
})
setInterval(() => {
process.stdout.write(`\x1b]2; FNFBoyfriendBot | Time: ${new Date().toLocaleString("en-US",{timeZone: "America/CHICAGO"})} | \x1b\x5c`)
}, 1000)
2024-07-07 15:44:16 -04:00
}
module.exports = boot;