Skip to content

Commit ad2f8f9

Browse files
authored
Add files via upload
1 parent d6f01f2 commit ad2f8f9

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

script/order_bot_program_module/setting.py

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,59 @@
33
'bot_reply':''}
44
module_data_dict = dict()
55

6+
# exit
67
try:
78
import sys
89
module_data_dict['離開']=sys.exit
910
module_data_dict['結束']=sys.exit
1011
except:
1112
pass
1213

13-
# import hello
14+
# dialogue
15+
# hello
1416
try:
1517
from dialogue_section.hello import hello
1618
module_data_dict['你好']=hello
1719
except:
1820
pass
19-
20-
# import my name
21+
# my name
2122
try:
2223
from dialogue_section.my_name import my_name
2324
module_data_dict['我是']=my_name
2425
module_data_dict['我的名字是']=my_name
2526
except:
2627
pass
27-
28+
# what eat
2829
try:
2930
from dialogue_section.what_eat import what_eat
3031
module_data_dict['吃的']=what_eat
3132
except:
3233
pass
33-
34+
# fake rate
3435
try:
3536
from dialogue_section.fake_rate import fake_rate
3637
module_data_dict['機率']=fake_rate
3738
except:
3839
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
3947

48+
# calculater
4049
# order meal
4150
try:
4251
from dialogue_section.order_meal import order_meal
4352
module_data_dict['餐']=order_meal
4453
except:
4554
pass
4655

56+
# equation
4757
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
5160
except:
52-
pass
61+
pass

0 commit comments

Comments
 (0)