adding code for IRC bot