mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-11-04 08:56:42 +00:00 
			
		
		
		
	📝 Docs: on_keyword 参数类型错误 (#2795)
				
					
				
			Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
This commit is contained in:
		@@ -154,7 +154,7 @@ rule = keyword("hello", "hi")
 | 
			
		||||
```python
 | 
			
		||||
from nonebot import on_keyword
 | 
			
		||||
 | 
			
		||||
matcher = on_keyword("hello", "hi")
 | 
			
		||||
matcher = on_keyword({"hello", "hi"})
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### `command`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user