File tree Expand file tree Collapse file tree 1 file changed +18
-9
lines changed
script/order_bot_program_module Expand file tree Collapse file tree 1 file changed +18
-9
lines changed Original file line number Diff line number Diff line change 3
3
'bot_reply' :'' }
4
4
module_data_dict = dict ()
5
5
6
+ # exit
6
7
try :
7
8
import sys
8
9
module_data_dict ['離開' ]= sys .exit
9
10
module_data_dict ['結束' ]= sys .exit
10
11
except :
11
12
pass
12
13
13
- # import hello
14
+ # dialogue
15
+ # hello
14
16
try :
15
17
from dialogue_section .hello import hello
16
18
module_data_dict ['你好' ]= hello
17
19
except :
18
20
pass
19
-
20
- # import my name
21
+ # my name
21
22
try :
22
23
from dialogue_section .my_name import my_name
23
24
module_data_dict ['我是' ]= my_name
24
25
module_data_dict ['我的名字是' ]= my_name
25
26
except :
26
27
pass
27
-
28
+ # what eat
28
29
try :
29
30
from dialogue_section .what_eat import what_eat
30
31
module_data_dict ['吃的' ]= what_eat
31
32
except :
32
33
pass
33
-
34
+ # fake rate
34
35
try :
35
36
from dialogue_section .fake_rate import fake_rate
36
37
module_data_dict ['機率' ]= fake_rate
37
38
except :
38
39
pass
40
+ # what time
41
+ try :
42
+ from dialogue_section .what_time import what_time
43
+ module_data_dict ['幾點' ]= what_time
44
+ module_data_dict ['時間' ]= what_time
45
+ except :
46
+ pass
39
47
48
+ # calculater
40
49
# order meal
41
50
try :
42
51
from dialogue_section .order_meal import order_meal
43
52
module_data_dict ['餐' ]= order_meal
44
53
except :
45
54
pass
46
55
56
+ # equation
47
57
try :
48
- from dialogue_section .what_time import what_time
49
- module_data_dict ['幾點' ]= what_time
50
- module_data_dict ['時間' ]= what_time
58
+ from dialogue_section .equation import equation
59
+ module_data_dict ['方' ]= equation
51
60
except :
52
- pass
61
+ pass
You can’t perform that action at this time.
0 commit comments