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

Migrate from using bot.privileges to bot.channels (if available) #19

Closed
dgw opened this issue Feb 12, 2016 · 1 comment · Fixed by #51
Closed

Migrate from using bot.privileges to bot.channels (if available) #19

dgw opened this issue Feb 12, 2016 · 1 comment · Fixed by #51
Assignees
Milestone

Comments

@dgw
Copy link
Owner

dgw commented Feb 12, 2016

Lots of "if available" features these days.

Sopel 6.2.0 deprecated the bot.privileges dict. It was replaced by bot.channels, which contains more state information. Obviously this depends on #8 (but should not block it—see below).

As of 6.3.0 the bot.channels dict doesn't seem to be populated quite correctly, but when it's stabilized and can replace bot.privileges it should be used if available, as the deprecated API will probably disappear in 7.x (or by 8.x at the latest).

@dgw dgw self-assigned this Feb 12, 2016
@dgw dgw modified the milestone: 6.x Feb 21, 2016
@dgw
Copy link
Owner Author

dgw commented Sep 17, 2016

bot.channels is still bugged in 6.4.0, according to sopel-irc/sopel#1136.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant