Initial Commit

This commit is contained in:
Shinuwa 2026-06-28 22:44:04 +02:00
commit 6d2e379a0c
41 changed files with 5064 additions and 0 deletions

26
src/events/ready.js Normal file
View file

@ -0,0 +1,26 @@
import { Events } from "discord.js";
import { config } from "../config.js";
import { showGameServers } from "../features/showGameServers.js";
import { sendMessage } from "../features/sendMessage.js";
import { isConnectedToVoiceChannel } from "../features/utilities.js";
const event = {
name: Events.ClientReady,
once: true,
execute(client) {
console.log(
`[${new Date().toLocaleString()}] Logged in as ${client.user.tag}`
);
showGameServers(
client,
config.textChannelId,
config.gameServersMessageId,
config.shinuwaUserId
);
//sendMessage(client, 'jukebox')
},
};
export { event };