-
Posts
12 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
aDrew1's Achievements
-
aDrew1 changed their profile photo
-
IcedHost, they switched my node and it works again
-
aDrew1 started following Webhook URL Invalid and Bot will not start
-
[Pterodactyl Daemon]: Checking server disk space usage, this could take a few seconds... [Pterodactyl Daemon]: Updating process configuration files... [Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... container@pterodactyl~ Server marked as starting... [Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete... [Pterodactyl Daemon]: Finished pulling Docker container image v18.14.0 :/home/container$ if [[ -d .git ]] && [[ ${AUTO_UPDATE} == "1" ]]; then git pull; fi; if [[ ! -z ${NODE_PACKAGES} ]]; then /usr/local/bin/npm install ${NODE_PACKAGES}; fi; if [[ ! -z ${UNNODE_PACKAGES} ]]; then /usr/local/bin/npm uninstall ${UNNODE_PACKAGES}; fi; if [ -f /home/container/package.json ]; then /usr/local/bin/npm install; fi; /usr/local/bin/node /home/container/${BOT_JS_FILE} up to date, audited 203 packages in 2s 10 packages are looking for funding run `npm fund` for details 2 high severity vulnerabilities To address all issues, run: npm audit fix Run `npm audit` for details. [WARN] discord-html-transcripts will no longer support v13 in a later release, please update to v14. Starting to load slash commands
-
How do I fix that?
-
When I am trying to start my bot, it is stuck on "Starting to load slash commands" and never starts up.
-
Okay, I did that and it worked, thank you! Something to note, it seems like the bot will error and crash if any of the webhook URLs have "discordapp.com" instead of just "discord.com". For my case the 3rd webhook link was discord.com, however the 2nd and 1st where both discordapp.com and it would crash.
-
Hello, I have set up the webhooks to make the bot send the global and team chats, as well as f7 reports, etc to my Discord is a specified channel. However, whenever I type in chat on the server, the bot crashes and throws the following error: /home/container/node_modules/discord.js/src/client/WebhookClient.js:36 if (!url || url.length <= 1) throw new Error('WEBHOOK_URL_INVALID'); ^ Error [WEBHOOK_URL_INVALID]: The provided webhook URL is not valid. at new WebhookClient (/home/container/node_modules/discord.js/src/client/WebhookClient.js:36:42) at Client.<anonymous> (/home/container/events/rconConnection.js:402:27) at Client.emit (node:events:513:28) at WebSocket.onMessage (/home/container/node_modules/rustrcon/src/client/websocket/ws.js:55:15) at WebSocket.onMessage (/home/container/node_modules/rustrcon/node_modules/ws/lib/event-target.js:120:16) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (/home/container/node_modules/rustrcon/node_modules/ws/lib/websocket.js:789:20) at Receiver.emit (node:events:513:28) at Receiver.dataMessage (/home/container/node_modules/rustrcon/node_modules/ws/lib/receiver.js:422:14) at Receiver.getData (/home/container/node_modules/rustrcon/node_modules/ws/lib/receiver.js:352:17) { [Symbol(code)]: 'WEBHOOK_URL_INVALID' } Node.js v18.14.0 From what I see it says it is throwing the error because the url length is < or = to "1", however, the full webhook URL is set in the config. I wont post it here for security, however, I can assure you the full link is in the config and that goes for each webhook.