DarkGuy10 / BotClient

A discord botclient built with Electron, React and discord.js.
MIT License
182 stars 17 forks source link

Bug: Channels don't load successfully #46

Closed TheRedstoneRadiant closed 1 year ago

TheRedstoneRadiant commented 1 year ago

Issue checklist

Issue description

Steps to reproduce the bug:

  1. Go to a server with Thread channels

Current behavior

Channels don't load and an error message appears in the console [1] Error occurred in handler for 'channels': TypeError: Cannot read properties of null (reading 'has') [1] at serializeGuildChannel (.../BotClient/public/serializers/serializeGuildChannel.js:19:4) [1] at /home/user/Downloads/BotClient/public/electron.js:153:3 [1] at Array.map () [1] at /home/user/Downloads/BotClient/public/electron.js:152:61 [1] at node:electron/js2c/browser_init:189:579 [1] at EventEmitter. (node:electron/js2c/browser_init:161:11093) [1] at EventEmitter.emit (node:events:390:28)

Expected behavior

Non thread channels should display

BotClient version

v0.10.3-alpha

Operating System

Solus Linux

How did you download the application?

Built from source

Priority this issue should have

Medium (should be fixed soon)

Addition information

No response

Aeris1One commented 1 year ago

can reproduce

PlavorSeol commented 1 year ago

For anyone experiencing this bug: Applying changes from #49 manually and building from source yourself will fix it for now.