From 701e9a41a505d4321816b9d0ed14b86826836161 Mon Sep 17 00:00:00 2001 From: Derek McDaniel Date: Mon, 27 Feb 2017 14:27:28 -0500 Subject: [PATCH] Uses Mibew localization now instead. closes #11; --- Plugin.php | 2 +- README.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugin.php b/Plugin.php index 7caf0d4..877c998 100644 --- a/Plugin.php +++ b/Plugin.php @@ -55,7 +55,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi $client = new Client($this->config['slack_url'], $settings); - $client->send($this->config['message']); + $client->send(getlocal('You have a new message waiting for you!')); return true; } diff --git a/README.md b/README.md index 19482d3..d95adc2 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Provides Slack notifications when initiate a chat 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!" ```