mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-31 15:06:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			186 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			186 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from nonebot.rule import to_me
 | |
| from nonebot import CommandGroup, MatcherGroup
 | |
| 
 | |
| cmd = CommandGroup("test", rule=to_me())
 | |
| match = MatcherGroup(priority=2)
 | |
| 
 | |
| from . import commands, matches
 |