From fd45463bd8adbd8c970dcaa7ad526d7138da4738 Mon Sep 17 00:00:00 2001 From: MikuroXina Date: Sun, 27 Sep 2020 13:52:59 +0900 Subject: [PATCH] :truck: Rename example to analecta --- README.md | 2 +- {example => analecta}/hibiki.toml | 0 {example => analecta}/laffey.toml | 0 exe/bot.ts | 2 +- src/skin/test-analecta.ts | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename {example => analecta}/hibiki.toml (100%) rename {example => analecta}/laffey.toml (100%) diff --git a/README.md b/README.md index 921c51a..0365208 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ | 環境変数 | 説明 | デフォルト値 | | -- | -- | -- | | DISCORD_TOKEN | Discord の Bot のトークン | なし | -| TOML_PATH | セリフを登録した TOML ファイルのパス | `./example/laffey.toml` | +| TOML_PATH | セリフを登録した TOML ファイルのパス | `./analecta/laffey.toml` | | NOTIFY_INTERVAL | 最新の通知データを取得するミリ秒間隔 | `10000` | diff --git a/example/hibiki.toml b/analecta/hibiki.toml similarity index 100% rename from example/hibiki.toml rename to analecta/hibiki.toml diff --git a/example/laffey.toml b/analecta/laffey.toml similarity index 100% rename from example/laffey.toml rename to analecta/laffey.toml diff --git a/exe/bot.ts b/exe/bot.ts index 0c1c9ca..73c8370 100644 --- a/exe/bot.ts +++ b/exe/bot.ts @@ -31,7 +31,7 @@ const messageHandler = ( (async () => { const loader = new TomlLoader( - process.env.TOML_PATH || "./example/laffey.toml" + process.env.TOML_PATH || "./analecta/laffey.toml" ); const db = await PlainDB.make( process.env.DB_CACHE_PATH || "./.cache/users.json" diff --git a/src/skin/test-analecta.ts b/src/skin/test-analecta.ts index 3e7aefb..4dd72a7 100644 --- a/src/skin/test-analecta.ts +++ b/src/skin/test-analecta.ts @@ -2,7 +2,7 @@ import { TomlLoader } from "./toml-loader"; import { Analecta } from "../exp/analecta"; export async function analectaForTest(): Promise { - const loader = new TomlLoader("./example/laffey.toml"); + const loader = new TomlLoader("./analecta/laffey.toml"); const analecta = await loader.load(); return analecta; }