1.5 KiB
1.5 KiB
Main Configuration File
authorization
::: warning Experimental
There may be a Bug in this function (the token configuration item is not found in the author's test environment). if there is a BUG, please submit feedback to the author through Github Issues or Gitea ticket
:::
enable
should use authorization?
- type:
boolean
- value:
true
false
- example:
enable: false
token
The token used on the authorization
- type:
string
- can be empty when not using authorization
- example:
token: ""
fallback
command
when command executing have errors sends message
- type:
string
- example:
command: Invalid command!
errorUncaught
Message sent when instruction execution fails
- type:
string
- example:
errorUncaught: Error while command is running!
friend
autoAccept
Whether to automatically apply through friends
- type:
boolean
- values:
true
false
- example:
autoAccept: true
group
autoAccept
Automatically through group invitation
- type:
boolean
- values:
true
false
- example:
autoAccept: true
websocket
ws connection address
- type:
string
- example:
websocket: ws://127.0.0.1:3001