Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 320 Bytes
# Description:
# Say hello to users as they join.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# None
#
# Author:
# mloberg
module.exports = (robot) ->
robot.connection.addListener 'join', (channel, nick, message) ->
robot.say channel, "Welcome #{nick}." if nick isnt robot.name