diff --git a/main.ts b/main.ts index 3ff7d90..964ca25 100644 --- a/main.ts +++ b/main.ts @@ -55,4 +55,8 @@ import { styleText } from "util"; // 起動表示 console.log("BOTサーバーが起動しました"); -console.log(styleText(["bgRed", "cyan", "bold"], "デバッグモードで起動中")); + +import config from "./config.js"; +if (config.debug !== undefined) { + console.log(styleText(["bgRed", "cyan", "bold"], "デバッグモードで起動中")); +} diff --git a/package.json b/package.json index b275000..342de6c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "notice-uwuzu", - "version": "v8.1.1@uwuzu1.6.1", - "tag": "v8.1.1", + "version": "v8.1.2@uwuzu1.6.1", + "tag": "v8.1.2", "description": "Notice Bot for uwuzu", "main": "dist/main.js", "scripts": {