adivise / nanospaceplus Goto Github PK
View Code? Open in Web Editor NEWErela.js & Discord.JS@v14 (Slash Commands!)
Home Page: https://adivise.github.io/Stylish/
License: Apache License 2.0
Erela.js & Discord.JS@v14 (Slash Commands!)
Home Page: https://adivise.github.io/Stylish/
License: Apache License 2.0
Hey i have question
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.
So how to fixed?
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)
can you make the autoplay commands not for premium server plz (everyone can use it) plz❤
this is full error code when I use "lavalink" command
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\Charles\Desktop\openai\node_modules\@discordjs\rest\dist\index.js:719:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\Charles\Desktop\openai\node_modules\@discordjs\rest\dist\index.js:820:23)
at async _REST.request (C:\Users\Charles\Desktop\openai\node_modules\@discordjs\rest\dist\index.js:1256:22)
at async ChatInputCommandInteraction.deferReply (C:\Users\Charles\Desktop\openai\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:69:5)
at async Object.run (C:\Users\Charles\Desktop\openai\commands\Utility\LavaLink.js:23:9) {
requestBody: { files: undefined, json: { type: 5, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1191684783554695229/aW50ZXJhY3Rpb246MTE5MTY4NDc4MzU1NDY5NTIyOTpBaTYxalhVT3JUUUUxaE44clhYcmFkRG53alNBMzRjZndhbnc3U0dsbHlIdDEzdUJHU3lmbFVuWUFMWDBRbWlqbnI2ZGhiTXozS2gwam1YbnVnR0dUbEpXZVBTcUk5MDVCWkZkdVpNWGlhSHl4V0hkUmM1dTR3NWlpdDZ4RG1Nag/callback'
}
[ERROR] Node NanoSpace Errored!
[WARN] Node NanoSpace Disconnected!
[WARN] Node NanoSpace Reconnected!
Add removedupes for similar songs to your playlists.
Please add [addsimilar, searchsimilar, unshuffle, playprevious, voteskip, forceskip] cmds
i want in new update prefix & slash commands
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?
Update the Mongoose
module to version 6.7.2
as it is deprecated
when I enter / then there are no commands as it was written there is simply no fix
FAQ | (MOST) QUESTIONS! ❓
Simple: Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
Answer: https://gist.github.com/Adivise/ed4425f52cad9fd29614e3e021e3e297
Simple: MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
Answer: https://gist.github.com/Adivise/698d17a403c58d134354df3dddbc9032
Simple: Cannot see Application Commands (Slash Commands!)
Answer: Adivise/SpaceSocial#1
Simple: RangeError: No available nodes.
Answer: Change to anther nodes (Lavalink) Server
Simple: Error: Cannot find module 'node:events'
Answer: Go download node.js last version!
Simple: SyntaxError: Unexpected token in JSON at position 0
Answer: Adivise/NanoSpace#29
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
}
}
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.