Skip to content

Commit

Permalink
🚚 Rename example to analecta
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuroXina committed Sep 27, 2020
1 parent e453ff9 commit fd45463
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| 環境変数 | 説明 | デフォルト値 |
| -- | -- | -- |
| DISCORD_TOKEN | Discord の Bot のトークン | なし |
| TOML_PATH | セリフを登録した TOML ファイルのパス | `./example/laffey.toml` |
| TOML_PATH | セリフを登録した TOML ファイルのパス | `./analecta/laffey.toml` |
| NOTIFY_INTERVAL | 最新の通知データを取得するミリ秒間隔 | `10000` |


Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion exe/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/skin/test-analecta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { TomlLoader } from "./toml-loader";
import { Analecta } from "../exp/analecta";

export async function analectaForTest(): Promise<Analecta> {
const loader = new TomlLoader("./example/laffey.toml");
const loader = new TomlLoader("./analecta/laffey.toml");
const analecta = await loader.load();
return analecta;
}

0 comments on commit fd45463

Please sign in to comment.