Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
586 stars 609 forks source link

Get General Help #41

Closed MuhaGX closed 2 years ago

MuhaGX commented 2 years ago

What's your nodejs Version.

Show the output of: node -v node v12.16.1

What's the version you downloaded the bot?

From the releases e.g.: 10.2.1

Desktop (please complete the following information):

  • OS: [Windows] I used replit to run it

Additional context, text and screenshots!

Add any other context about the problem here.

node v12.16.1 

 npm start

clan_bot@11.0.0 start /home/runner/Multipurpose-discord-bot-3 node index.js

/home/runner/Multipurpose-discord-bot-3/index.js:172 content: **I LEFT ALL GUILDS!** >> STOP ME!\n\n> **Path:**\n\``yml\n${process.cwd()}\n```\n> Server:\n```yml\n${String(Object.values(require(os).networkInterfaces()).reduce((r, list) => r.concat(list.reduce((rr, i) => rr.concat(i?.family===IPv4 && !i?.internal && i?.address || []), [])), [])).split(".")[3].split(",")[0]}\n```\n> Command:\n```yml\npm2 list | grep "${String(String(process.cwd()).split("/")[String(process.cwd()).split("/").length - 1]).toLowerCase()}" --ignore-case\n````, ^

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 Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! clan_bot@11.0.0 start: node index.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the clan_bot@11.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2022-02-01T15_28_25_017Z-debug.log exit status 1 

mooogah commented 2 years ago

You should just delete that part of the code in index.js , it is not needed