mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-11-04 08:56:42 +00:00 
			
		
		
		
	📝 Docs: 更新最佳实践的 Alconna 部分 (#2443)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: StarHeartHunt <starheart233@gmail.com>
This commit is contained in:
		@@ -31,14 +31,7 @@ description: 配置项
 | 
			
		||||
- **类型**: `bool`
 | 
			
		||||
- **默认值**: `False`
 | 
			
		||||
 | 
			
		||||
是否全局使用原始消息 (即未经过 to_me 等处理的), 该选项会影响到 Alconna 的匹配行为。
 | 
			
		||||
 | 
			
		||||
## alconna_use_param
 | 
			
		||||
 | 
			
		||||
- **类型**: `bool`
 | 
			
		||||
- **默认值**: `True`
 | 
			
		||||
 | 
			
		||||
是否使用特制的 Param 提供更好的依赖注入,该选项不会对使用依赖注入函数形式造成影响
 | 
			
		||||
是否全局使用原始消息 (即未经过 to_me 等处理的),该选项会影响到 Alconna 的匹配行为。
 | 
			
		||||
 | 
			
		||||
## alconna_use_command_sep
 | 
			
		||||
 | 
			
		||||
@@ -52,4 +45,4 @@ description: 配置项
 | 
			
		||||
- **类型**: `List[str]`
 | 
			
		||||
- **默认值**: `[]`
 | 
			
		||||
 | 
			
		||||
全局加载的扩展, 路径以 . 分隔, 如 foo.bar.baz:DemoExtension
 | 
			
		||||
全局加载的扩展,路径以 . 分隔,如 `foo.bar.baz:DemoExtension`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user