VeebS
DIAdiscord.js - Imagine an app
•Created by VeebS on 11/22/2024 in #djs-questions
Registration Request on Startup
I've asked AI as well and for some reason my bot just isn't launching properly. I'm not sure if it's related to discord.js but I'm learning so I might just be stupid.
Below is my debug from the console output
[DEBUG] Initializing Discord REST client...
[DEBUG] Connecting to MongoDB...
Connected to MongoDB
[DEBUG] Loading commands...
[DEBUG] Loading commands from: /home/container/commands
[DEBUG] Found command files: aea.js, probationList.js, profile.js, recruit.js, stafftickets.js, training.js
[DEBUG] Loading command file: aea.js
[DEBUG] Registering command: aea
Successfully loaded command: aea
[DEBUG] Loading command file: probationList.js
[DEBUG] Registering command: probation
Successfully loaded command: probation
[DEBUG] Loading command file: profile.js
[DEBUG] Registering command: profile
Successfully loaded command: profile
[DEBUG] Loading command file: recruit.js
[DEBUG] Registering command: recruit
Successfully loaded command: recruit
[DEBUG] Loading command file: stafftickets.js
[DEBUG] Registering command: ticket
Successfully loaded command: ticket
[DEBUG] Loading command file: training.js
[DEBUG] Registering command: training
Successfully loaded command: training
[DEBUG] Loaded 6 commands. Preparing for Discord registration...
[DEBUG] Using Client ID: [redacted]
[DEBUG] Using Guild ID: [redeacted]
[DEBUG] Testing Discord API connection...
[DEBUG] Discord API test successful
[DEBUG] Beginning command registration...
[DEBUG] Starting command registration process...
[DEBUG] Preparing command registration payload...
[DEBUG] Command data being sent: ["aea","probation","profile","recruit","ticket","training"]
[DEBUG] Sending registration request to Discord...
67 replies