mirror of
				https://github.com/Mibew/mibew_slack.git
				synced 2025-10-26 00:06:53 +03:00 
			
		
		
		
	Changed message to localization
This commit is contained in:
		
							parent
							
								
									a2bd15b746
								
							
						
					
					
						commit
						6333bb9cd6
					
				| @ -55,7 +55,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi | ||||
|         $client = new Client($this->config['slack_url'], $settings); | ||||
| 
 | ||||
| 
 | ||||
|         $client->send(date('Y-m-d H:i:s') . ' - You have a new user waiting for a response. Username: ' . $args['thread']->userName); | ||||
|         $client->send($this->config['message']); | ||||
| 
 | ||||
| 		return true; | ||||
|     } | ||||
|  | ||||
| @ -23,9 +23,10 @@ Provides Slack notifications when initiate a chat | ||||
|     ```yaml | ||||
|     plugins: | ||||
|         "Mibew:Slack": # Plugin's configurations are described below | ||||
|             username: "Username you will post as" | ||||
|             channel: "Channel to post in" | ||||
|             slack_url: "Webhook URL from Setup Instructions in Slack" | ||||
|             username: 	"Username you will post as" | ||||
|             channel: 	"Channel to post in" | ||||
|             slack_url: 	"Webhook URL from Setup Instructions in Slack" | ||||
| 			message:	"You have a new visitor!" | ||||
| 
 | ||||
|     ``` | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user