Correct some typos in command system comments
This commit is contained in:
		
							parent
							
								
									f1ee561b9b
								
							
						
					
					
						commit
						ceb7772b5b
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -15,7 +15,7 @@ | |||
| 
 | ||||
| """ | ||||
| Provides a tiny framework with simple, yet powerful and extensible | ||||
| architecture to implement commands in a streight and flexible, | ||||
| architecture to implement commands in a straight and flexible, | ||||
| declarative way. | ||||
| """ | ||||
| 
 | ||||
|  | @ -67,7 +67,7 @@ class CommandProcessor(object): | |||
|     """ | ||||
| 
 | ||||
|     # This defines a command prefix (or an initializer), which should | ||||
|     # preceede a a text in order it to be processed as a command. | ||||
|     # precede a text in order for it to be processed as a command. | ||||
|     COMMAND_PREFIX = '/' | ||||
| 
 | ||||
|     def process_as_command(self, text): | ||||
|  |  | |||
|  | @ -75,7 +75,7 @@ class ChatCommandProcessor(CommandProcessor): | |||
|             self.command_succeeded = True | ||||
| 
 | ||||
|     def looks_like_command(self, text, body, name, arguments): | ||||
|         # Command escape stuff ggoes here. If text was prepended by the | ||||
|         # Command escape stuff goes here. If text was prepended by the | ||||
|         # command prefix twice, like //not_a_command (if prefix is set | ||||
|         # to /) then it will be escaped, that is sent just as a regular | ||||
|         # message with one (only one) prefix removed, so message will be | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue