X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Ffortune.rb;h=adb6a839a656a0897387508d6792ed63792b222d;hb=8f13bfa7bb8b734f259ff492dab86ea8ada0fcfb;hp=d258e9baa22f33e6d83b1765fddd014dd778d73e;hpb=17bbbbc1dfd32f0914ca1c5472a1268df3673b27;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/fortune.rb b/data/rbot/plugins/fortune.rb index d258e9ba..adb6a839 100644 --- a/data/rbot/plugins/fortune.rb +++ b/data/rbot/plugins/fortune.rb @@ -1,5 +1,10 @@ +#-- vim:sw=2:et +#++ +# +# :title: Fortune plugin + class FortunePlugin < Plugin - BotConfig.register BotConfigStringValue.new('fortune.path', + Config.register Config::StringValue.new('fortune.path', :default => '', :desc => "Full path to the fortune executable")