irc-bots/table_bot/put_table_back.rb

23 lines
418 B
Ruby
Raw Permalink Normal View History

2017-12-14 22:47:33 +00:00
# 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