From 81687c94025785d94113038902302c2fa51edd88 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 11 Feb 2017 17:50:59 -0300 Subject: [PATCH] removed obsolete \prune command --- transWhat/bot.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/transWhat/bot.py b/transWhat/bot.py index a55b7fc..f60a911 100644 --- a/transWhat/bot.py +++ b/transWhat/bot.py @@ -39,7 +39,6 @@ class Bot(): self.commands = { "help": self._help, - "prune": self._prune, "groups": self._groups, "getgroups": self._getgroups } @@ -76,7 +75,6 @@ class Bot(): def _help(self): self.send("""following bot commands are available: \\help show this message -\\prune clear your buddylist following user commands are available: \\lastseen request last online timestamp from buddy @@ -86,11 +84,6 @@ following group commands are available \\groups print all attended groups \\getgroups get current groups from WA""") - def _prune(self): - self.session.buddies.prune() - self.session.updateRoster() - self.send("buddy list cleared") - def _groups(self): for group in self.session.groups: buddy = self.session.groups[group].owner