fix: quests exceptions

This commit is contained in:
Chen, Tai-Lin committed 2024-07-03 01:10:59 +08:00
commit 2aaff0f7bc
1 file changed
+11 -22
+11 -22
View File
@@ -17,7 +17,7 @@ exceptions:
- condition: - condition:
command: command:
- echo\S - ^echo\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -25,7 +25,7 @@ exceptions:
- condition: - condition:
command: command:
- cd\S - ^cd\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -33,7 +33,7 @@ exceptions:
- condition: - condition:
command: command:
- ls\S - ^ls\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -41,7 +41,7 @@ exceptions:
- condition: - condition:
command: command:
- cat\S - ^cat\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -49,7 +49,7 @@ exceptions:
- condition: - condition:
command: command:
- touch\S - ^touch\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -58,9 +58,9 @@ exceptions:
- condition: - condition:
not: not:
command: command:
- rmdir - ^rmdir
command: command:
- rm\S - ^rm\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -68,7 +68,7 @@ exceptions:
- condition: - condition:
command: command:
- mv\S - ^mv\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -76,7 +76,7 @@ exceptions:
- condition: - condition:
command: command:
- mkdir\S - ^mkdir\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -84,7 +84,7 @@ exceptions:
- condition: - condition:
command: command:
- rmdir\S - ^rmdir\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
@@ -92,19 +92,8 @@ exceptions:
- condition: - condition:
command: command:
- cp\S - ^cp\S
responses: responses:
- type: narrative - type: narrative
content: | content: |
!! `cp` 後面要加空格 !! !! `cp` 後面要加空格 !!
- condition:
or:
- command:
- 嗨
- command:
- '[Hh][Ii]'
responses:
- type: narrative
content: |
- 'Hi~'