DuckySoLucky / hypixel-discord-chat-bridge

A two-way chat bridge between Hypixel guild chat and a Discord channel. The application utilizes discord.js v14 for communicating with Discord, and mineflayer for communicating with Hypixel.
47 stars 39 forks source link

Spammed type error when starting #59

Closed xathail closed 1 year ago

xathail commented 1 year ago

This error is spammed many times and no messages are shared:

TypeError: Cannot read properties of undefined (reading 'send') at DiscordManager.onBroadcast (C:\Users\xerius\Downloads\hypixel-discord-chat-bridge-3.1.7.1\hypixel-discord-chat-bridge-3.1.7.1\src\discord\DiscordManager.js:149:23) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) TypeError: Cannot read properties of undefined (reading 'send')

As well as this, the discord bot remains offline.

github-actions[bot] commented 1 year ago

This looks like your first issue on SkyCrypt! Thank you for bringing this issue to our attention. Expect a developer to comment within the first 3-5 business days of issue submission.

DuckySoLucky commented 1 year ago

Heya exilliuz,

Thank you for reporting this issue. I have attempted to reproduce the bug, but have been unable to do so. The only potential explanation I can think of at this time is that the config property may not have been properly set up. It is possible that you have missed one of the channel fields in the config, or that the bot does not have access to the relevant channels.

Sincerely, DuckySoLucky

xathail commented 1 year ago

Ah, I see, I'll check as soon as I can if I can find something I might not have filled in. If everything seems fine in my config to me, would I be able to send it to you via discord?

DuckySoLucky commented 1 year ago

Ah, I see, I'll check as soon as I can if I can find something I might not have filled in. If everything seems fine in my config to me, would I be able to send it to you via discord?

Sure, my Discord is DuckySoLucky#5181

Edit: Fixed, incorrectly copied channel ID