mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 15:06:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			776 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			776 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """
 | |
| CQHTTP (OneBot) v11 协议适配
 | |
| ============================
 | |
| 
 | |
| 协议详情请看: `CQHTTP`_ | `OneBot`_
 | |
| 
 | |
| .. _CQHTTP:
 | |
|     https://github.com/howmanybots/onebot/blob/master/README.md
 | |
| .. _OneBot:
 | |
|     https://github.com/howmanybots/onebot/blob/master/README.md
 | |
| """
 | |
| 
 | |
| from .event import *
 | |
| from .permission import *
 | |
| from .bot import Bot as Bot
 | |
| from .utils import log as log
 | |
| from .utils import escape as escape
 | |
| from .message import Message as Message
 | |
| from .utils import unescape as unescape
 | |
| from .exception import ActionFailed as ActionFailed
 | |
| from .exception import NetworkError as NetworkError
 | |
| from .message import MessageSegment as MessageSegment
 | |
| from .exception import ApiNotAvailable as ApiNotAvailable
 | |
| from .exception import CQHTTPAdapterException as CQHTTPAdapterException
 |