public
Fork of jsn/rbot
Description: ruby irc bot
Homepage: http://ruby-rbot.org/
Clone URL: git://github.com/dokipen/rbot.git
Moritz 'moemoe' Augsburger (author)
Sat May 03 16:16:11 -0700 2008
Oblomov (committer)
Sat May 03 16:57:40 -0700 2008
rbot / launch_here.rb
100755 21 lines (16 sloc) 0.401 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/ruby
#
# Load rbot from this directory. (No need to install it with setup.rb)
#
 
SCM_DIR = File.expand_path(File.dirname('__FILE__'))
puts "Running from #{SCM_DIR}"
 
$:.unshift File.join(SCM_DIR, 'lib')
 
module Irc
class Bot
  module Config
    @@datadir = File.join SCM_DIR, 'data/rbot'
    @@coredir = File.join SCM_DIR, 'lib/rbot/core'
  end
end
end
 
load File.join(SCM_DIR, 'bin/rbot')