Open realcgcristi opened 4 months ago
also in the title i misspelled, its working not workinh
Bot is not working, i get error while running
use the bot
for the bot to start
cgcristi@cg-vm:~/discord-js-bot$ npm start
discord-js-bot@5.5.0 start /home/cgcristi/discord-js-bot node .
╔═══════════════════════════════════╗ ║ Client Events ║ ║ error.js │ ✓ ║ ║ guildCreate.js │ ✓ ║ ║ guildDelete.js │ ✓ ║ ║ interactionCreate.js │ ✓ ║ ║ inviteCreate.js │ ✓ ║ ║ inviteDelete.js │ ✓ ║ ║ guildMemberAdd.js │ ✓ ║ ║ guildMemberRemove.js │ ✓ ║ ║ messageCreate.js │ ✓ ║ ║ messageDelete.js │ ✓ ║ ║ messageReactionAdd.js │ ✓ ║ ║ messageReactionRemove.js │ ✓ ║ ║ ready.js │ ✓ ║ ║ voiceStateUpdate.js │ ✓ ║ ║ warn.js │ ✓ ║ ╚═══════════════════════════╧═══════╝
[2024-04-26 07:04:39] INFO: Validating config file and environment variables [2024-04-26 07:04:39] WARN: config.js: SUPPORT_SERVER is not provided [2024-04-26 07:04:39] WARN: env: WEATHERSTACK_KEY is missing. Weather command won't work [2024-04-26 07:04:39] WARN: env: STRANGE_API_KEY is missing. Image commands won't work [2024-04-26 07:04:39] INFO: Loading commands... [2024-04-26 07:04:39] INFO: Loaded 42 commands [2024-04-26 07:04:39] INFO: Loaded 33 slash commands [2024-04-26 07:04:39] INFO: Loading contexts... [2024-04-26 07:04:39] INFO: Loaded 1 USER contexts [2024-04-26 07:04:39] INFO: Loaded 0 MESSAGE contexts [2024-04-26 07:04:39] INFO: Loading events... [2024-04-26 07:04:39] INFO: Loaded 15 events. Success (15) Failed (0) [2024-04-26 07:04:39] INFO: VersionCheck: Your discord bot is up to date [2024-04-26 07:04:39] INFO: Connecting to MongoDb... [2024-04-26 07:04:40] INFO: Mongoose: Database connection established [2024-04-26 07:04:40] ERROR: Unhandled exception: Cannot read properties of undefined (reading 'G0be9g')
read the error and you will fix it the problem speaks for itself. make sure to fill all the reqiurement in config.js/.env file so bot will work smoothly
also in the title i misspelled, its working not workinh
Describe the bug A clear and concise description of what the bug is.
Bot is not working, i get error while running
To Reproduce Steps to reproduce the behavior:
use the bot
Expected behavior A clear and concise description of what you expected to happen.
for the bot to start
Screenshots If applicable, add screenshots to help explain your problem
cgcristi@cg-vm:~/discord-js-bot$ npm start
╔═══════════════════════════════════╗ ║ Client Events ║ ║ error.js │ ✓ ║ ║ guildCreate.js │ ✓ ║ ║ guildDelete.js │ ✓ ║ ║ interactionCreate.js │ ✓ ║ ║ inviteCreate.js │ ✓ ║ ║ inviteDelete.js │ ✓ ║ ║ guildMemberAdd.js │ ✓ ║ ║ guildMemberRemove.js │ ✓ ║ ║ messageCreate.js │ ✓ ║ ║ messageDelete.js │ ✓ ║ ║ messageReactionAdd.js │ ✓ ║ ║ messageReactionRemove.js │ ✓ ║ ║ ready.js │ ✓ ║ ║ voiceStateUpdate.js │ ✓ ║ ║ warn.js │ ✓ ║ ╚═══════════════════════════╧═══════╝
[2024-04-26 07:04:39] INFO: Validating config file and environment variables [2024-04-26 07:04:39] WARN: config.js: SUPPORT_SERVER is not provided [2024-04-26 07:04:39] WARN: env: WEATHERSTACK_KEY is missing. Weather command won't work [2024-04-26 07:04:39] WARN: env: STRANGE_API_KEY is missing. Image commands won't work [2024-04-26 07:04:39] INFO: Loading commands... [2024-04-26 07:04:39] INFO: Loaded 42 commands [2024-04-26 07:04:39] INFO: Loaded 33 slash commands [2024-04-26 07:04:39] INFO: Loading contexts... [2024-04-26 07:04:39] INFO: Loaded 1 USER contexts [2024-04-26 07:04:39] INFO: Loaded 0 MESSAGE contexts [2024-04-26 07:04:39] INFO: Loading events... [2024-04-26 07:04:39] INFO: Loaded 15 events. Success (15) Failed (0) [2024-04-26 07:04:39] INFO: VersionCheck: Your discord bot is up to date [2024-04-26 07:04:39] INFO: Connecting to MongoDb... [2024-04-26 07:04:40] INFO: Mongoose: Database connection established [2024-04-26 07:04:40] ERROR: Unhandled exception: Cannot read properties of undefined (reading 'G0be9g')