improve quest exceptions

This commit is contained in:
Chen, Tai-Lin committed 2023-11-26 23:12:36 +08:00
1 parent d64a4ae81d
commit a22b898c0c
1 file changed
+19 -2
+19 -2
View File
@@ -52,11 +52,11 @@ exceptions:
- condition:
command:
- ^[Ii]s$
- ^[Ii1]s$
responses:
- type: narrative
content:
- '!! `ls` 的首字母是小寫的 `L`,不是 `I` !!'
- '!! `ls` 的首字母是小寫的 `L` !!'
- condition:
command:
@@ -65,3 +65,20 @@ exceptions:
- type: narrative
content:
- '嗨~'
# 需改進
- condition:
command:
- folderl
responses:
- type: narrative
content:
- '`folder1` 的 `1` 是數字 `1`,不是小寫的 `L` !!'
- condition:
command:
- filel
responses:
- type: narrative
content:
- '`file1` 的 `1` 是數字 `1`,不是小寫的 `L` !!'