-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Channels list is empty after joinChannels()
#5
Comments
As per IRC:
|
I've created a branch, I should have it fixed by the end of the day. Also, changing some of the methods as well. I will write up a document on how it works when I get it stabilized. Going to rejigger how things work a bit, change the list of nick objects to be all the nicks that the bot knows about. Once I have it tested to work properly, I'll re-do the JoinChannels function to use it properly and also redo the praseNames function while I'm at it and all that functionality. |
So I should unstage my changes? |
Probably, I apologize, but the more I was working on parsing the names from the server, the more problems I was having, that would be solved by making one unified "Bot" object so that the names, channels, and settings were all accessible within the object. I'll try to get my object definition done tonight and merge it. |
Alright, after rebuilding the infrastructure (properly, thank you to both of you, you especially Saria) the bot now should properly fill in the name information upon joining a channel. Please verify though, I've merged everything back to master. |
The
joinChannels()
function currently looks like this:While it correctly joins all the channels in
BOTCHANS
, it creates thechannels
variable as an empty list then never assigns to it... so in the end the function just returns an empty list.The function should probably be:
HOWEVER!
Fixing this reveals numerous other bugs, mostly in
channels.py
, and makes the bot unusable.So I'm going to have to take a deep dive. I'm going to fork the project as it is, fix the
joinChannels()
bug, then stomp down all the other bugs it reveals one at a time.The text was updated successfully, but these errors were encountered: