Comments (2)
The only thing I could catch from the logs was when I tried to include another track from the YouTube link:
main > ReferenceError: track is not defined
││ main > at module.exports (/bot/musicbot/events/Player/error.js:
││ main > at PlayerEventsEmitter.emit (node:events:513:28)
││ main > at PlayerEventsEmitter.emit (/bot/musicbot/node_modules/
││ main > at StreamDispatcher.<anonymous> (/bot/musicbot/node_modu
││ main > at StreamDispatcher.emit (node:events:513:28)
││ main > at StreamDispatcher.playStream (/bot/musicbot/node_modul
││ main > at runMicrotasks (<anonymous>)
││ main > at processTicksAndRejections (node:internal/process/task_queues:96:5)
││ main > at async GuildQueuePlayerNode.#performPlay (/bot/musicbot/node_modules/discord-player/dist/index .js
││ main > at async GuildQueuePlayerNode.play (/bot/musicbot/node_modules/discord-player/dist/index.js:1045
Or
/bot/musicbot/events/Player/error.js:6
.setAuthor({name: `The bot has encountered an unexpected error, report it to the Developers!`, iconURL: track.thumbnail})
^
ReferenceError: track is not defined
at module.exports (/bot/musicbot/events/Player/error.js:6:118)
at PlayerEventsEmitter.emit (node:events:513:28)
at PlayerEventsEmitter.emit (/bot/musicbot/node_modules/discord-player/dist/index.js:207:18)
at StreamDispatcher.<anonymous> (/bot/musicbot/node_modules/discord-player/dist/index.js:1659:52)
at StreamDispatcher.emit (node:events:513:28)
at StreamDispatcher.playStream (/bot/musicbot/node_modules/discord-player/dist/index.js:2357:26)
at async GuildQueuePlayerNode.#performPlay (/bot/musicbot/node_modules/discord-player/dist/index.js:1059:3)
at async GuildQueuePlayerNode.play (/bot/musicbot/node_modules/discord-player/dist/index.js:1045:7)
at async Object.execute (/bot/musicbot/commands/music/play.js:59:33)
I also see that when requesting history (with the /history command) there is music that is not playing, and it is indicated that the request type is via Spotify, and the link to the track is YouTube, although I have the spotifyBridge parameter set to false in my config
At the same time, tracks that have successfully played and ended are not displayed in / history
Track {
requestedBy: User {
id: '312873639248658432',
bot: false,
system: false,
flags: [UserFlagsBitField],
username: 'GIDEON',
discriminator: '2518',
avatar: '45cbe782cd4db9422d14b97b34081472',
banner: undefined,
accentColor: undefined
},
queryType: 'spotifySong',
raw: {
source: 'spotify',
title: 'Back In Black',
description: 'Back In Black by AC/DC',
author: 'AC/DC',
url: 'https://www.youtube.com/watch?v=pAgnJDJN4VA',
thumbnail: 'https://i.scdn.co/image/ab67616d0000b2730b51f8d91f3a21e8426361ae',
duration: '04:15',
views: 0,
requestedBy: [User],
queryType: 'spotifySong'
},
Also in the configuration, the option to access only when role present is enabled (true), but still everyone can use it.
DJ: {
enabled: true,
roleName: 'DJ',
from music-bot.
Hi! Use the beta branch, as the main one is broken.
from music-bot.
Related Issues (20)
- Not playing any songs HOT 31
- Not playing songs HOT 2
- There are no more songs in the queue HOT 1
- Lyrics error because of Cloudflare captcha HOT 2
- Another error HOT 1
- Could not extract stream for this track HOT 6
- The Bot keeps Stopping after 30seconds With Music Playback HOT 11
- Wont run HOT 16
- Not working (beta branch): Skipping extractors execution since zero extractors were registered HOT 3
- Bot disconnect when playing music and no error HOT 3
- Bot not playing age restricted content from youtube HOT 1
- disconnect when playing music after few seconds and no error HOT 1
- [Bug with fix available] No extractors fix. HOT 5
- The bot is not Playing Useing Links HOT 1
- YouTube playlists only play the first HOT 3
- The music keep cutting HOT 5
- doubt HOT 4
- Bot go offline automatically after playing a song HOT 5
- Music stopped HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from music-bot.