I usually make a call to
With the oAuth in the header to confirm the User ID and Username.
Just in case I changed the Username of the bot, so I can join the right channels.
Works a little better than trying to connect to IRC and getting the Invalid Password response