NatTupper / dline

A feature-rich terminal discord client
GNU General Public License v3.0
62 stars 4 forks source link

Attempting to switch to an ignored channel causes a freeze #16

Closed blee5 closed 5 years ago

blee5 commented 5 years ago

OS: Linux/Debian Terminal: Bash Python Version: 3.6.7

How to reproduce: Ignore a channel in channel_ignore_list, attempt to switch to it using /channel

dline will freeze, and will periodically print error messages. Here's an example:

Traceback (most recent call last):
File "/home/void/.local/lib/python3.6/site-packages/discord/client.py", line 227, in _run_event
await coro(*args, **kwargs)
File "/home/void/dline/dline/__main__.py", line 144, in on_message_edit
ft = gc.ui.views[str(clog.id)].formattedText
KeyError: '518249820557934666'
NatTupper commented 5 years ago

Will look into.

NatTupper commented 5 years ago

Confirmed. Adding to major bugs since it causes a crash.