Canned Responses
This is a Rocket.Chat App which is designed to add Canned Responses via the /can slash command. The app requires a helper which can be installed on a standard LAMP or LEMP stack with SQLite3 or MySQL/MariaDB support.
Installation
First, install the helper under the web-api folder on your server.
- Configure the options at the top of the 
index.phpto fit your needs. - Upload to your LAMP/LEMP service provider, it can be under a sub directory if needed or a sub domain/primary domain.
 - Visit the URL under which the helper app resides.
 - Create your first user account which will become your administrator account.
 - Start adding canned responses.
 
Next, you will need to add the Canned Responses app to your Rocket.Chat instance.
- Under Rocket.Chat administration, go to General -> Apps and enable development mode to allow apps to be installed which are not in the market place.
 - Follow instructions at https://rocket.chat/docs/developer-guides/developing-apps/getting-started/ to install the apps-cli.
 - Change directory to the Canned Responses directory and install needed modules.
 
npm install
- Deploy the app to your Rocket.Chat instance.
 
rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD"
If you are modifying the code, you can run the following to update the App after you have installed it.
rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD" --update
- In the Rocket.Chat administration, go the Apps -> Canned Responses and enable/set the API URL to your helper's URL with 
/api/added to the end. 
Description
				
					Languages
				
				
								
								
									PHP
								
								69.3%
							
						
							
								
								
									TypeScript
								
								16.6%
							
						
							
								
								
									JavaScript
								
								14.1%