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

Crawler doesn't crawl unless Read Message History perms are explicitly granted #63

Open
robstolarz opened this issue Jan 28, 2019 · 0 comments

Comments

@robstolarz
Copy link
Contributor

Repro: point statbot at a guild containing channels that don't have Read Message History explicitly granted to a bot user. The crawler will ignore those channels.

Consider

if channel.permissions_for(guild.me).read_message_history:

Replacing this conditional with True will cause the crawler to start indexing those channels again (although it will then fail on channels it can't read).

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

No branches or pull requests

1 participant