This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
curunir/modules/base.py
2010-05-02 23:40:21 +02:00

24 lines
567 B
Python

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