mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	🔖 Pre Release 2.0.0a2
This commit is contained in:
		| @@ -6,6 +6,29 @@ sidebarDepth: 0 | ||||
| # NoneBot.utils 模块 | ||||
|  | ||||
|  | ||||
| ## `escape_tag(s)` | ||||
|  | ||||
|  | ||||
| * **说明** | ||||
|  | ||||
|     用于记录带颜色日志时转义 `<tag>` 类型特殊标签 | ||||
|  | ||||
|  | ||||
|  | ||||
| * **参数** | ||||
|  | ||||
|      | ||||
|     * `s: str`: 需要转义的字符串 | ||||
|  | ||||
|  | ||||
|  | ||||
| * **返回** | ||||
|  | ||||
|      | ||||
|     * `str` | ||||
|  | ||||
|  | ||||
|  | ||||
| ## `run_sync(func)` | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user