1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

idlebot: implement 'hangup'

This commit is contained in:
urlbot
2015-06-20 15:13:12 +02:00
parent 0b63a09077
commit 08df294e87
2 changed files with 29 additions and 1 deletions

View File

@@ -285,6 +285,10 @@ class bot(ClientXMPP):
print('msg from %s: %s' % (msg_obj['from'].bare, msg_obj))
# def set_presence(self, msg):
# for room in self.rooms:
# self.send_presence(pto=room, pstatus=msg)
if '__main__' == __name__:
import plugins