Skip to content

Fixed to show channels again (thx to discord api change -_-)

Latest
Compare
Choose a tag to compare
@devingDev devingDev released this 07 Nov 18:53
· 2 commits to master since this release

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