Convos::Plugin::Bot::Action::Calc - Compute mathematical expressions

  1. SYNOPSIS
    1. Prerequisites
    2. Commands
    3. Config file
  2. DESCRIPTION
  3. ATTRIBUTES
    1. description
    2. usage
  4. METHODS
    1. register
    2. reply
  5. SEE ALSO

SYNOPSIS

Prerequisites

You need to install Math::Calc::Parser to use this action:

./script/convos cpanm -n Math::Calc::Parser

Commands

Config file

---
actions:
- class: Convos::Plugin::Bot::Action::Calc

DESCRIPTION

Convos::Plugin::Bot::Action::Core allows Convos::Plugin::Bot to compute math expressions.

ATTRIBUTES

description

See "description" in Convos::Plugin::Bot::Action.

usage

See "usage" in Convos::Plugin::Bot::Action.

METHODS

register

Loads Math::Calc::Parser.

reply

Can reply to one of the "Commands".

SEE ALSO

Convos::Plugin::Bot.