Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'cinch'
- bot = Cinch::Bot.new do
- configure do |c|
- c.server = "irc.malkier.net"
- c.channels = ["#malkier"]
- end
- on :message, "hello" do |m|
- m.reply "Hello, #{m.user.nick}"
- end
- end
- bot.start
Add Comment
Please, Sign In to add comment