remove unremoved trash comment

This commit is contained in:
kdh8219 2023-04-28 22:45:43 +09:00
parent dc8f7e1fcf
commit 23d95c4d86

View file

@ -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()