Closed Tomper6161 closed 1 year ago
Hello @Tomper6161. Luckily, I have an easy fix for you. Just go to the Discord Developers page, select your app, and then the bot page. Eable server members and message content intent. After enabling, restart the process. It should work. If you are interested in faster support response, consider joining this project Discord support server.
thank you thank you another question, sorry.
How do i make it so on the online list the bot shows like how many players are online, and can i have it for example
It showing online people for 10 sec then after that it shows the ip of the server after that something else etc? thanks!
If I understood correctly, you are describing the minecraft-bot function called statusCH.
Its basically automatically updated message in the specified interval, which shows the player list and basic server info (server connection info and number of online players) [example screenshot here]
To set up this feature, go to config.js
settings and enable statusCH, by setting the value to true
. Now go down a little, to the statusCH settings and enter the interval of a message update and paste your channel ID. Also, check if you have entered the server ID into the config.js
too.
If the message is successfully sent after the process starts, it will save the message ID to the json.sqlite
file. Delete the file, if you want to send a new message.
💛 Bot status type in config was empty! Bot presence is now set to "online" Hint: hit control+c anytime to enter REPL. 💚 Successfully sent status message to server! /home/runner/minecraft-bot/events/ready.js:155 db.set('statusCHMsgID', msg.id); ^
TypeError: Cannot read properties of undefined (reading 'id') at module.exports (/home/runner/minecraft-bot/events/ready.js:155:41)
Node.js v18.12.1 repl process died unexpectedly: exit status 1  (To exit, press Ctrl+C again or Ctrl+D or type .exit)  repl process died unexpectedly: 
shows this when i paste chancel id on statusch at config at chancelid " "
also i dont really want it in a chancel id rather have it on the bot on the right side on the online list like this see the pic https://i.imgur.com/BAi2sVu.png
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.
@Tomper6161, your new issue is connected to reported issues https://github.com/PetyXbron/minecraft-bot/issues/3, https://github.com/PetyXbron/minecraft-bot/issues/19, and https://github.com/PetyXbron/minecraft-bot/issues/10. Use release v1.7.0 or newer to potentially fix the issue.
how do i fix this ? https://i.imgur.com/ybY3YR0.png