Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- require 'rubygems'
- require 'cinch'
- bot = Cinch.setup
- bot.options.server = 'irc.freenode.org'
- bot.options.nick = 'cardroid'
- bot.options.channels = %w[#namaste_bitches]
- p bot.options
- bot.run
- ## output:
- ## #<OpenStruct prefix="!", nick_suffix="_", realname="Cinch IRC Bot Building Framework", username="cinch", ssl=false, usermode=0, server="irc.freenode.org", password=nil, nick="cardroid", channels=["#namaste_bitches"], port=6667>
- ## gets on IRC, does not join channel
Add Comment
Please, Sign In to add comment