Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
koishi-wrapper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
koishi-wrapper
Commits
09320729
Commit
09320729
authored
Nov 15, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reaanem
parent
bbdcf41c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
.gitignore
.gitignore
+1
-0
.npmignore
.npmignore
+1
-0
app-config.yaml
app-config.yaml
+11
-0
index.ts
index.ts
+1
-1
No files found.
.gitignore
View file @
09320729
...
...
@@ -111,3 +111,4 @@ dist
/plugin
/output
/cdb
/app-config.yaml
.npmignore
View file @
09320729
...
...
@@ -14,3 +14,4 @@ tsconfig.json
/plugin
/output
/cdb
/app-config.yaml
app-config.yaml
0 → 100644
View file @
09320729
adapter
:
bots
:
-
protocol
:
'
ws'
endpoint
:
'
ws://127.0.0.1:6700'
selfId
:
'
2222222222'
token
:
'
token'
koishiOptions
:
commandPrefix
:
'
.'
adminIds
:
-
'
1111111111'
app
:
index.ts
View file @
09320729
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment