This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'tempfile' | |
require 'mime/types' | |
require 'cgi' | |
require 'ntlm/http' | |
module RestClient | |
# This class is used internally by RestClient to send the request, but you can also | |
# call it directly if you'd like to use a method not supported by the | |
# main API. For example: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Setting up the actual bot | |
require 'cinch' | |
require_relative 'monitore' | |
#create bot for IRC monitoring | |
bot = Cinch::Bot.new do | |
configure do |c| | |
c.server = "localhost" | |
c.channels = ["#cinch-bots"] |
NewerOlder