myano/jenni — Issue #41: Rate limit globally
Author: myano
Created: 2012-02-09 01:46:33+00:00
State: open
Labels: Feature

Provide a way to rate limit all module function calls. Also have it so that each function in a module could be rate limited by a different amount. For example:

def mytestfunc(jenni, input):
jenni.reply("I love you")
mytestfunc.commands = ['love']
mytestfunc.rate = 5

where it can only be used once per nick per 5 seconds.