25.12.0-alpha.0
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { ueuse } from "src/types/types.js";
|
||||
import { readFileSync } from "fs";
|
||||
import { Reply } from "./main.js";
|
||||
import config from "../../config.js";
|
||||
import { ueuse } from "@/types/types";
|
||||
import config from "../../../config";
|
||||
|
||||
export default async function Info(data: ueuse) {
|
||||
const packageJson = JSON.parse(readFileSync("package.json", "utf-8"));
|
||||
const packageJson = JSON.parse((await import("fs")).readFileSync("package.json", "utf-8"));
|
||||
const releaseUrl = `${packageJson.repository.url}/releases/tag/${packageJson.tag}`;
|
||||
|
||||
let editor = "";
|
||||
@@ -29,7 +27,7 @@ export default async function Info(data: ueuse) {
|
||||
isReport = "無効";
|
||||
}
|
||||
|
||||
const ueuse = await Reply(`
|
||||
const ueuse = await (await import("@/scripts/commands/main")).Reply(`
|
||||
【BOTについて】
|
||||
このBOTはオープンソースソフトウェアであるnoticeUwuzuを利用して運営されています。
|
||||
noticeUwuzuはApache License 2.0によって保護されています。
|
||||
|
||||
Reference in New Issue
Block a user