daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Dec 11th, 2017 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. require 'cinch'
  2.  
  3. bot = Cinch::Bot.new do
  4.   configure do |c|
  5.     c.server = "irc.malkier.net"
  6.     c.channels = ["#malkier"]
  7.   end
  8.  
  9.   on :message, "hello" do |m|
  10.     m.reply "Hello, #{m.user.nick}"
  11.   end
  12. end
  13.  
  14. bot.start
RAW Paste Data
Top