diff options
Diffstat (limited to 'rbot.rb')
-rwxr-xr-x | rbot.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,6 +49,10 @@ opts.each {|opt, arg| botclass = ARGV.shift botclass = "rbotconf" unless(botclass); +unless FileTest.directory? botclass + # TODO copy in samples/templates from install directory +end + if(bot = Irc::IrcBot.new(botclass)) if($opts["help"]) puts bot.help($opts["help"]) |