modmail-dev / Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
https://docs.modmail.dev
GNU Affero General Public License v3.0
1.58k stars 4.59k forks source link

Error in logs #58

Closed GrenadeMaster11 closed 5 years ago

GrenadeMaster11 commented 6 years ago

2018-09-17T17:30:50.921828+00:00 app[worker.1]: 2018-09-17T17:32:56.927937+00:00 app[worker.1]: Ignoring exception in on_message 2018-09-17T17:32:56.929175+00:00 app[worker.1]: Traceback (most recent call last): 2018-09-17T17:32:56.941384+00:00 app[worker.1]: await coro(*args, **kwargs) 2018-09-17T17:32:56.941430+00:00 app[worker.1]: File "bot.py", line 379, in on_message 2018-09-17T17:32:56.941376+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.6/site-packages/discord/client.py", line 221, in _run_event 2018-09-17T17:32:56.941432+00:00 app[worker.1]: await self.process_modmail(message) 2018-09-17T17:32:56.941469+00:00 app[worker.1]: File "bot.py", line 350, in process_modmail 2018-09-17T17:32:56.941474+00:00 app[worker.1]: channel = discord.utils.get(guild.text_channels, topic=topic) 2018-09-17T17:32:56.941550+00:00 app[worker.1]: AttributeError: 'NoneType' object has no attribute 'text_channels'

kyb3r commented 5 years ago

I fixed this issue, try deploying again.