mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-30 17:50:03 +00:00
Make command dispatching process clearer
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
config = {
|
||||
'fallback_command': 'natural_language.process',
|
||||
'command_start_flags': ('/', '/', '来,', '来,'),
|
||||
'fallback_command_after_nl_processors': 'core.tuling123',
|
||||
'command_start_flags': ('/', '/', '来,', '来,'), # add '' (empty string) here to allow commands without start flags
|
||||
'command_name_separators': ('\.', '->', '::', '/'), # Regex
|
||||
'command_args_start_flags': (',', ':', ',', ', ', ':', ': '), # Regex
|
||||
}
|
||||
|
Reference in New Issue
Block a user