lib/bot.rb
def isLink(m)
    # Check if user can link. Timeout if they can not.
    if !canLink(m)
      m.reply("/timeout #{m.user.nick} 15")
      m.reply("No links please, #{m.user.nick}. Please ask a mod before posting a link.")      
    end
  end
# Handles if a link is sent.

Handles if a link is sent.
Handles if a link is sent .
def isLink(m)
    if !canLink(m)
      m.reply("/timeout #{m.user.nick} 15")
      m.reply("No links please, #{m.user.nick}. Please ask a mod before posting a link.")      
    end
  end
def isLink ( m ) if ! canLink ( m ) m . reply ( "/timeout #{m.user.nick} 15" ) m . reply ( "No links please, #{m.user.nick}. Please ask a mod before posting a link." ) end end
Handles if a link is sent.
Handles if a link is sent .
# Check if user can link. Timeout if they can not.

m