aboutsummaryrefslogtreecommitdiff
path: root/example.rb
blob: fe2b0efa5f185b2ef189249498e19bdc66b6fa1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env ruby

require_relative 'dinobot'

bot = Dinobot::Bot.new('irc.example.org', 6667, 'dinobot') do
  join '#dinobot'

  load_module :test
end

loop do
  bot.run
end