#Crash on / commands

1 messages · Page 1 of 1 (latest)

final atlas
#

Hi guys! I'm trying to setup the bot on my server. It's starting well but when I'm using /play, the bot crash. Here the logs:

admin@NAS-MAT:/volume1/docker/music_bot$ npm run start

> [email protected] start
> node main.js

Loading events...
-> [Loaded Event] interactionCreate
-> [Loaded Event] ready
Loading commands...
-> [Loaded Command] help
-> [Loaded Command] ping
-> [Loaded Command] back
-> [Loaded Command] clear
-> [Loaded Command] controller
-> [Loaded Command] filter
-> [Loaded Command] jump
-> [Loaded Command] loop
-> [Loaded Command] nowplaying
-> [Loaded Command] pause
-> [Loaded Command] play
-> [Loaded Command] playnext
-> [Loaded Command] queue
-> [Loaded Command] remove
-> [Loaded Command] resume
-> [Loaded Command] save
-> [Loaded Command] search
-> [Loaded Command] seek
-> [Loaded Command] shuffle
-> [Loaded Command] skip
-> [Loaded Command] stop
-> [Loaded Command] volume
Logged to the client J. Alter
-> Ready on 1 servers for a total of 2 users
/volume1/docker/music_bot/node_modules/@discordjs/rest/dist/index.js:640
      throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
            ^

DiscordAPIError[10062]: Unknown interaction
    at handleErrors (/volume1/docker/music_bot/node_modules/@discordjs/rest/dist/index.js:640:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async BurstHandler.runRequest (/volume1/docker/music_bot/node_modules/@discordjs/rest/dist/index.js:736:23)
    at async REST.request (/volume1/docker/music_bot/node_modules/@discordjs/rest/dist/index.js:1387:22)
    at async ChatInputCommandInteraction.deferReply (/volume1/docker/music_bot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:69:5)
    at async Object.execute (/volume1/docker/music_bot/commands/music/play.js:17:2) {
  requestBody: { files: undefined, json: { type: 5, data: { flags: undefined } } },
  rawError: { message: 'Unknown interaction', code: 10062 },
  code: 10062,
  status: 404,
  method: 'POST',
  url: 'https://discord.com/api/v10/interactions/1129795313893396650/aW50ZXJhY3Rpb246MTEyOTc5NTMxMzg5MzM5NjY1MDpvRWh6dHdQU3dIalczNHhBNHNON0xGTVRzYjJseWFBQ2lFMWxqcDFEQ0hCSXA0Z1NIRlJROUo2Sml3RGtqSkNnVWpmanlkUzZhRzltdWxEU1JmejVNNG96blNsQzVKQmNBQ3R5bGRGNml4OVpodFhmejVrZkdpaEhubzlQelVUbQ/callback'
}

Node.js v18.15.0

Can uou help me please? <@&784719828690796574>

#

Crash on / commands

umbral rock
final atlas
#

Yess I have another app using it.

#

Okay I'll try in a new one

final atlas
umbral rock