after the latest release, it seem the bug on setup channel still exist and doest fixed. i've tried to fixed but another bug come after. So the setup channel messate after the setup command execute will suddently dissapear after 3 or 4 secs. Also, can u make the bot default source is spotify instead of youtube?
SyntaxError: Unexpected token in JSON at position 0
at JSON.parse ()
at Y.json (/mnt/privatexd/node_modules/petitio/dist/index.js:30:574)
at ke.json (/mnt/privatexd/node_modules/petitio/dist/index.js:30:2499)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (/home/runner/NanoSpacePlus/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async MainClient.login (/home/runner/NanoSpacePlus/node_modules/discord.js/src/client/Client.js:232:7) {
code: 'DisallowedIntents'
}
MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
at NativeConnection.Connection.openUri (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/connection.js:847:32)
at /home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:351:10
at /home/runner/NanoSpacePlus/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5
at new Promise ()
at promiseOrCallback (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)
at Mongoose._promiseOrCallback (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:1149:10)
at Mongoose.connect (/home/runner/NanoSpacePlus/node_modules/mongoose/lib/index.js:350:20)
at module.exports (/home/runner/NanoSpacePlus/handlers/Database/loadDatabase.js:6:24)
at module.exports (/home/runner/NanoSpacePlus/handlers/loadDatabase.js:4:42)
at /home/runner/NanoSpacePlus/nanospace.js:53:103
at Array.forEach ()
at new MainClient (/home/runner/NanoSpacePlus/nanospace.js:53:64)
at Object. (/home/runner/NanoSpacePlus/index.js:2:16)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32) {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map(1) { '127.0.0.1:27017' => [ServerDescription] },
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}
Error when someone plays a song using command or uses play command buttons.
TypeError: channel.isTextBased is not a function at InteractionCreateAction.handle (/home/murali/NanoSpacePlus/node_modules/discord.js/src/client/actions/InteractionCreate.js:50:33) at module.exports [as INTERACTION_CREATE] (/home/murali/NanoSpacePlus/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) at WebSocketManager.handlePacket (/home/murali/NanoSpacePlus/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31) at WebSocketShard.onPacket (/home/murali/NanoSpacePlus/node_modules/discord.js/src/client/websocket/WebSocketShard.js:489:22) at WebSocketShard.onMessage (/home/murali/NanoSpacePlus/node_modules/discord.js/src/client/websocket/WebSocketShard.js:328:10) at callListener (/home/murali/NanoSpacePlus/node_modules/ws/lib/event-target.js:290:14) at WebSocket.onMessage (/home/murali/NanoSpacePlus/node_modules/ws/lib/event-target.js:209:9) at WebSocket.emit (node:events:513:28) at Receiver.receiverOnMessage (/home/murali/NanoSpacePlus/node_modules/ws/lib/websocket.js:1180:20) at Receiver.emit (node:events:513:28) at Receiver.dataMessage (/home/murali/NanoSpacePlus/node_modules/ws/lib/receiver.js:541:14) at Receiver.getData (/home/murali/NanoSpacePlus/node_modules/ws/lib/receiver.js:459:17) at Receiver.startLoop (/home/murali/NanoSpacePlus/node_modules/ws/lib/receiver.js:158:22) at Receiver._write (/home/murali/NanoSpacePlus/node_modules/ws/lib/receiver.js:84:10) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10)
In this discord bot template have Locales system (i18n)
And i copy it to my project, but when i try to use cmd with locales like NanoSpacePlus, i always get error like Section 'information' not found in locale 'en' message from bot.