Ignoring exception in message
Traceback (most recent call last):
File "/home/gido5731/.local/lib/python3.5/site-packages/discord/client.py", line 223, in _run_event
yield from coro(*args, **kwargs)
File "/home/gido5731/Discord-Selfbot/cogs/terminal.py", line 242, in on_message
if (message.channel.id in self.sessions and self.enabled and message.author.id == message.guild.me.id): # DO NOT DELETE
AttributeError: 'NoneType' object has no attribute 'me'
If I am not in a server (like a DM) it errors:
after each message.