Fetching contributors…
Cannot retrieve contributors at this time
23 lines (14 sloc) 484 Bytes
from ..base import BasePlugin
from ..decorators import listens_to_all
class Plugin(BasePlugin):
Notifies people of the excellent work they are doing.
Let me know who is doing good work:
!m {{ nick }}
And I will promptly notify them:
You are doing good work {{ nick }}
@listens_to_all(ur'^\!m (?P<nick>.+?)$')
def motivate(self, line, nick):
return u"You're doing good work, {}!".format(nick)