nonebot2/config.sample.py

31 lines
1.1 KiB
Python
Raw Normal View History

2016-12-02 14:24:19 +00:00
config = {
2017-01-01 15:16:34 +00:00
'fallback_command': 'natural_language.process',
2017-01-11 12:43:37 +00:00
'fallback_command_after_nl_processors': 'ai.tuling123',
2017-01-11 07:20:00 +00:00
'command_start_flags': ('/', '', '来,', '来,'), # Add '' (empty string) here to allow commands without start flags
'command_name_separators': ('->', '::', '/'), # Regex
2016-12-30 14:01:50 +00:00
'command_args_start_flags': ('', '', ',', ', ', ':', ': '), # Regex
2017-01-11 07:20:00 +00:00
'command_args_separators': ('', ','), # Regex
'message_sources': [
{
'via': 'mojo_webqq',
2017-02-15 13:21:51 +00:00
'login_id': '12345678',
'superuser_id': '23456789',
'api_url': 'http://127.0.0.1:5000/openqq',
2017-02-15 13:21:51 +00: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:42:51 +00:00
},
{
'via': 'coolq_http_api',
'login_id': '12345678',
'superuser_id': '23456789',
'api_url': 'http://192.168.0.100:5700',
'token': 'HJGiudaUYSDkn'
}
]
2016-12-02 14:24:19 +00:00
}