Consistently use Botserver instead of botserver or bot server.
This commit is contained in:
		
							parent
							
								
									762118bbea
								
							
						
					
					
						commit
						64a1306e39
					
				
					 4 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,7 @@ def parse_args() -> argparse.Namespace:
 | 
			
		|||
        '--config-file',
 | 
			
		||||
        action='store',
 | 
			
		||||
        required=True,
 | 
			
		||||
        help='Config file for the zulip bot server (botserverrc)'
 | 
			
		||||
        help='Config file for the zulip Botserver (botserverrc)'
 | 
			
		||||
    )
 | 
			
		||||
    parser.add_argument(
 | 
			
		||||
        '--bot-config-file',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -109,7 +109,7 @@ def handle_bot() -> Union[str, BadRequest]:
 | 
			
		|||
            bot = bot_name
 | 
			
		||||
            break
 | 
			
		||||
    else:
 | 
			
		||||
        return BadRequest("Cannot find a bot with email {} in the bot server "
 | 
			
		||||
        return BadRequest("Cannot find a bot with email {} in the Botserver "
 | 
			
		||||
                          "configuration file. Do the emails in your botserverrc "
 | 
			
		||||
                          "match the bot emails on the server?".format(event['bot_email']))
 | 
			
		||||
    lib_module = app.config.get("BOTS_LIB_MODULES", {})[bot]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue