Commit 09320729 authored by nanahira's avatar nanahira

reaanem

parent bbdcf41c
......@@ -111,3 +111,4 @@ dist
/plugin
/output
/cdb
/app-config.yaml
......@@ -14,3 +14,4 @@ tsconfig.json
/plugin
/output
/cdb
/app-config.yaml
adapter:
bots:
- protocol: 'ws'
endpoint: 'ws://127.0.0.1:6700'
selfId: '2222222222'
token: 'token'
koishiOptions:
commandPrefix: '.'
adminIds:
- '1111111111'
app:
......@@ -37,7 +37,7 @@ const defaultConfig: Config = {
async function main() {
const config: Config = {
...defaultConfig,
...yaml.parse(await fs.readFile('./config.yaml', 'utf-8')),
...yaml.parse(await fs.readFile('./app-config.yaml', 'utf-8')),
};
const app = new App({
prefix: config.commandPrefix,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment