-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
AttributeError: 'NoneType' object has no attribute 'text_channels' #61
Comments
Have you figured out a solution for this? I am having the same issue. @peter-russell |
No, still doesn't work. @Celtics2034 |
@4rqm |
So, I looked into this, the issue appears to be that the bot is not correctly picking up the GUILD_ID from the env variable. I haven't figured out why that is, but I have confirmed that deploying it with the GUILD_ID hardcoded here seems to work just fine. |
@csojinb this actually only happens if you added the bot to the server after you started it. This is because when the bot starts it checks the guilds that it currently is in, and finds the guild from the provided guild_id and stores it in |
When a DM is sent to the bot, it emoji reacts with ✅, but the message isn't being displayed as a channel in the server. The bot-info channel is available, though. The following error(s) keep occurring in Heroku when a message is sent to the bot.
The text was updated successfully, but these errors were encountered: