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 };
