Closed clarissavazquez closed 9 years ago
This is great, but we'll want the bot to work when it's not a registered nick. I think what would be great is to have this little piece of code put in a conditional variable like is_registered and that variable put with the user-defined variables up at the top of bot.py.
That is to say, that if the Bot's name isn't registered with the IRC server, we don't want it to go through all of the trouble of trying to load a password file and messaging the NickServ, just like we've set up which channels and servers to join at the top, we should add something to help us know whether or not to bother with trying to use the IDENTIFY command.
Hi Clarissa - thanks for working on WelcomeBot today! I saw that you updated your fork. Don't forget to submit a pull request as well so that I can merge your changes. :)
Sorry for the delay on this! Thanks for the contribution. :)
Solves issue #32: Added a line that would read a password txt file so that it identifies with the server.