-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathentari.yml
More file actions
52 lines (52 loc) · 1.07 KB
/
entari.yml
File metadata and controls
52 lines (52 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# $schema: ./entari.schema.json
# Example configuration file for Entari framework
basic:
network:
- type: websocket
host: "127.0.0.1"
port: 5140
path: "satori"
ignore_self_message: true
log:
level: "debug"
rich_error: false
external_dirs:
- example_plugins
prefix: ["", "/"]
schema: true
plugins:
$prefix:
- key: ""
plugins:
- example_plugin
- example_plugin2
- example_plugin3
- example_plugin4
- example_plugin5
- example_plugin6
- key: "example_"
plugins:
- reusable@1
- reusable@2
::auto_reload:
watch_dirs: ["."]
::echo: {}
.record_message: {}
.scheduler: {}
?example_plugin: {}
reusable@1:
input: hello
output: world!
reusable@2:
input: foo
output: bar!
example_plugin2:
$filter: >
(platform in ("onebot", "milky") and member.roles[0].id ne 'member')
or
platform eq "console"
example_plugin3:
$filter: message == "test_plugin3"
?example_plugin4: {}
?example_plugin5: {}
example_plugin6: {}