# Command processing: whenever something is said that the bot can hear,
# "command" is invoked and must decide what to do. This configuration
# defines a couple of special cases (for karma) but is otherwise driven
# Command processing: whenever something is said that the bot can hear,
# "command" is invoked and must decide what to do. This configuration
# defines a couple of special cases (for karma) but is otherwise driven
# disconnect and hop annoy people
# "disconnect": c.disconnq,
# "hop": c.disconnq }
# disconnect and hop annoy people
# "disconnect": c.disconnq,
# "hop": c.disconnq }
# eg !trout, ~trout etc.
def command(bot, cmd, nick, conn, public):
# eg !trout, ~trout etc.
def command(bot, cmd, nick, conn, public):
- global urldb,lastexp,expirelen,expirevery
+ global urldb,lastexp,expirelen,expirevery,twitapi
c.dourl(bot,conn,nick,cmd,urldb)
c.dourl(bot,conn,nick,cmd,urldb)