mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	Update creating-a-plugin.md
This commit is contained in:
		| @@ -82,10 +82,10 @@ foo | ||||
| 示例: | ||||
|  | ||||
| ```python | ||||
| from pydantic import BaseSetting | ||||
| from pydantic import BaseSettings | ||||
|  | ||||
|  | ||||
| class Config(BaseSetting): | ||||
| class Config(BaseSettings): | ||||
|  | ||||
|     # plugin custom config | ||||
|     plugin_setting: str = "default" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user