2016-12-02 22:24:19 +08:00
|
|
|
|
config = {
|
2017-01-01 23:16:34 +08:00
|
|
|
|
'fallback_command': 'natural_language.process',
|
2017-01-11 20:43:37 +08:00
|
|
|
|
'fallback_command_after_nl_processors': 'ai.tuling123',
|
2017-01-11 15:20:00 +08:00
|
|
|
|
'command_start_flags': ('/', '/', '来,', '来,'), # Add '' (empty string) here to allow commands without start flags
|
|
|
|
|
'command_name_separators': ('->', '::', '/'), # Regex
|
2016-12-30 22:01:50 +08:00
|
|
|
|
'command_args_start_flags': (',', ':', ',', ', ', ':', ': '), # Regex
|
2017-01-11 15:20:00 +08:00
|
|
|
|
'command_args_separators': (',', ','), # Regex
|
2017-02-15 15:52:18 +08:00
|
|
|
|
|
|
|
|
|
'message_sources': [
|
|
|
|
|
{
|
|
|
|
|
'via': 'mojo_webqq',
|
2017-02-15 21:21:51 +08:00
|
|
|
|
'login_id': '12345678',
|
|
|
|
|
'superuser_id': '23456789',
|
2017-02-15 15:52:18 +08:00
|
|
|
|
'api_url': 'http://127.0.0.1:5000/openqq',
|
2017-02-15 21:21:51 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'via': 'mojo_weixin',
|
|
|
|
|
'login_id': 'your_login_id',
|
|
|
|
|
'superuser_id': 'your_superuser_id',
|
|
|
|
|
'api_url': 'http://127.0.0.1:5001/openwx',
|
2017-02-15 15:52:18 +08:00
|
|
|
|
}
|
|
|
|
|
]
|
2016-12-02 22:24:19 +08:00
|
|
|
|
}
|