23 lines
418 B
Ruby
23 lines
418 B
Ruby
# coding: utf-8
|
|
require 'cinch'
|
|
|
|
bot = Cinch::Bot.new do
|
|
configure do |c|
|
|
c.nick = 'GoodTable'
|
|
c.server = 'irc.guava.space'
|
|
c.port = 6697
|
|
c.channels = ['#bot-test']
|
|
c.ssl.use = true
|
|
end
|
|
|
|
on :message, '(╯°□°)╯︵ ┻━┻' do |m|
|
|
m.reply '┯━┯ノ(º₋ºノ) plz be kind to table'
|
|
end
|
|
|
|
on :message, 'ಠ_ಠ' do |m|
|
|
m.reply '( ͡° ͜ʖ ͡°)'
|
|
end
|
|
end
|
|
|
|
bot.start
|