From 1e3049bacc4f01583b930942e4dea9ef6c5c6216 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Mon, 1 Jun 2015 18:26:52 +0200 Subject: [PATCH] [TASK] Add bot modes. --- fdskun.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdskun.py b/fdskun.py index 2c7abbd..4fd430a 100644 --- a/fdskun.py +++ b/fdskun.py @@ -26,6 +26,8 @@ class MonitorBot(irc.IRCClient): # callbacks for events def signedOn(self): """Called when bot has succesfully signed on to server.""" + self.mode(self.nickname, False, 'x') + self.mode(self.nickname, True, 'B') self.join(self.factory.channel) def joined(self, channel):