From c9f331245f7ba6a2120247ef3bdc654fd0d0624f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 14 Aug 2020 01:13:36 +0200 Subject: plugins/remove_get_trackers: add deprecation notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/remove_get_trackers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/remove_get_trackers.py b/plugins/remove_get_trackers.py index 423e9b4e..db1e87f3 100644 --- a/plugins/remove_get_trackers.py +++ b/plugins/remove_get_trackers.py @@ -6,6 +6,8 @@ import re class Plugin(BasePlugin): def init(self): + self.api.information('This plugin is deprecated and will be replaced by \'untrackme\'.', 'Warning') + self.api.add_event_handler('muc_say', self.remove_get_trackers) self.api.add_event_handler('conversation_say', self.remove_get_trackers) self.api.add_event_handler('private_say', self.remove_get_trackers) -- cgit v1.2.3