kabirsingh2004 / all-in-one-discord-bot Goto Github PK
View Code? Open in Web Editor NEWRock Official - Advance Discord Bot With Advance Moderation , Advance Music System , Much More
Rock Official - Advance Discord Bot With Advance Moderation , Advance Music System , Much More
Almost everything from that bot is stolen from my bot which is copyrighted
Either u delete this repo, give credits or i request a dmca take down request which is worse.
U decide
My links:
https://discord.gg/milrato
https://milrato.eu
https://github.com/Tomato6966
U decide how u give me credits ^^
Thanks + imma give u a few days...
cant host when i put the web url on thats not working what should i do
nb: not host issue
@kabirsingh2004
When nowplaying
command is used an error is thrown saying no bg.png file , please add that image file
Error:
/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:91
SetSource.call(img, src)
^
Error: ENOENT, No such file or directory './bg.png'
at setSource (/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:91:13)
at Image.set (/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:62:9)
at /home/runner/all-in-one-discord-bot/node_modules/canvas/index.js:34:15
at new Promise (<anonymous>)
at Object.loadImage (/home/runner/all-in-one-discord-bot/node_modules/canvas/index.js:23:10)
at Object.run (/home/runner/all-in-one-discord-bot/commands/music/nowplaying.js:111:37)
at Client.<anonymous> (/home/runner/all-in-one-discord-bot/events/message.js:23:24)
at Client.emit (node:events:402:35)
at MessageCreateAction.handle (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocket.onMessage (/home/runner/all-in-one-discord-bot/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (node:events:390:28)
at Receiver.receiverOnMessage (/home/runner/all-in-one-discord-bot/node_modules/ws/lib/websocket.js:1059:20) {
errno: 2,
code: 'ENOENT',
path: './bg.png',
syscall: 'fopen'
}
exit status 1
cannot host on vps
Moderation Commands are available for normal users.
When i clone the git and then ran it, it started install distube since it is there in the code but not in package files (its obvious i know).
So it started installing distube and since it is installing distube which means that it will isntall latest version so the latest version requires python which i don't have. how can python be used in vps. There can be only 1 thing that is Node.js
Please tell the distube version you used to make this bot.
Error:
--> npm install distube
npm WARN deprecated @distube/youtube-dl@2.2.4: Use '@distube/yt-dlp' instead
npm WARN deprecated formidable@1.2.6: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
npm WARN deprecated @distube/youtube-dl@1.0.4: Use '@distube/yt-dlp' instead
npm WARN deprecated discord-buttons@4.0.0: New lib is coming! Join our support server for more help: https://discord.gg/KUS5pjyA4J
npm WARN deprecated superagent@6.1.0: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at <https://github.com/visionmedia/superagent/releases>.
npm WARN deprecated @ksoft/api@3.1.9: KSoft is no longer active. Take a look at https://ravy.org/api
npm WARN deprecated discord.js@12.5.3: no longer supported
npm notice
npm notice New minor version of npm available! 8.1.2 -> 8.14.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.14.0>
npm notice Run `npm install -g [email protected]` to update!
npm notice
npm ERR! code 1
npm ERR! path /home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! Failed to execute '/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin/node /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33/opus.node --module_name=opus --module_path=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.4.4
npm ERR! node-pre-gyp info using node@16.13.2 | linux | x64
npm ERR! node-pre-gyp info check checked for "/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33/opus.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v93-napi-v3-linux-x64-glibc-2.33.tar.gz
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v93-napi-v3-linux-x64-glibc-2.33.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @discordjs/[email protected] and [email protected] (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.3/opus-v0.5.3-node-v93-napi-v3-linux-x64-glibc-2.33.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.2 | linux | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.3.0
npm ERR! gyp info using node@16.13.2 | linux | x64
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
npm ERR! gyp ERR! find Python checking if "python3" can be used
npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
npm ERR! gyp ERR! find Python checking if "python" can be used
npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python You need to install the latest version of Python.
npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
npm ERR! gyp ERR! find Python you can try one of the following options:
npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
npm ERR! gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
npm ERR! gyp ERR! find Python For more information consult the documentation at:
npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
npm ERR! gyp ERR! find Python **********************************************************
npm ERR! gyp ERR! find Python
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
npm ERR! gyp ERR! stack at PythonFinder.fail (/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
npm ERR! gyp ERR! stack at PythonFinder.runChecks (/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
npm ERR! gyp ERR! stack at exithandler (node:child_process:404:5)
npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:416:5)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12)
npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:477:16)
npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
npm ERR! gyp ERR! System Linux 5.15.0-1013-gcp
npm ERR! gyp ERR! command "/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin/node" "/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33/opus.node" "--module_name=opus" "--module_path=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
npm ERR! gyp ERR! cwd /home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus
npm ERR! gyp ERR! node -v v16.13.2
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin/node /nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33/opus.node --module_name=opus --module_path=/home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus/prebuild/node-v93-napi-v3-linux-x64-glibc-2.33 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/runner/all-in-one-discord-bot/node_modules/@discordjs/node-pre-gyp/lib/util/compile.js:85:20)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Linux 5.15.0-1013-gcp
npm ERR! node-pre-gyp ERR! command "/nix/store/ra8r42571xvv1m85wanh1ll9mxmp0mwl-nodejs-16.13.2/bin/node" "/home/runner/all-in-one-discord-bot/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /home/runner/all-in-one-discord-bot/node_modules/@discordjs/opus
npm ERR! node-pre-gyp ERR! node -v v16.13.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.4.4
npm ERR! node-pre-gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2022-07-14T13_17_14_682Z-debug.log
exit status 1
:: LOADED CHATFEATURE.JS
Loaded Logger Module
:: ⬜️ Module: jointocreate
(node:145230) DeprecationWarning: DisTubeOptions.youtubeDL is deprecated, set it to false and use @distube/yt-dlp
instead.
(Use node --trace-deprecation ...
to show where the warning was created)
/root/all-in-one-discord-bot/node_modules/mongodb/lib/core/uri_parser.js:585
return callback(new MongoParseError('Invalid connection string'));
^
MongoParseError: Invalid connection string
at parseConnectionString (/root/all-in-one-discord-bot/node_modules/mongodb/lib/core/uri_parser.js:585:21)
at connect (/root/all-in-one-discord-bot/node_modules/mongodb/lib/operations/connect.js:283:3)
at /root/all-in-one-discord-bot/node_modules/mongodb/lib/mongo_client.js:284:5
at maybePromise (/root/all-in-one-discord-bot/node_modules/mongodb/lib/utils.js:692:3)
at MongoClient.connect (/root/all-in-one-discord-bot/node_modules/mongodb/lib/mongo_client.js:280:10)
at /root/all-in-one-discord-bot/node_modules/mongoose/lib/connection.js:836:12
at new Promise ()
at NativeConnection.Connection.openUri (/root/all-in-one-discord-bot/node_modules/mongoose/lib/connection.js:832:19)
at /root/all-in-one-discord-bot/node_modules/mongoose/lib/index.js:351:10
at /root/all-in-one-discord-bot/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5
at new Promise ()
at promiseOrCallback (/root/all-in-one-discord-bot/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)
at Mongoose._promiseOrCallback (/root/all-in-one-discord-bot/node_modules/mongoose/lib/index.js:1149:10)
at Mongoose.connect (/root/all-in-one-discord-bot/node_modules/mongoose/lib/index.js:350:20)
at Object. (/root/all-in-one-discord-bot/index.js:22:4)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
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.