Skip to content
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

Various trainbot modernizations #20

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

arbrock
Copy link

@arbrock arbrock commented Apr 19, 2022

These changes move from Python2 to Python3 and from Freenode to Libera. They also use IB3 mixins to enable SSL and SASL, which are required to run trainbot from my cloud provider.

arbrock and others added 6 commits April 19, 2022 18:53
- we now need to explicitly go get reload() from importlib
- print must now be called as print()
Previously this relied on fractional indices being rounded automatically. Now we have
to explicitly do it ourselves, so add a helper method to do it fairly.
The original trainbot nicks were registered to someone else, so I can't use them.
Their values were depended on in various places through the code, though, so I
unwound those and moved the botnicks array to a single place, in trainbotpass
Since I'm hosting on DO, use ib3 mixins to make these two things happen. Also fix a stray remaining
reference to freenode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant