PetyXbron / minecraft-bot

Informational Discord bot for your Minecraft server
https://mb.petyxbron.cz/
GNU General Public License v3.0
67 stars 28 forks source link

Undefined reading 'id' #3

Closed MG141 closed 1 year ago

MG141 commented 2 years ago

Having issues with starting up the bot if someone could help me with the fix. Screenshot_20220216_113235

PetyXbron commented 2 years ago

If you want to use statusCH setting enabled, you need to define the other variables. Did you set these? And did you invite the bot with official invite link - https://discord.com/oauth2/authorize?client_id=BOTUSERIDHERE&permissions=274877918272&scope=bot%20applications.commands? Maybe the bot doesn't have permission to send messages in your status channel and also try to check the channel permissions for the bot's role.

PetyXbron commented 2 years ago

@MG141, are you still facing this problem?

BalesDot commented 1 year ago

i am facing this problem

PetyXbron commented 1 year ago

The bot could not send the statusCH message. Check the bot's permissions or re-invite it with the official link in the console. If you are interested in faster support response and deeper help, consider joining this project Discord support server.

PetyXbron commented 1 year ago

Hey everyone, if you are facing this issue we found a new possible solution. Please check if you have all dependencies updated as the version you are using includes in package.json file. It may be caused especially because of the discord.js and a new syntax for sending messages. Also, it may help you to update to dev version 1.6.9.2 or higher because there is a new saving system and you won't face issues with quick.db, which was in some cases unsupported (e.g. in hosting).