Skip to content

Commit 2b0dbb9

Browse files
committed
Updating the robots name with the passed in nick so it responds to its name
1 parent bea8006 commit 2b0dbb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/irc.coffee

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class IrcBot extends Adapter
111111

112112
client_options['channels'] = options.rooms unless options.nickpass
113113

114+
@robot.name = options.nick
114115
bot = new Irc.Client options.server, options.nick, client_options
115116

116117
next_id = 1

0 commit comments

Comments
 (0)