Update 1.0.0

This commit is contained in:
Noah Pombas
2024-04-21 19:07:51 +02:00
parent a58330ec0a
commit 584afd0fe6
9 changed files with 296 additions and 3 deletions

32
events/client/ready.js Normal file
View File

@@ -0,0 +1,32 @@
const client = require("../../index");
const { ActivityType } = require('discord.js')
const chalk = require("chalk");
const { joinVoiceChannel } = require("@discordjs/voice");
const Discord = require('discord.js')
module.exports = {
name: 'ready',
once: true,
/**
* @param {Client} client
*/
async execute(client) {
let status = [
`by info@noahpombas.ch`,
`Spoiler: novo Servidor de Minecraft brevemente`
],
i = 0
setInterval(() => {
client.user.setActivity(`${status[i++ % status.length]}`, {
type: ActivityType.Streaming
})
}, 5000);
console.log(chalk.blueBright(`[READY] Bot Online!`));
}
}