clarify plugins
This commit is contained in:
		
							parent
							
								
									7e66457968
								
							
						
					
					
						commit
						6904595052
					
				@ -51,7 +51,7 @@ Keyword arguments currently passed to the plugin:
 | 
			
		||||
* `nick`: the user who triggered the command
 | 
			
		||||
* `arg`: all the trailing text after the command. This is what you will use to get optional information for the command
 | 
			
		||||
 | 
			
		||||
The plugin function **must** return one of the following:
 | 
			
		||||
The plugin function **must** return one of the following in order to give a response to the command:
 | 
			
		||||
* `pinhook.plugin.message`: basic message in channel where command was triggered
 | 
			
		||||
* `pinhook.plugin.action`: CTCP action in the channel where command was triggered (basically like using `/me does a thing`)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user