class CalPlugin < Plugin
Config.register Config::StringValue.new('cal.path',
- :default => '/usr/bin/cal',
+ :default => 'cal',
:desc => _('Path to the cal program'))
def help(plugin, topic="")
"cal [month year] => show current calendar [optionally specify month and year]"
end
-
+
def cal_path
@bot.config["cal.path"]
end