samstarling/gradbot

View on GitHub
plugins/thegrads.rb

Summary

Maintainability
A
0 mins
Test Coverage
class TheGrads
  include Cinch::Plugin

  listen_to :join

  def listen(m)
    if m.user.nick == bot.nick
      m.channel.topic = "The Grads"
      m.channel.mode "-t"
    end
  end
end