Skip to content

Player or Bot stops playing music studently #1

@uniktron

Description

@uniktron

I created this bot last night using this amazing code and today I noticed the both stopped working after 30 seconds. I restarted my server and it was still doing the same. I then went into Replit and created another one and no errors. I tried and the same thing happened. Music doesn't stay on. I don't get any error messages so I don't know what is causing this to happen. Can I use my own API for Spotify? if yes what folder contains the option for it?

Edit: It Finally gave an error message after having the bot idling on the channel.

[Error_Handling] :: Unhandled Rejection/Catch
Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred.
at ChatInputCommandInteraction.followUp (/home/runner/JUGNU-MUSIC/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:184:64)
at Object.run (/home/runner/JUGNU-MUSIC/Commands/Slash/Music/play.js:47:8)
at JUGNU. (/home/runner/JUGNU-MUSIC/events/interactionCreate.js:87:13) {
code: 'InteractionNotReplied'
} Promise {
Error [InteractionNotReplied]: The reply to this interaction has not been sent or deferred.
at ChatInputCommandInteraction.followUp (/home/runner/JUGNU-MUSIC/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:184:64)
at Object.run (/home/runner/JUGNU-MUSIC/Commands/Slash/Music/play.js:47:8)
at JUGNU. (/home/runner/JUGNU-MUSIC/events/interactionCreate.js:87:13) {
code: 'InteractionNotReplied'
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions