mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 06:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			335 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			335 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from typing import Iterable
 | |
| 
 | |
| try:
 | |
|     import pkg_resources
 | |
|     pkg_resources.declare_namespace(__name__)
 | |
|     del pkg_resources
 | |
| except ImportError:
 | |
|     import pkgutil
 | |
|     __path__: Iterable[str] = pkgutil.extend_path(__path__, __name__)
 | |
|     del pkgutil
 | |
| except Exception:
 | |
|     pass
 | |
| 
 | |
| from ._base import Bot, Event, Message, MessageSegment
 |