mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:15:24 +08:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
config = {
|
||
'fallback_command': 'natural_language.process',
|
||
'fallback_command_after_nl_processors': 'ai.tuling123',
|
||
'command_start_flags': ('/', '/', '来,', '来,'), # Add '' (empty string) here to allow commands without start flags
|
||
'command_name_separators': ('->', '::', '/'), # Regex
|
||
'command_args_start_flags': (',', ':', ',', ', ', ':', ': '), # Regex
|
||
'command_args_separators': (',', ','), # Regex
|
||
|
||
'message_sources': [
|
||
{
|
||
'via': 'mojo_webqq',
|
||
'login_id': '12345678',
|
||
'superuser_id': '23456789',
|
||
'api_url': 'http://127.0.0.1:5000/openqq',
|
||
},
|
||
{
|
||
'via': 'mojo_weixin',
|
||
'login_id': 'your_login_id',
|
||
'superuser_id': 'your_superuser_id',
|
||
'api_url': 'http://127.0.0.1:5001/openwx',
|
||
},
|
||
{
|
||
'via': 'coolq_http_api',
|
||
'login_id': '12345678',
|
||
'superuser_id': '23456789',
|
||
'api_url': 'http://192.168.0.100:5700',
|
||
'token': 'HJGiudaUYSDkn'
|
||
}
|
||
]
|
||
}
|