Discord wanted to mess with me and changed it's api
https://discordapp.com/developers/docs/resources/channel#attachment-object
the type here was a string before and was "text" for text channels. So my check if(type=="text") failed and as I only show text channels it would not show.
Note: Not fully tested. Some parts are from development but were commented out (like image loading because it is not multithreaded yet and therefore slows everything down )
Oh and forgot this was actually a in progress build so ignore the emoji :D