Giter Club home page Giter Club logo

discord-bot's Introduction


egglord
Egglord

A fully customizable bot built with discord.js

Discord Lines of Code CodeFactor Website Crowdin

AboutFeaturesTo-DoInstallationLicenseCredits

LanguagesPrivacy PolicyFAQCommandsContributingCode of Conduct

Installation

❓ About

Egglord is an open source, fully customizable Discord bot that is constantly growing. You can invite it to your Discord server using this link! Also, you can join the official Egglord Support Server for all questions, suggestions, and assistance! It comes packaged with a variety of commands and a multitude of settings that can be tailored to your server's specific needs.

If you liked this repository, feel free to leave a star ⭐ to help promote Egglord!

❗ Features

140+ commands and counting across 13 different categories!

  • 🎉 Fun: advice, fact, meme, reminder, pokemon and 6 more!
  • 🎁 Giveaway: g-start, g-reroll, g-edit and g-delete and 2 more!
  • 💬 Guild: avatar, giveaway, server-info, poll, and 6 more!
  • 👑 Host: reload, shutdown, addban, eval and 10 more!
  • 🖼️ Image: blurpify, changemymind, phcomment, stickbug, whowouldwin, threats, and 10 more!
  • 💰 Level: leaderboard, rank!
  • Misc: about, help, status, uptime!
  • 🚓 Moderation: ban, clear, kick, warn, report, unmute and 16 more!
  • 🎵 Music: play, queue, shuffle, seek, lyrics and 29 more!
  • 🔞 NSFW: Total of 18 commands!
  • 🔌 Plugins: reaction roles, settings language, settings logs and 4 more!
  • 🔎 Searcher: fortnite, weather, twitch, steam and 3 more!
  • 🎞️ Tag: Tag system!
  • 🎫 Ticket: t-(close | create |setup )!
  • 📚 Full list of commands: here.

Egglord also comes packed with a variety of features, such as:

  • Welcome messages and farewell messages.
  • Extensive Logging for 37 events.
  • Slash Commands
  • Advanced auto-moderation.
  • Audio filters for music plugin.
  • Custom playlist support.
  • Multi-language support.
  • Giveaways
  • Reaction roles
  • And much more! There are over 40+ settings to tweak!

📝 To-Do

Egglord is pretty much at the end of development now, it will only be updated for the following things:

  • Bug fixes.
  • Code optimisation.
  • New discord features.
  • Suggestions I deem very good.
  • Localization on Command Names, Descriptions, Options, and Choices.

🖥️ My other projects

📖 License

Released under the Apache License 2.0 license.

📜 Credits

discord-bot's People

Contributors

chaosarising avatar code-factor avatar connordoesdev avatar dependabot[bot] avatar mrrswift avatar spiderjockey02 avatar sujalgoel avatar thororen1234 avatar tovade avatar vexify4103 avatar vsilva-gb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

discord-bot's Issues

plss help

image
goldencredit gave me help but that doesnt work no i know i get this error

giveaways.find() error

Got this error

          callback(new MongooseError(message));
                   ^

MongooseError: Operation `giveaways.find()` buffering timed out after 10000ms
    at Timeout.<anonymous> (C:\Users\noahg\Projects\saltyNationbot\node_modules\mongoose\lib\drivers\node-mongodb-native\collection.js:185:20)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)```

Doubt

Does this project have the watermark of the owner? 😄🙂

Doubt

How to activate auto mode in your bot

ERROR Please fix your errors before loading the bot.

$ node .
[21:51:01:150]: LOG =-=-=-=-=-=-=- Config file Verification -=-=-=-=-=-=-=
[21:51:01:150]: LOG Verifying config..
[21:51:02:353]: LOG ✗ Twitch API key is missing.
Error: Invalid authentication credentials
    at Client.user (C:\Discord-Bot\node_modules\fortnite\src\Client.js:40:70)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.module.exports.run (C:\Discord-Bot\src\scripts\verify-config.js:71:3)
    at async C:\Discord-Bot\src\index.js:7:24
[21:51:02:697]: LOG ✗ Fortnite API key is incorrect.
[21:51:03:697]: LOG ✗ Ksoft API key is incorrect.
[21:51:03:697]: ERROR Please fix your errors before loading the bot.

Privileged intent provided is not enabled or whitelisted.

Hello! I am currently trying to launch your bot through termux, and this is what i get.

[23:40:01]: READY Mongoose connection successfully opened
(node:2184) UnhandledPromiseRejectionWarning: Error: Request failed with status code 400
    at createError (/storage/emulated/0/Android/data/com.termux/files/Discord-Bot/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/storage/emulated/0/Android/data/com.termux/files/Discord-Bot/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/storage/emulated/0/Android/data/com.termux/files/Discord-Bot/node_modules/axios/lib/adapters/http.js:260:11)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:2184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
CloseEvent {
  target: <ref *1> WebSocket {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    _binaryType: 'nodebuffer',
    _closeCode: 4014,
    _closeFrameReceived: true,
    _closeFrameSent: true,
    _closeMessage: 'Disallowed intent(s).',
    _closeTimer: Timeout {
      _idleTimeout: -1,
      _idlePrev: null,
      _idleNext: null,
      _idleStart: 13789,
      _onTimeout: null,
      _timerArgs: undefined,
      _repeat: null,
      _destroyed: true,
      [Symbol(refed)]: true,
      [Symbol(kHasPrimitive)]: false,
      [Symbol(asyncId)]: 170,
      [Symbol(triggerId)]: 153
    },
    _extensions: {},
    _protocol: '',
    _readyState: 3,
    _receiver: Receiver {
      _writableState: [WritableState],
      _events: [Object: null prototype] {},
      _eventsCount: 0,
      _maxListeners: undefined,
      _binaryType: 'nodebuffer',
      _extensions: {},
      _isServer: false,
      _maxPayload: 104857600,
      _bufferedBytes: 0,
      _buffers: [],
      _compressed: false,
      _payloadLength: 23,
      _mask: undefined,
      _fragmented: 0,
      _masked: false,
      _fin: true,
      _opcode: 8,
      _totalPayloadLength: 0,
      _messageLength: 0,
      _fragments: [],
      _state: 0,
      _loop: false,
      [Symbol(kCapture)]: false,
      [Symbol(websocket)]: [Circular *1]
    },
    _sender: Sender {
      _extensions: {},
      _socket: [TLSSocket],
      _firstFragment: true,
      _compress: false,
      _bufferedBytes: 0,
      _deflating: false,
      _queue: []
    },
    _socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'gateway.discord.gg',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 5,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'gateway.discord.gg',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: null,
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: null,
      timeout: 0,
      write: [Function: writeAfterFIN],
      [Symbol(res)]: null,
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 153,
      [Symbol(kHandle)]: null,
      [Symbol(kSetNoDelay)]: true,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 1089,
      [Symbol(kBytesWritten)]: 591,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined,
      [Symbol(websocket)]: undefined
    },
    _bufferedAmount: 0,
    _isServer: false,
    _redirects: 0,
    _url: 'wss://gateway.discord.gg/?v=6&encoding=json',
    _req: null,
    [Symbol(kCapture)]: false
  },
  type: 'close',
  wasClean: true,
  reason: 'Disallowed intent(s).',
  code: 4014
}
0
[23:40:03]: ERROR Privileged intent provided is not enabled or whitelisted.
(node:2110) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready.
    at Timeout.onTimeout (/storage/emulated/0/Android/data/com.termux/files/Discord-Bot/node_modules/discord.js/src/sharding/Shard.js:163:16)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2110) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:2110) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm not sure if this is a termux issue, but maybe you could help me somehow.

Startup error

[00:43:58]: LOG =-=-=-=-=-=-=- Config file Verification -=-=-=-=-=-=-=
[00:43:58]: LOG Verifing config..
events.js:291
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, open 'src/modules/logging/logs/roll-2021.01.10.log'
Emitted 'error' event on WriteStream instance at:
at internal/fs/streams.js:361:12
at FSReqCallback.oncomplete (fs.js:156:23) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'src/modules/logging/logs/roll-2021.01.10.log'
}

when i try to run the bot

I need some help

so I fixed the last problem i had now im having 2 more problems

ERROR Node: 'localhost', has error: 'connect ECONNREFUSED 127.0.0.1:2333'.

and

ERROR Cannot find module '../helpers/DiscordBotListUpdate'

any help and ill give a star

Bot won't start.

I have been trying to start the bot, but it just keeps erroring at the KSoft API key. Is there anyway I can remove this restriction?

Steps to reproduce the behavior:

  1. Open config.js
  2. Remove the KSoft API key.
  3. Start the bot.
  4. Bot shuts down.

Expected behavior
A clear and concise description of what you expected to happen.

The bot is supposed to start and work as intended.

  • OS: Windows 10

Error?

I filled out all the values in config.js and did all the things. I am getting an error -

Error: MANAGER_DESTROYED
    at WebSocketManager.destroy (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:333:54)
    at Client.destroy (/home/container/node_modules/discord.js/src/client/Client.js:236:13)
    at Client.login (/home/container/node_modules/discord.js/src/client/Client.js:225:12)
    at processTicksAndRejections (internal/process/task_queues.js:93:5) 

i am not sure what's the issue

Remove Image Folder.

While I was checking out the commands, I saw that your repo has two Image folders one is named Image and the other one is named as image both contain the same commands, So kindly remove one of the folders so It shouldn't affect anything.

Edit : There are two nsfw folders as well.

SHARDING_READY_DIED

I'm getting Sharding every launch

Error [SHARDING_READY_DIED]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (C:\Users\Desktop\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:158:16)
at Object.onceWrapper (node:events:485:26)
at Shard.emit (node:events:378:20)
at Shard._handleExit (C:\Users\Desktop\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:384:10)
at ChildProcess.emit (node:events:378:20)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) {
[Symbol(code)]: 'SHARDING_READY_DIED'

Autoplay feature

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Looking to add an autoplay feature to the music system, and want to find where this code would be best placed.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Add either an autoplay command or a toggle button on the current playing track.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

n/a

Additional context
Add any other context or screenshots about the feature request here.

Here is the code

async function autoplay(bot, player) {
    if (!player.queue || !player.queue.previous || player.queue.length > 0) return;

    const URL = `https://www.youtube.com/watch?v=${previoustrack.identifier}&list=RD${previoustrack.identifier}`;
    const response = await bot.manager.search(URL, previoustrack.requester);

    if (!response || response.loadType === 'LOAD_FAILED' || response.loadType !== 'PLAYLIST_LOADED') {
        bot.channels.cache.get(player.textChannel)
           .send("Found nothing related to the last song!").catch(() => { })
        player.destroy();
    }

    let newSong = response.tracks[Math.floor(Math.random() * Math.floor(response.tracks.length))];

    player.queue.add(newSong);
    return player.play();

and then this to call the function when a song ends?

bot.manager
.on("queueEnd", async (player) => {
   autoplay(bot, player);
});

I need help.

I don't know what's wrong

2021-06-12 17:29:23.879 WARN 4364 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
2021-06-12 17:29:23.901 ERROR 4364 --- [ main] lavalink.server.Launcher : Application failed

java.lang.UnsupportedClassVersionError: lavalink/server/info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_291]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_291]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_291]
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_291]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_291]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_291]
at lavalink.server.Launcher.getVersionInfo(Launcher.kt:50) [classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:49) [classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:119) ~[classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:43) ~[classes!/:na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at lavalink.server.Launcher.main(Launcher.kt:128) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_291]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_291]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_291]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_291]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [Lavalink.jar:na]

2021-06-12 17:29:23.903 ERROR 4364 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.UnsupportedClassVersionError: lavalink/server/info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_291]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_291]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_291]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_291]
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_291]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_291]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_291]
at lavalink.server.Launcher.getVersionInfo(Launcher.kt:50) [classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:49) [classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:119) ~[classes!/:na]
at lavalink.server.Launcher$main$1.onApplicationEvent(Launcher.kt:43) ~[classes!/:na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.1.9.RELEASE.jar!/:5.1.9.RELEASE]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) ~[spring-boot-2.1.8.RELEASE.jar!/:2.1.8.RELEASE]
at lavalink.server.Launcher.main(Launcher.kt:128) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_291]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_291]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_291]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_291]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [Lavalink.jar:na]

Not Running

image
see this please and help me resolve the issue

Website

the website is not loading for me for the bot

Start up error

when starting up the bot with all api keys in config.js it shows this

(node:6356) UnhandledPromiseRejectionWarning: Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready.
at Timeout.onTimeout (C:\Users\Syvel\Desktop\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:163:16)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
(Use node --trace-warnings ... to show where the warning was created)
(node:6356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[BUG] Rank command

Describe the bug
When running rank command, nothing shows

To Reproduce
Steps to reproduce the behavior:

  1. Go to a server the bot is on
  2. Run command rank

Expected behavior
Seeing what rank (or someones level) you are in channel.

Screenshots
I dont think screenshots are needed since if anyone simply runs the command, nothing shows.

Device (please complete the following information):

  • Windows 64x

shard error

I'm having these errors when starting the bot

Error [SHARDING_READY_TIMEOUT]: Shard 0's Client took too long to become ready.

Request failed with status code 400

Hi I want to contribute in your project.

Hey I have an idea like user prefix so that the user prefix is only prefix which can be used by user in any server. But I have one doubt that I was unable to find command handler

Help with joining Support Server.

I joined the discord server and I can't read any of the channels due to me having no role. How do I get into the server? I need some help with running the bot to help contribute. I sent a friend request to you already since I can't DM you either.

Security errors

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. install using npm i
    Expected behavior
    No errors

Screenshots

npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated i18next-node-fs-backend@2.1.3: replaced by i18next-fs-backend
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated axios@0.20.0: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410````

HELP ME!!!

C:\Users\ifoxy\Desktop\Bot\Lavalink>java -jar Lavalink.jar
2021-09-07 12:33:53.915 WARN 9404 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
2021-09-07 12:33:54.050 ERROR 9404 --- [ main] lavalink.server.Launcher : Application failed

java.lang.UnsupportedClassVersionError: lavalink/server/info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_301]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_301]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_301]
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_301]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_301]
at lavalink.server.Launcher.getVersionInfo(Launcher.kt:51) ~[classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:50) ~[classes!/:na]
at lavalink.server.Launcher.main$lambda-3(Launcher.kt:123) ~[classes!/:na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63) ~[spring-boot-2.5.0.jar!/:2.5.0]
at java.util.ArrayList.forEach(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:373) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:331) ~[spring-boot-2.5.0.jar!/:2.5.0]
at lavalink.server.Launcher.main(Launcher.kt:129) ~[classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_301]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_301]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_301]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) ~[Lavalink.jar:na]

2021-09-07 12:33:54.445 ERROR 9404 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.UnsupportedClassVersionError: lavalink/server/info/AppInfo has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_301]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader.access$100(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_301]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.8.0_301]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_301]
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_301]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151) ~[Lavalink.jar:na]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_301]
at lavalink.server.Launcher.getVersionInfo(Launcher.kt:51) [classes!/:na]
at lavalink.server.Launcher.getVersionInfo$default(Launcher.kt:50) [classes!/:na]
at lavalink.server.Launcher.main$lambda-3(Launcher.kt:123) [classes!/:na]
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) ~[spring-context-5.3.7.jar!/:5.3.7]
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63) ~[spring-boot-2.5.0.jar!/:2.5.0]
at java.util.ArrayList.forEach(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:373) ~[spring-boot-2.5.0.jar!/:2.5.0]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:331) ~[spring-boot-2.5.0.jar!/:2.5.0]
at lavalink.server.Launcher.main(Launcher.kt:129) [classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_301]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_301]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_301]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_301]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [Lavalink.jar:na]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [Lavalink.jar:na]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [Lavalink.jar:na]

C:\Users\ifoxy\Desktop\Bot\Lavalink>pause
Press any key to continue . . .

Error

I have an error, is this because of an old node.js version?

/home/runner/Discord-Bot-1/src/utils/EgglordEmbed.js:14
        const language = this.guild?.settings.Language ?? this.bot.config.defaultSettings.Language;
                                    ^

SyntaxError: Unexpected token '.'
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/home/runner/Discord-Bot-1/src/utils/index.js:2:9)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

I need help hosting the bot on replit pls talk to me in discord rubi#1111 ( my nitro ends tomorrow)

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • OS: [e.g. iOS, Window]
  • Browser [e.g. chrome, safari] ?
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Strange Error (Using Repl.it)

i keep getting this error:
[21:55:20]: LOG =-=-=-=-=-=-=- Loading command(s): 125 -=-=-=-=-=-=-=
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:84) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 5)
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:84) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined
at /home/runner/Discord-Bot/src/bot.js:14:34
at Array.forEach ()
at /home/runner/Discord-Bot/src/bot.js:13:13
(node:84) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
[21:55:20]: LOG =-=-=-=-=-=-=- Loading events(s): 27 -=-=-=-=-=-=-=
[21:55:20]: LOG Loading Event: debug
[21:55:20]: LOG Loading Event: emojiCreate
[21:55:20]: LOG Loading Event: emojiDelete
[21:55:20]: LOG Loading Event: emojiUpdate
[21:55:20]: LOG Loading Event: error
[21:55:20]: LOG Loading Event: guildBanAdd
[21:55:20]: LOG Loading Event: guildBanRemove
[21:55:20]: LOG Loading Event: guildDelete
[21:55:20]: LOG Loading Event: guildMemberAdd
[21:55:20]: LOG Loading Event: guildMemberRemove
[21:55:20]: LOG Loading Event: guildMemberUpdate
[21:55:20]: LOG Loading Event: guildUnavailable
[21:55:20]: LOG Loading Event: guildUpdate
[21:55:20]: LOG Loading Event: message
[21:55:20]: LOG Loading Event: messageDelete
[21:55:20]: LOG Loading Event: messageDeleteBulk
[21:55:20]: LOG Loading Event: messageReactionAdd
[21:55:20]: LOG Loading Event: messageReactionRemove
[21:55:20]: LOG Loading Event: messageUpdate
[21:55:20]: LOG Loading Event: ready
[21:55:20]: LOG Loading Event: roleCreate
[21:55:20]: LOG Loading Event: roleDelete
[21:55:20]: LOG Loading Event: roleUpdate
[21:55:20]: LOG Loading Event: shardDisconnect
[21:55:20]: LOG Loading Event: shardError
[21:55:20]: LOG Loading Event: voiceStateUpdate
[21:55:20]: LOG Loading Event: warn
CloseEvent {
target: WebSocket {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 4014,
_closeFrameReceived: true,
_closeFrameSent: true,
_closeMessage: 'Disallowed intent(s).',
_closeTimer: Timeout {
_idleTimeout: -1,
_idlePrev: null,
_idleNext: null,
_idleStart: 1320,
_onTimeout: null,
_timerArgs: undefined,
_repeat: null,
_destroyed: true,
[Symbol(refed)]: true,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 165,
[Symbol(triggerId)]: 105
},
_extensions: {},
_protocol: '',
_readyState: 3,
_receiver: Receiver {
_writableState: [WritableState],
writable: false,
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_extensions: {},
_isServer: false,
_maxPayload: 104857600,
_bufferedBytes: 0,
_buffers: [],
_compressed: false,
_payloadLength: 23,
_mask: undefined,
_fragmented: 0,
_masked: false,
_fin: true,
_opcode: 8,
_totalPayloadLength: 0,
_messageLength: 0,
_fragments: [],
_state: 0,
_loop: false,
[Symbol(kCapture)]: false,
[Symbol(websocket)]: [Circular]
},
_sender: Sender {
_extensions: {},
_socket: [TLSSocket],
_firstFragment: true,
_compress: false,
_bufferedBytes: 0,
_deflating: false,
_queue: []
},
_socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'gateway.discord.gg',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 5,
connecting: false,
_hadError: false,
_parent: null,
_host: 'gateway.discord.gg',
_readableState: [ReadableState],
readable: false,
_maxListeners: undefined,
_writableState: [WritableState],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: null,
timeout: 0,
write: [Function: writeAfterFIN],
[Symbol(res)]: null,
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(asyncId)]: 105,
[Symbol(kHandle)]: null,
[Symbol(kSetNoDelay)]: true,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 1085,
[Symbol(kBytesWritten)]: 589,
[Symbol(connect-options)]: [Object],
[Symbol(websocket)]: undefined
},
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url: 'wss://gateway.discord.gg/?v=6&encoding=json',
_req: null,
[Symbol(kCapture)]: false
},
type: 'close',
wasClean: true,
reason: 'Disallowed intent(s).',
code: 4014
}
0
[21:55:20]: ERROR Privileged intent provided is not enabled or whitelisted.
[21:55:20]: READY Mongoose connection successfully opened
(im also using repl.it to host the bot)

Unhandled promise rejection: Cannot send an empty message.

I'm getting this error after using the para-view command, I've added a playlist all right, but I can't see what songs it contains.
Screenshot_3

[19:44:54:943]: ERROR Unhandled promise rejection: Cannot send an empty message.
DiscordAPIError: Cannot send an empty message
    at RequestHandler.execute (/home/node/bot/node_modules/discord.js/src/rest/RequestHandler.js:298:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/node/bot/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async TextChannel.send (/home/node/bot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:171:15) {
  method: 'post',
  path: '/channels/769304180095451166/messages',
  code: 50006,
  httpStatus: 400,
  requestData: {
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: undefined,
      components: undefined,
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: undefined,
      flags: undefined,
      message_reference: undefined,
      attachments: undefined,
      sticker_ids: undefined
    },
    files: []
  }
}

SHADING_READY_DIED and another error

Describe the bug
These two error make the bot crash and sure don't work on my side
(node:7628) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency (Use node --trace-warnings ...to show where the warning was created) [10:04:29]: LOG =-=-=-=-=-=-=- Config file Verification -=-=-=-=-=-=-= [10:04:29]: LOG Verifing config.. Error: Invalid authentication credentials at Client.user (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\fortnite\src\Client.js:40:70) at processTicksAndRejections (node:internal/process/task_queues:94:5) at async Object.module.exports.run (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\src\scripts\verify-config.js:53:3) at async load (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\src\index.js:11:24) [10:04:29]: ERROR ✗ Fortnite API key is incorrect. [10:04:30]: ERROR ✗ Ksoft API key is incorrect. [10:04:30]: ERROR ✗ Steam API key is incorrect. [10:04:30]: LOG ✓ Discord Boat API key is missing. [10:04:30]: LOG ✓ Arcane Bot API key is missing. [10:04:30]: LOG ✓ Botlist Space API key is missing. [10:04:30]: ERROR ✗ Invalid Amethyste API key. MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27020 at NativeConnection.Connection.openUri (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\connection.js:844:32) at C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\index.js:345:10 at C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:5 at new Promise (<anonymous>) at promiseOrCallback (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\helpers\promiseOrCallback.js:30:10) at Mongoose._promiseOrCallback (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\index.js:1135:10) at Mongoose.connect (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\node_modules\mongoose\lib\index.js:344:20) at module.exports (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\src\scripts\update-database-v1.1.js:8:11) at load (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\src\index.js:5:50) at Object.<anonymous> (C:\[BOTS]\[RUN]\[en test]\Discord-Bot-master\src\index.js:34:3) at Module._compile (node:internal/modules/cjs/loader:1108:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) at Module.load (node:internal/modules/cjs/loader:973:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) at node:internal/main/run_main_module:17:47 { reason: TopologyDescription { type: 'Single', setName: null, maxSetVersion: null, maxElectionId: null, servers: Map(1) { 'localhost:27020' => [ServerDescription] }, stale: false, compatible: true, compatibilityError: null, logicalSessionTimeoutMinutes: null, heartbeatFrequencyMS: 10000, localThresholdMS: 15, commonWireVersion: null } } [10:04:59]: LOG ✓ Config has been verified. [10:04:59]: LOG =-=-=-=-=-=-=- Loading shard(s) -=-=-=-=-=-=-= [10:04:59]: LOG Shard 0 launched (node:12484) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency (Usenode --trace-warnings ...` to show where the warning was created)
[10:04:59]: LOG =-=-=-=-=-=-=- Loading command(s): 125 -=-=-=-=-=-=-=
[10:04:59]: LOG Loading Command: g-delete.
[10:04:59]: LOG Loading Command: g-edit.
[10:04:59]: LOG Loading Command: g-reroll.
[10:04:59]: LOG Loading Command: g-start.
[10:04:59]: LOG Loading Command: advice.
[10:04:59]: LOG Loading Command: fact.
[10:04:59]: LOG Loading Command: flip.
[10:04:59]: LOG Loading Command: meme.
[10:04:59]: LOG Loading Command: person.
[10:04:59]: LOG Loading Command: pokemon.
[10:04:59]: LOG Loading Command: random.
[10:04:59]: LOG Loading Command: reminder.
[10:04:59]: LOG Loading Command: rps.
[10:05:00]: ERROR Unable to load command screenshot.js: Error: Cannot find module 'valid-url'
Require stack:

  • C:[BOTS][RUN][en test]\Discord-Bot-master\src\commands\Fun\screenshot.js
  • C:[BOTS][RUN][en test]\Discord-Bot-master\src\base\Egglord.js
  • C:[BOTS][RUN][en test]\Discord-Bot-master\src\bot.js
    [10:05:00]: LOG Loading Command: urban.
    [10:05:00]: LOG Loading Command: avatar.
    [10:05:00]: LOG Loading Command: dashboard.
    [10:05:00]: LOG Loading Command: emojilist.
    [10:05:00]: LOG Loading Command: firstmessage.
    [10:05:00]: LOG Loading Command: guildicon.
    [10:05:00]: LOG Loading Command: poll.
    [10:05:00]: LOG Loading Command: roleinfo.
    [10:05:00]: LOG Loading Command: serverinfo.
    [10:05:00]: LOG Loading Command: user-info.
    [10:05:00]: LOG Loading Command: addban.
    [10:05:00]: LOG Loading Command: docs.
    [10:05:00]: LOG Loading Command: eval.
    [10:05:00]: LOG Loading Command: reload.
    [10:05:00]: LOG Loading Command: shutdown.
    [10:05:00]: LOG Loading Command: suggestion.
    [10:05:00]: ERROR Unable to load command test.js: Error: The module '\?\C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\canvas\build\Release\canvas.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 83. This version of Node.js requires
    NODE_MODULE_VERSION 88. Please try re-compiling or re-installing
    the module (for instance, using npm rebuild or npm install).
    [10:05:00]: LOG Loading Command: update.
    [10:05:00]: LOG Loading Command: blurpify.
    [10:05:00]: LOG Loading Command: captcha.
    [10:05:00]: LOG Loading Command: cat.
    [10:05:00]: LOG Loading Command: changemymind.
    [10:05:00]: LOG Loading Command: clyde.
    [10:05:00]: LOG Loading Command: deepfry.
    [10:05:00]: LOG Loading Command: dog.
    [10:05:00]: LOG Loading Command: generate.
    [10:05:00]: LOG Loading Command: img.
    [10:05:00]: LOG Loading Command: phcomment.
    [10:05:00]: LOG Loading Command: qrcode.
    [10:05:00]: LOG Loading Command: ship.
    [10:05:00]: LOG Loading Command: stickbug.
    [10:05:00]: LOG Loading Command: threats.
    [10:05:00]: LOG Loading Command: twitter.
    [10:05:00]: LOG Loading Command: whowouldwin.
    [10:05:00]: LOG Loading Command: leaderboard.
    [10:05:00]: ERROR Unable to load command rank.js: Error: The module '\?\C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\canvas\build\Release\canvas.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 83. This version of Node.js requires
    NODE_MODULE_VERSION 88. Please try re-compiling or re-installing
    the module (for instance, using npm rebuild or npm install).
    [10:05:00]: LOG Loading Command: about.
    [10:05:00]: LOG Loading Command: help.
    [10:05:00]: LOG Loading Command: invite.
    [10:05:00]: LOG Loading Command: privacy.
    [10:05:00]: LOG Loading Command: shorturl.
    [10:05:00]: LOG Loading Command: status.
    [10:05:00]: LOG Loading Command: support.
    [10:05:00]: LOG Loading Command: uptime.
    [10:05:00]: LOG Loading Command: ban.
    [10:05:00]: LOG Loading Command: clear-warning.
    [10:05:00]: LOG Loading Command: clear.
    [10:05:00]: LOG Loading Command: deafen.
    [10:05:00]: LOG Loading Command: dm.
    [10:05:00]: LOG Loading Command: kick.
    [10:05:00]: LOG Loading Command: mute.
    [10:05:00]: LOG Loading Command: nick.
    [10:05:00]: LOG Loading Command: report.
    [10:05:00]: LOG Loading Command: slowmode.
    [10:05:00]: LOG Loading Command: unban.
    [10:05:00]: LOG Loading Command: undeafen.
    [10:05:00]: LOG Loading Command: unmute.
    [10:05:00]: LOG Loading Command: warn.
    [10:05:00]: LOG Loading Command: warnings.
    [10:05:00]: LOG Loading Command: back.
    [10:05:00]: ERROR Unable to load command bassboost.js: TypeError: require(...) is not a constructor
    [10:05:00]: LOG Loading Command: dc.
    [10:05:00]: LOG Loading Command: fast-forward.
    [10:05:00]: LOG Loading Command: join.
    [10:05:00]: LOG Loading Command: loop.
    [10:05:00]: LOG Loading Command: lyrics.
    [10:05:00]: LOG Loading Command: move.
    [10:05:00]: ERROR Unable to load command nightcore.js: TypeError: require(...) is not a constructor
    [10:05:00]: LOG Loading Command: np.
    [10:05:00]: LOG Loading Command: pause.
    [10:05:00]: LOG Loading Command: play.
    [10:05:00]: LOG Loading Command: queue.
    [10:05:00]: LOG Loading Command: remove.
    [10:05:00]: LOG Loading Command: resume.
    [10:05:00]: LOG Loading Command: rewind.
    [10:05:00]: LOG Loading Command: search.
    [10:05:00]: LOG Loading Command: seek.
    [10:05:00]: LOG Loading Command: shuffle.
    [10:05:00]: LOG Loading Command: skip.
    [10:05:00]: LOG Loading Command: speed.
    [10:05:00]: ERROR Unable to load command vaporwave.js: TypeError: require(...) is not a constructor
    [10:05:00]: LOG Loading Command: volume.
    [10:05:00]: LOG Loading Command: serverstats.
    [10:05:00]: LOG Loading Command: setlang.
    [10:05:00]: LOG Loading Command: set-level.
    [10:05:00]: LOG Loading Command: set-logs.
    [10:05:00]: LOG Loading Command: set-moderation.
    [10:05:00]: LOG Loading Command: set-music.
    [10:05:00]: LOG Loading Command: set-nsfw.
    [10:05:00]: LOG Loading Command: set-search.
    [10:05:00]: LOG Loading Command: 4k.
    [10:05:00]: LOG Loading Command: anal.
    [10:05:00]: LOG Loading Command: ass.
    [10:05:00]: LOG Loading Command: boobs.
    [10:05:00]: LOG Loading Command: pgif.
    [10:05:00]: LOG Loading Command: gonewild.
    [10:05:00]: LOG Loading Command: hneko.
    [10:05:00]: LOG Loading Command: pussy.
    [10:05:00]: LOG Loading Command: thigh.
    [10:05:00]: ERROR Unable to load command start-record.js: TypeError: require(...) is not a constructor
    [10:05:00]: ERROR Unable to load command stop-recording.js: TypeError: require(...) is not a constructor
    [10:05:00]: LOG Loading Command: fortnite.
    [10:05:00]: LOG Loading Command: instagram.
    [10:05:00]: LOG Loading Command: mc.
    [10:05:00]: LOG Loading Command: r6.
    [10:05:00]: LOG Loading Command: reddit.
    [10:05:00]: LOG Loading Command: steam.
    [10:05:00]: LOG Loading Command: twitch.
    [10:05:00]: LOG Loading Command: weather.
    [10:05:00]: LOG Loading Command: ticket-close.
    [10:05:00]: LOG Loading Command: ticket-create.
    [10:05:00]: LOG Loading Command: ticket-setup.
    [10:05:00]: LOG Loading Command: ticket.
    [10:05:00]: LOG =-=-=-=-=-=-=- Loading events(s): 31 -=-=-=-=-=-=-=
    [10:05:00]: LOG Loading Event: channelCreate
    [10:05:00]: LOG Loading Event: channelDelete
    [10:05:00]: LOG Loading Event: channelUpdate
    [10:05:00]: LOG Loading Event: debug
    [10:05:00]: LOG Loading Event: emojiCreate
    [10:05:00]: LOG Loading Event: emojiDelete
    [10:05:00]: LOG Loading Event: emojiUpdate
    [10:05:00]: LOG Loading Event: error
    [10:05:00]: LOG Loading Event: guildBanAdd
    [10:05:00]: LOG Loading Event: guildBanRemove
    [10:05:00]: LOG Loading Event: guildCreate
    [10:05:00]: LOG Loading Event: guildDelete
    [10:05:00]: LOG Loading Event: guildMemberAdd
    [10:05:00]: LOG Loading Event: guildMemberRemove
    [10:05:00]: LOG Loading Event: guildMemberUpdate
    [10:05:00]: LOG Loading Event: guildUnavailable
    [10:05:00]: LOG Loading Event: guildUpdate
    [10:05:00]: LOG Loading Event: message
    [10:05:00]: LOG Loading Event: messageDelete
    [10:05:00]: LOG Loading Event: messageDeleteBulk
    [10:05:00]: LOG Loading Event: messageReactionAdd
    [10:05:00]: LOG Loading Event: messageReactionRemove
    [10:05:00]: LOG Loading Event: messageUpdate
    [10:05:00]: LOG Loading Event: ready
    [10:05:00]: LOG Loading Event: roleCreate
    [10:05:00]: LOG Loading Event: roleDelete
    [10:05:00]: LOG Loading Event: roleUpdate
    [10:05:00]: LOG Loading Event: shardDisconnect
    [10:05:00]: LOG Loading Event: shardError
    [10:05:00]: LOG Loading Event: voiceStateUpdate
    [10:05:00]: LOG Loading Event: warn
    C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\erela.js-spotify\node_modules\axios\lib\core\createError.js:16 var error = new Error(message);
    ^

Error: Request failed with status code 400
at createError (C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\erela.js-spotify\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\erela.js-spotify\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\erela.js-spotify\node_modules\axios\lib\adapters\http.js:244:11)
at IncomingMessage.emit (node:events:391:22)
at endReadableNT (node:internal/streams/readable:1307:12)
at processTicksAndRejections (node:internal/process/task_queues:81:21) {
config: {
url: 'https://accounts.spotify.com/api/token',
method: 'post',
data: 'grant_type=client_credentials',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus]
},
request: <ref *2> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: SecureContext { context: SecureContext {}, singleUse: true },
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [
[Function: onSocketCloseDestroySSL],
[Function: bound onceWrapper] {
listener: [Function (anonymous)]
},
[Function: onClose],
[Function: socketCloseListener]
],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function: bound onceWrapper] { listener: [Function: destroy] }
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: {
'http:': {
_connectionListener: [Function: connectionListener],
METHODS: [Array],
STATUS_CODES: [Object],
Agent: [Function],
ClientRequest: [Function: ClientRequest],
IncomingMessage: [Function: IncomingMessage],
OutgoingMessage: [Function: OutgoingMessage],
Server: [Function: Server],
ServerResponse: [Function: ServerResponse],
createServer: [Function: createServer],
validateHeaderName: [Function: _node_internal],
validateHeaderValue: [Function: _node_internal],
get: [Function: get],
request: [Function: request],
maxHeaderSize: [Getter],
globalAgent: [Getter/Setter]
},
'https:': {
Agent: [Function: Agent],
globalAgent: [Agent],
Server: [Function: Server],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request]
}
},
pathname: '/api/token',
_defaultAgent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: { path: null },
requests: {},
sockets: { 'accounts.spotify.com:443:::::::::::::::::::::': [Array] },
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: { map: [Object], list: [Array] },
[Symbol(kCapture)]: false
},
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
_header: 'POST /api/token HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Authorization: Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==\r\n' +
'User-Agent: axios/0.20.0\r\n' +
'Content-Length: 29\r\n' +
'Host: accounts.spotify.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: {},
agent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: { path: null },
requests: {},
sockets: {
'accounts.spotify.com:443:::::::::::::::::::::': [
<ref *1> TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: [ReadableState],
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: [TLSWrap],
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object],
[Symbol(RequestTimeout)]: undefined
}
]
},
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: {
map: {
'accounts.spotify.com:443:::::::::::::::::::::': Buffer(1934) [Uint8Array] [
48, 130, 7, 138, 2, 1, 1, 2, 2, 3, 4, 4,
2, 19, 2, 4, 32, 135, 165, 118, 196, 13, 8, 69,
241, 210, 204, 161, 189, 19, 198, 6, 140, 118, 1, 203,
83, 79, 160, 66, 233, 227, 109, 18, 2, 65, 191, 77,
91, 4, 48, 124, 3, 106, 253, 220, 234, 242, 137, 239,
67, 190, 181, 160, 21, 89, 191, 59, 230, 20, 171, 103,
168, 32, 255, 47, 202, 40, 85, 211, 115, 17, 186, 107,
54, 174, 65, 102, 193, 163, 212, 105, 134, 220, 207, 227,
27, 216, 185, 161,
... 1834 more items
]
},
list: [ 'accounts.spotify.com:443:::::::::::::::::::::' ]
},
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/api/token',
_ended: true,
res: IncomingMessage {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: true,
endEmitted: true,
reading: false,
constructed: true,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: true,
autoDestroy: false,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: true,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_events: [Object: null prototype] {
end: [ [Function: responseOnEnd], [Function: handleStreamEnd] ],
data: [Function: handleStreamData],
error: [Function: handleStreamError]
},
_eventsCount: 3,
_maxListeners: undefined,
socket: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: SecureContext { context: SecureContext {}, singleUse: true },
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [
[Function: onSocketCloseDestroySSL],
[Function],
[Function: onClose],
[Function: socketCloseListener]
],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function: bound onceWrapper] {
listener: [Function: destroy]
}
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: { 'http:': [Object], 'https:': [Object] },
pathname: '/api/token',
_defaultAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [
'date',
'Tue, 09 Mar 2021 15:05:00 GMT',
'content-type',
'application/json',
'Content-Length',
'63',
'set-cookie',
'__Host-device_id=AQDAXXmLO3kswbNIOboGp-kKGh7WwX3w5nhIAPj9IzLJpHAlO393XcBenBtWrTtoyPWI2kLNN4LCgwgS7nG6fIKo5cQfPDUgOvI;Version=1;Path=/;Max-Age=2147483647;Secure;HttpOnly;SameSite=Lax',
'sp-trace-id',
'536bc71d7f4c0c7d',
'strict-transport-security',
'max-age=31536000',
'x-content-type-options',
'nosniff',
'vary',
'Accept-Encoding',
'server',
'envoy',
'Via',
'HTTP/2 edgeproxy, 1.1 google',
'Alt-Svc',
'clear',
'Connection',
'close'
],
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: SecureContext { context: SecureContext {}, singleUse: true },
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [
[Function: onSocketCloseDestroySSL],
[Function],
[Function: onClose],
[Function: socketCloseListener]
],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function: bound onceWrapper] {
listener: [Function: destroy]
}
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: { 'http:': [Object], 'https:': [Object] },
pathname: '/api/token',
_defaultAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
_consuming: false,
_dumped: false,
req: [Circular *2],
responseUrl: 'https://accounts.spotify.com/api/token',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: {
date: 'Tue, 09 Mar 2021 15:05:00 GMT',
'content-type': 'application/json',
'content-length': '63',
'set-cookie': [
'__Host-device_id=AQDAXXmLO3kswbNIOboGp-kKGh7WwX3w5nhIAPj9IzLJpHAlO393XcBenBtWrTtoyPWI2kLNN4LCgwgS7nG6fIKo5cQfPDUgOvI;Version=1;Path=/;Max-Age=2147483647;Secure;HttpOnly;SameSite=Lax'
],
'sp-trace-id': '536bc71d7f4c0c7d',
'strict-transport-security': 'max-age=31536000',
'x-content-type-options': 'nosniff',
vary: 'Accept-Encoding',
server: 'envoy',
via: 'HTTP/2 edgeproxy, 1.1 google',
'alt-svc': 'clear',
connection: 'close'
},
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0,
[Symbol(RequestTimeout)]: undefined
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounts.spotify.com',
protocol: 'https:',
_redirectable: Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: '/api/token',
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: null,
nativeProtocols: {
'http:': {
_connectionListener: [Function: connectionListener],
METHODS: [Array],
STATUS_CODES: [Object],
Agent: [Function],
ClientRequest: [Function: ClientRequest],
IncomingMessage: [Function: IncomingMessage],
OutgoingMessage: [Function: OutgoingMessage],
Server: [Function: Server],
ServerResponse: [Function: ServerResponse],
createServer: [Function: createServer],
validateHeaderName: [Function: _node_internal],
validateHeaderValue: [Function: _node_internal],
get: [Function: get],
request: [Function: request],
maxHeaderSize: [Getter],
globalAgent: [Getter/Setter]
},
'https:': {
Agent: [Function: Agent],
globalAgent: [Agent],
Server: [Function: Server],
createServer: [Function: createServer],
get: [Function: get],
request: [Function: request]
}
},
pathname: '/api/token'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 29,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *2],
_currentUrl: 'https://accounts.spotify.com/api/token',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [ 'Accept', 'application/json, text/plain, /' ],
'content-type': [ 'Content-Type', 'application/x-www-form-urlencoded' ],
authorization: [ 'Authorization', 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==' ],
'user-agent': [ 'User-Agent', 'axios/0.20.0' ],
'content-length': [ 'Content-Length', 29 ],
host: [ 'Host', 'accounts.spotify.com' ]
}
},
response: {
status: 400,
statusText: 'Bad Request',
headers: {
date: 'Tue, 09 Mar 2021 15:05:00 GMT',
'content-type': 'application/json',
'content-length': '63',
'set-cookie': [
'__Host-device_id=AQDAXXmLO3kswbNIOboGp-kKGh7WwX3w5nhIAPj9IzLJpHAlO393XcBenBtWrTtoyPWI2kLNN4LCgwgS7nG6fIKo5cQfPDUgOvI;Version=1;Path=/;Max-Age=2147483647;Secure;HttpOnly;SameSite=Lax'
],
'sp-trace-id': '536bc71d7f4c0c7d',
'strict-transport-security': 'max-age=31536000',
'x-content-type-options': 'nosniff',
vary: 'Accept-Encoding',
server: 'envoy',
via: 'HTTP/2 edgeproxy, 1.1 google',
'alt-svc': 'clear',
connection: 'close'
},
config: {
url: 'https://accounts.spotify.com/api/token',
method: 'post',
data: 'grant_type=client_credentials',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
validateStatus: [Function: validateStatus]
},
request: <ref *2> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: SecureContext { context: SecureContext {}, singleUse: true },
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [
[Function: onSocketCloseDestroySSL],
[Function],
[Function: onClose],
[Function: socketCloseListener]
],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function: bound onceWrapper] {
listener: [Function: destroy]
}
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: TCP {
reading: [Getter/Setter],
onconnection: null,
[Symbol(owner_symbol)]: [Circular *1]
},
_parentWrap: undefined,
_secureContext: SecureContext { context: SecureContext {}, singleUse: true },
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: { 'http:': [Object], 'https:': [Object] },
pathname: '/api/token',
_defaultAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
_header: 'POST /api/token HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Authorization: Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==\r\n' +
'User-Agent: axios/0.20.0\r\n' +
'Content-Length: 29\r\n' +
'Host: accounts.spotify.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: {},
agent: Agent {
_events: [Object: null prototype] {
free: [Function (anonymous)],
newListener: [Function: maybeEnableKeylog]
},
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: { path: null },
requests: {},
sockets: {
'accounts.spotify.com:443:::::::::::::::::::::': [ [TLSSocket] ]
},
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 1,
maxCachedSessions: 100,
_sessionCache: {
map: {
'accounts.spotify.com:443:::::::::::::::::::::': [Buffer [Uint8Array]]
},
list: [ 'accounts.spotify.com:443:::::::::::::::::::::' ]
},
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/api/token',
_ended: true,
res: IncomingMessage {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: true,
ended: true,
endEmitted: true,
reading: false,
constructed: true,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: true,
autoDestroy: false,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: true,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_events: [Object: null prototype] {
end: [ [Function: responseOnEnd], [Function: handleStreamEnd] ],
data: [Function: handleStreamData],
error: [Function: handleStreamError]
},
_eventsCount: 3,
_maxListeners: undefined,
socket: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: [SecureContext],
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [Array],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function]
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [BufferList],
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: [Object],
pathname: '/api/token',
_defaultAgent: [Agent],
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [
'date',
'Tue, 09 Mar 2021 15:05:00 GMT',
'content-type',
'application/json',
'Content-Length',
'63',
'set-cookie',
'__Host-device_id=AQDAXXmLO3kswbNIOboGp-kKGh7WwX3w5nhIAPj9IzLJpHAlO393XcBenBtWrTtoyPWI2kLNN4LCgwgS7nG6fIKo5cQfPDUgOvI;Version=1;Path=/;Max-Age=2147483647;Secure;HttpOnly;SameSite=Lax',
'sp-trace-id',
'536bc71d7f4c0c7d',
'strict-transport-security',
'max-age=31536000',
'x-content-type-options',
'nosniff',
'vary',
'Accept-Encoding',
'server',
'envoy',
'Via',
'HTTP/2 edgeproxy, 1.1 google',
'Alt-Svc',
'clear',
'Connection',
'close'
],
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: <ref *1> TLSSocket {
_tlsOptions: {
allowHalfOpen: undefined,
pipe: false,
secureContext: [SecureContext],
isServer: false,
requestCert: true,
rejectUnauthorized: true,
session: undefined,
ALPNProtocols: undefined,
requestOCSP: undefined,
enableTrace: undefined,
pskCallback: undefined,
highWaterMark: undefined,
onread: undefined
},
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'accounts.spotify.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype] {
close: [Array],
end: [Function: onReadableStreamEnd],
newListener: [Function: keylogNewListener],
secure: [Function: onConnectSecure],
session: [Function (anonymous)],
free: [Function: onFree],
timeout: [Function: onTimeout],
agentRemove: [Function: onRemove],
error: [Function: socketErrorListener],
finish: [Function]
},
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'accounts.spotify.com',
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [BufferList],
length: 0,
pipes: [],
flowing: true,
ended: false,
endEmitted: false,
reading: true,
constructed: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: false
},
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: true,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: false,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: false,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *2],
[Symbol(res)]: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 58,
[Symbol(kHandle)]: TLSWrap {
_parent: [TCP],
_parentWrap: undefined,
_secureContext: [SecureContext],
reading: true,
onkeylog: [Function: onkeylog],
onhandshakestart: {},
onhandshakedone: [Function (anonymous)],
onocspresponse: [Function: onocspresponse],
onnewsession: [Function: onnewsessionclient],
onerror: [Function: onerror],
[Symbol(owner_symbol)]: [Circular *1]
},
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: {
rejectUnauthorized: true,
ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
checkServerIdentity: [Function: checkServerIdentity],
minDHSize: 1024,
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: null,
method: 'POST',
headers: [Object],
agent: undefined,
agents: [Object],
auth: undefined,
hostname: 'accounts.spotify.com',
port: 443,
nativeProtocols: [Object],
pathname: '/api/token',
_defaultAgent: [Agent],
host: 'accounts.spotify.com',
servername: 'accounts.spotify.com',
_agentKey: 'accounts.spotify.com:443:::::::::::::::::::::',
encoding: null,
singleUse: true
},
[Symbol(RequestTimeout)]: undefined
},
_consuming: false,
_dumped: false,
req: [Circular *2],
responseUrl: 'https://accounts.spotify.com/api/token',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: {
date: 'Tue, 09 Mar 2021 15:05:00 GMT',
'content-type': 'application/json',
'content-length': '63',
'set-cookie': [
'__Host-device_id=AQDAXXmLO3kswbNIOboGp-kKGh7WwX3w5nhIAPj9IzLJpHAlO393XcBenBtWrTtoyPWI2kLNN4LCgwgS7nG6fIKo5cQfPDUgOvI;Version=1;Path=/;Max-Age=2147483647;Secure;HttpOnly;SameSite=Lax'
],
'sp-trace-id': '536bc71d7f4c0c7d',
'strict-transport-security': 'max-age=31536000',
'x-content-type-options': 'nosniff',
vary: 'Accept-Encoding',
server: 'envoy',
via: 'HTTP/2 edgeproxy, 1.1 google',
'alt-svc': 'clear',
connection: 'close'
},
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0,
[Symbol(RequestTimeout)]: undefined
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounts.spotify.com',
protocol: 'https:',
_redirectable: Writable {
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: false,
ended: false,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: true,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 0,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
_options: {
maxRedirects: 21,
maxBodyLength: 10485760,
protocol: 'https:',
path: '/api/token',
method: 'POST',
headers: {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA==',
'User-Agent': 'axios/0.20.0',
'Content-Length': 29
},
agent: undefined,
agents: { http: undefined, https: undefined },
auth: undefined,
hostname: 'accounts.spotify.com',
port: null,
nativeProtocols: { 'http:': [Object], 'https:': [Object] },
pathname: '/api/token'
},
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 29,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *2],
_currentUrl: 'https://accounts.spotify.com/api/token',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [ 'Accept', 'application/json, text/plain, /' ],
'content-type': [ 'Content-Type', 'application/x-www-form-urlencoded' ],
authorization: [
'Authorization',
'Basic c3BvdGlmeS1JRDpzcG90aWZ5LXNlY3JldA=='
],
'user-agent': [ 'User-Agent', 'axios/0.20.0' ],
'content-length': [ 'Content-Length', 29 ],
host: [ 'Host', 'accounts.spotify.com' ]
}
},
data: { error: 'invalid_client', error_description: 'Invalid client' }
},
isAxiosError: true,
toJSON: [Function: toJSON]
}
C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:158
reject(new Error('SHARDING_READY_DIED', this.id));
^

Error [SHARDING_READY_DIED]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:158:16) at Object.onceWrapper (node:events:486:26)
at Shard.emit (node:events:379:20)
at Shard._handleExit (C:[BOTS][RUN][en test]\Discord-Bot-master\node_modules\discord.js\src\sharding\Shard.js:384:10)
at ChildProcess.emit (node:events:379:20)
at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12) {
[Symbol(code)]: 'SHARDING_READY_DIED'
}`
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'config.js'
  2. Click on 'add information for the bot'
  3. Scroll down to 'start the bot'
  4. wait 30sec
  5. and you will se th error coming up

Expected behavior
When I start the bot evrething work but afther 30seconds I got these error

Screenshots
11111111111111111
22222222222222

Device (please complete the following information):

  • OS: [Window 10 VPS]
  • Browser [chrome]

Feature request

Queue should show previous songs also as like groovy bot.

Adding new category commands or renameing category

Hey I am adding my own Bot hosting commands and I made a new category and I have changed the category of host commands.
when I changed the name of a category or when I create a new category those commands are not working can you please help me...!

startup error

hello sir,

i get this error

08:13:20]: READY Mongoose connection successfully opened
/root/prottoy/node_modules/mongodb/lib/cmap/connection.js:268
callback(new MongoError(document));
^

MongoError: not authorized on prottoy to execute command { find: "giveaways", filter: {}, projection: {}, returnKey: false, showRecordId: false }
at MessageStream.messageHandler (/root/prottoy/node_modules/mongodb/lib/cmap/connection.js:268:20)
at MessageStream.emit (node:events:378:20)
at processIncomingData (/root/prottoy/node_modules/mongodb/lib/cmap/message_stream.js:144:12)
at MessageStream._write (/root/prottoy/node_modules/mongodb/lib/cmap/message_stream.js:42:5)
at writeOrBuffer (node:internal/streams/writable:400:12)
at _write (node:internal/streams/writable:341:10)
at MessageStream.Writable.write (node:internal/streams/writable:345:10)
at Socket.ondata (node:internal/streams/readable:750:22)
at Socket.emit (node:events:378:20)
at addChunk (node:internal/streams/readable:313:12)
at readableAddChunk (node:internal/streams/readable:288:9)
at Socket.Readable.push (node:internal/streams/readable:227:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
ok: 0,
code: 13
}

thx

mongodb connect

hello sir im trying to self host your bot but i dont know how to connect mongodb i have installed mongodb on my server ....

will you plz tell me how to do ....

thx
best regards

Bug: ERROR Lavalink node: '127.0.0.1', has error: 'connect ECONNREFUSED 127.0.0.1:5000'.

BUG description
I'm getting:

ERROR Lavalink node: '127.0.0.1', has error: 'connect ECONNREFUSED 127.0.0.1:5000'.

All my requirements, port permissions and configurations are properly set. I've tried all localhost, 127.0.0.1 and even public IP address, but with no luck.

Checking /src/Lavalink/logs/spring.log file I found this:

2021-08-01 19:33:54.020 ERROR 25165 --- [XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl     : Authentication failed from /127.0.0.1:56168

My configuration
Here is my /src/Lavalink/application.yml:

server: # REST and WS server
  port: 5000
  address: 0.0.0.0

lavalink:
  server:
    password: "youshallnotpass"
    playerUpdateInterval: 1 # How frequently to send player updates to clients, in seconds
...

Here is my /src/base/Audio-Manager.js:

...
 nodes: [
             { host: '127.0.0.1', port: 5000, password: 'youshallnotpass' },
 ],

Here is my /etc/systemd/system/lavalink.service service:

[Unit]
Description = Lavalink Service
After=network.target = Lavalink.service

[Service]
Type = forking
Restart=always
RestartSec=1
SuccessExitStatus=143
ExecStart = /usr/local/bin/lavalink.sh start
ExecStop = /usr/local/bin/lavalink.sh stop
ExecReload = /usr/local/bin/lavalink.sh reload

[Install]
WantedBy=multi-user.target

Reproduce
Steps to reproduce the behavior:

  1. Follow default installation instructions and setup bot with Lavalink.
  2. Make Lavalink service in /etc/systemd/system and start it systemctl start lavalink
  3. Using pm2 add and start node .
  4. And wait for logs to prompt error mentioned above.

Expected behavior
Working Lavalink server and connectable bot node serice to 127.0.0.1, localhost or public IP address.

Device:

  • OS: CentOS 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.