-
In version 1.7.3, channels that the bot cannot see are included in its iteration for retrieving message which leads to a missing access error. The only way to fix is to give admin access so the bot can forceably see all channels even the ones that are not intended for it.
I've noticed that work on this repository is active again so I don't know if it is fixed in one of those commits hence why I have not put this in issues. If it isn't either I or somebody can push a fix. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, the return values of |
Beta Was this translation helpful? Give feedback.
Hello, the return values of
Guild.channels
or equivalents (likeGuild.text_channels
,Guild.voice_channels
etc) include all the channels in the said Guild (irrespective of whether the bot has View/Read Channel Permissions from them. They exist because the gateway provides them.However, trying to fetch message history from channels in which you do not have
Read Message History
permissions will lead to 403 Forbidden error