Skip to content

Commit

Permalink
AppVeyor IRC notification: send message with PRIVMSG
Browse files Browse the repository at this point in the history
Thanks to @CelticMinstrel for help.
  • Loading branch information
jyrkive committed Dec 1, 2016
1 parent 12c57a7 commit 8cfd128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/appveyor/irc-notify.py
Expand Up @@ -152,8 +152,8 @@ def appveyor_vars():
irc_sock.send('JOIN #{}\r\n'.format(channel).encode())
# send messages
for msg in messages:
print('NOTICE #{} :{}'.format(channel, msg))
irc_sock.send('NOTICE #{} :{}\r\n'.format(channel, msg).encode())
print('PRIVMSG #{} :{}'.format(channel, msg))
irc_sock.send('PRIVMSG #{} :{}\r\n'.format(channel, msg).encode())
time.sleep(5)
# leave the channel
irc_sock.send('PART #{}\r\n'.format(channel).encode())
Expand Down

0 comments on commit 8cfd128

Please sign in to comment.