The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

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

## Add or subtract karma:
<JoeUser> someone++
<JoeUser> someone--

## See highest and lowest scores (updates every 5 minutes):
!topkarma

## Superusers can clear karma:
!resetkarma foo

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>