Add new text message callback stub to mumo and modules. Add seen module to query for last time a given user was active.

This commit is contained in:
Stefan Hacker
2011-04-09 03:51:10 +02:00
parent ec4ab3da80
commit ab27fb960a
7 changed files with 123 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8
# Copyright (C) 2010 Stefan Hacker <dd0t@users.sourceforge.net>
# Copyright (C) 2010-2011 Stefan Hacker <dd0t@users.sourceforge.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -91,6 +91,10 @@ class test(MumoModule):
def userStateChanged(self, server, state, context = None):
pass
@logModFu
def userTextMessage(self, server, user, message, current=None):
pass
@logModFu
def channelCreated(self, server, state, context = None):
pass