Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube link does not work #129

Open
Gothfinger opened this issue Nov 27, 2024 · 0 comments
Open

Youtube link does not work #129

Gothfinger opened this issue Nov 27, 2024 · 0 comments

Comments

@Gothfinger
Copy link

I'm getting the following error even after going through all the steps to get youtube links to work:

[ELITE_CONFIG] Verbose logging is disabled. (node:17620) [DEP0040] DeprecationWarning: The punycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...` to show where the warning was created)
<ref *2> ExtractorExecutionContext {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
requiredEvents: [ 'error' ],
player: <ref *1> Player {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
requiredEvents: [ 'error' ],
id: '1311364750768082944',
nodes: GuildNodeManager {
player: [Circular *1],
cache: Collection(0) [Map] {}
},
voiceUtils: VoiceUtils { player: [Circular *1], cache: Collection(0) [Map] {} },
extractors: [Circular *2],
events: PlayerEventsEmitter {
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
requiredEvents: [Array],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
routePlanner: null,
version: '6.7.1',
lyrics: LrcLib {
player: [Circular *1],
api: 'https://lrclib.net/api',
timeout: 15000,
bucket: [SequentialBucket]
},
client: Client {
_events: [Object: null prototype],
_eventsCount: 5,
_maxListeners: 11,
options: [Object],
rest: [REST],
ws: [WebSocketManager],
actions: [ActionsManager],
voice: [ClientVoiceManager],
shard: null,
users: UserManager {},
guilds: GuildManager {},
channels: ChannelManager {},
sweepers: [Sweepers],
presence: [ClientPresence],
user: null,
application: null,
readyTimestamp: null,
commands: [Collection [Map]],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: true
},
options: {
lockVoiceStateHandler: false,
blockExtractors: [],
blockStreamFrom: [],
connectionTimeout: 20000,
lagMonitor: 30000,
queryCache: [QueryCache],
useLegacyFFmpeg: false,
skipFFmpeg: true,
probeTimeout: 5000,
smoothVolume: 'true',
ytdlOptions: [Object]
},
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
store: Collection(6) [Map] {
'com.discord-player.spotifyextractor' => SpotifyExtractor {
context: [Circular *2],
options: {},
priority: 1,
protocols: [Array],
createBridgeQuery: [Function: createBridgeQuery],
_credentials: [Object],
internal: [SpotifyAPI],
_lib: [Object]
},
'com.discord-player.applemusicextractor' => AppleMusicExtractor {
context: [Circular *2],
options: {},
priority: 1,
protocols: [Array],
createBridgeQuery: [Function: createBridgeQuery]
},
'com.discord-player.soundcloudextractor' => SoundCloudExtractor {
context: [Circular *2],
options: {},
priority: 1,
protocols: [Array],
createBridgeQuery: [Function: createBridgeQuery],
internal: [Soundcloud]
},
'com.discord-player.vimeoextractor' => VimeoExtractor {
context: [Circular *2],
options: {},
priority: 1,
protocols: [],
createBridgeQuery: [Function: createBridgeQuery]
},
'com.discord-player.reverbnationextractor' => ReverbnationExtractor {
context: [Circular *2],
options: {},
priority: 1,
protocols: [],
createBridgeQuery: [Function: createBridgeQuery]
},
'com.discord-player.attachmentextractor' => AttachmentExtractor {
context: [Circular *2],
options: {},
priority: 0,
protocols: [],
createBridgeQuery: [Function: createBridgeQuery]
}
},
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
} _YoutubeiExtractor {
context: <ref *1> ExtractorExecutionContext {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
requiredEvents: [ 'error' ],
player: Player {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
requiredEvents: [Array],
id: '1311364750768082944',
nodes: [GuildNodeManager],
voiceUtils: [VoiceUtils],
extractors: [Circular *1],
events: [PlayerEventsEmitter],
routePlanner: null,
version: '6.7.1',
lyrics: [LrcLib],
client: [Client],
options: [Object],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
store: Collection(6) [Map] {
'com.discord-player.spotifyextractor' => [SpotifyExtractor],
'com.discord-player.applemusicextractor' => [AppleMusicExtractor],
'com.discord-player.soundcloudextractor' => [SoundCloudExtractor],
'com.discord-player.vimeoextractor' => [VimeoExtractor],
'com.discord-player.reverbnationextractor' => [ReverbnationExtractor],
'com.discord-player.attachmentextractor' => [AttachmentExtractor]
},
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
options: {
authentication: 'access_token=ya29.a0AeDClZAXZVKpM_VJg6zR_boHzGLrGKfK_qI_zCdxUvjCCLGcr4ApDe7ZLKzPyrKkAiRhemdPBvgLNnMcsoNVnNdb2MD1uLDDRLoU96pBZXJV0MBcXDrip4fomrWJ8xqTTjq0B6p1ocjH8M_QoBi4dfM938H7aGid_6LDbvy0e_qafjFNRzmQaCgYKAXwSARASFQHGX2MiH4XpmolYtYIhV_y1cBIARg0187; refresh_token=1//0c2hiT1QBpX5ECgYIARAAGAwSNwF-L9Irsu6UnO7vsIEiM9hAl9Kk6DJ3v9BszIrPJL94_bxTgYKtm8EFbmHYHeD-Djc-_97Kems; scope=https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube-paid-content; token_type=Bearer; expiry_date=2024-11-28T08:34:39.914Z'
},
priority: 2,
protocols: [ 'ytsearch', 'youtube' ],
createBridgeQuery: [Function: createBridgeQuery],
innerTube: Innertube {},
_stream: [Function (anonymous)]
} InnertubeError: Request to https://www.youtube.com/youtubei/v1/account/accounts_list?prettyPrint=false&alt=json failed with status 400
at HTTPClient. (/home/gothfinger/MusicBotDisc/Elite-Music-1.6/node_modules/youtubei.js/bundle/node.cjs:2087:13)
at Generator.next ()
at fulfilled (/home/gothfinger/MusicBotDisc/Elite-Music-1.6/node_modules/tslib/tslib.js:166:62)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
info: '{\n' +
' "error": {\n' +
' "code": 400,\n' +
' "message": "Request contains an invalid argument.",\n' +
' "status": "INVALID_ARGUMENT"\n' +
' }\n' +
'}\n',
date: 2024-11-27T16:15:21.365Z,
version: '10.4.0'
}
(node:17620) [UnhandledEventsWarning] Warning: No event listener found for event "error". Events "error" must have event listeners.
[ELITE_CONFIG] Loading Configuration... (Config Version: 1.6)
[ELITE_CONFIG] Configuration loaded... Current config:
{
"embedColour": "#FF0000",
"presence": "/help | elite-bot.com",
"leaveOnEmpty": true,
"leaveOnEmptyCooldown": "300000",
"leaveOnEnd": true,
"leaveOnEndCooldown": "300000",
"leaveOnStop": true,
"leaveOnStopCooldown": "300000",
"selfDeafen": true,
"defaultVolume": 50,
"smoothVolume": true,
"enableDjMode": false,
"djRole": "123456789987654321",
"enablePlex": false,
"plexServer": "http://YOUR_IPADDRESS:32400",
"plexAuthtoken": "YOUR_AUTH_TOKEN"
}
Note: If some configuration option is incorrect, please double check that it is correctly set within your .ENV file!
Otherwise, where a configuraiton option is invalid, the default from defaultConsts.js will be used.

[ELITE_STATUS] Loading successful. Core of the bot is ready!
[ELITE_CMDS] Commands registered (production)!
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant