diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/math.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/math.rb b/data/rbot/plugins/math.rb index 4a207389..09e3ed3f 100644 --- a/data/rbot/plugins/math.rb +++ b/data/rbot/plugins/math.rb @@ -22,6 +22,9 @@ class MathPlugin < Plugin "ten" => "10" }; + def name + "math" + end def help(plugin, topic="") "math <expression>, evaluate mathematical expression" end @@ -120,3 +123,4 @@ class MathPlugin < Plugin end plugin = MathPlugin.new plugin.register("math") +plugin.register("maths") |