diff --git a/src/command/commands/get_members.ts b/src/command/commands/get_members.ts index 21e22fa..a5a8b72 100755 --- a/src/command/commands/get_members.ts +++ b/src/command/commands/get_members.ts @@ -3,29 +3,6 @@ import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"; import firebase from "../../wrapper/firebase.js"; import mojangAPI from "../../wrapper/mojang-api.js"; import { TUser } from "../../functions.js"; -// let message = ""; -// const cache_at = new Date(); -// try { -// (async () => { -// const data = (await firebase.get()).val(); -// for (let discord_search_point in data["members"]) { -// try { -// let discord = await client.users.fetch(data["members"][discord_search_point].discord); -// message = `${message}\`${discord.username}#${discord.discriminator}(${data["members"][discord_search_point].discord}):`; -// } catch (e) { -// message = `${message}\`Deleted User#0000(${data["members"][discord_search_point].discord}):`; -// } -// for (let minecraft_search_point in data["members"][discord_search_point].minecraft) { -// let minecraft = await mojangAPI.uuidToName(data["members"][discord_search_point].minecraft[minecraft_search_point]); -// message = `${message}${minecraft.name}(${minecraft.id}), `; -// } -// message = `${message.slice(0, -2)}\`\n`; -// } -// message.replaceAll(/_/g, "\\_"); -// })(); -// } catch { -// message = "`에러`: 캐싱중 에러 발생. `/ping`의 runner와 함께 <@945705462966411275>(kdh8219#5087)에게 문의주세요"; -// } export default { data: new SlashCommandBuilder()