Jon Portnoy > Bot-Cobalt-0.016002 > Bot::Cobalt::Plugin::Extras::Karma

Download:
Bot-Cobalt-0.016002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.016002   Source  

NAME ^

Bot::Cobalt::Plugin::Extras::Karma - Simple karma bot plugin

SYNOPSIS ^

  ## Retrieve karma:
  !karma
  !karma <word>

  ## Add or subtract karma:
  <JoeUser> someone++
  <JoeUser> someone--
  
  ## Superusers can clear karma:
  <JoeUser> !resetkarma someone

DESCRIPTION ^

A simple 'karma bot' plugin for Cobalt.

Uses Bot::Cobalt::DB for storage, saving to karma.db in the instance's var/ directory.

If an Opts->LevelRequired directive is specified via plugins.conf, the specified level will be permitted to clear karmadb entries. Defaults to superusers (level 9999).

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

syntax highlighting: