summaryrefslogtreecommitdiffstats
path: root/modules/base.py
blob: b839e9b8c03b1f497c38195d25aa107b789682ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class ModuleBase:
    def __init__(self, manager):
        self.manager = manager
    
    def commands(self):
        return []
    
    def helptexts(self):
        return []
    
    def message(self, message_type, message_from, message_subject, message_body, reply):
        pass
    
    def groupchat(self, room, nick, text, handler):
        pass
    
    def join(self, room, nick, show, status, handler):
        pass
    
    def leave(self, room, nick, show, status, handler):
        pass
    
    def topic(self, room, nick, text, handler):
        pass