Traceback (most recent call last):


 "/app/.heroku/python/lib/python3.7/site-packages/discord/client.py", line 270, in _run_event

await coro(*args, **kwargs)


 "bot.py", line 868, in on_message

await self.process_commands(message)


 "bot.py", line 875, in process_commands

return await self.process_dm_modmail(message)


 "bot.py", line 744, in process_dm_modmail

thread = await self.threads.create(message.author)


 "/app/core/thread.py", line 988, in create

if category is None and len(cat.channels) == 50:
AttributeError: 'NoneType' object has no attribute 'channels'

Traceback (most recent call last):


 "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 619, in mainloop

self._mainloop()


 "c:\Python27\lib\site-packages\kivy\core\window\window_sdl2.py", line 362, in _mainloop

EventLoop.idle()


 "c:\Python27\lib\site-packages\kivy\base.py", line 336, in idle

Clock.tick_draw()


 "c:\Python27\lib\site-packages\kivy\clock.py", line 522, in tick_draw

self._process_events_before_frame()


 "c:\Python27\lib\site-packages\kivy\clock.py", line 672, in _process_events_before_frame

event.tick(self._last_tick, remove)


 "c:\Python27\lib\site-packages\kivy\clock.py", line 406, in tick

ret = callback(self._dt)


 "c:\Python27\lib\site-packages\kivy\uix\boxlayout.py", line 175, in do_layout

c.width = w


 "kivy\properties.pyx", line 408, in kivy.properties.Property.__set__ (kivy\properties.c:5114)


 "kivy\properties.pyx", line 446, in kivy.properties.Property.set (kivy\properties.c:5876)


 "kivy\properties.pyx", line 501, in kivy.properties.Property.dispatch (kivy\properties.c:6557)


 "kivy\_event.pyx", line 1224, in kivy._event.EventObservers.dispatch (kivy\_event.c:13497)


 "kivy\_event.pyx", line 1130, in kivy._event.EventObservers._dispatch (kivy\_event.c:12696)


 "c:\Python27\lib\site-packages\kivy\uix\actionbar.py", line 601, in on_width

self._layout_all()


 "c:\Python27\lib\site-packages\kivy\uix\actionbar.py", line 486, in _layout_all

super_add(self.action_previous)


 "c:\Python27\lib\site-packages\kivy\uix\boxlayout.py", line 211, in add_widget

widget.bind(
AttributeError: 'NoneType' object has no attribute 'bind'
