Tomato6966 / Multiguild-Modmail

A simple Multi Guild Modmail Bot coded in v13 using the enmap Database Working on any host, like repl.it or vps! Its fast and working bug free + Security options!
MIT License
57 stars 71 forks source link

Code not working #1

Closed Aloradri closed 2 years ago

Aloradri commented 2 years ago

I hereby wated to say that this code is not working

junny2233 commented 2 years ago

I hereby wated to say that this code is not working

code is working is being use in the server currently. mine is working.

Aloradri commented 2 years ago

I hereby wated to say that this code is not working

code is working is being use in the server currently. mine is working.

I mean i just try to make the bot but the code not working showing erors

junny2233 commented 2 years ago

I hereby wated to say that this code is not working

code is working is being use in the server currently. mine is working.

I mean i just try to make the bot but the code not working showing erors

what errors? you need to provide more information so people can help you :)

testbot-github commented 2 years ago

I hereby wated to say that this code is not working

code is working is being use in the server currently. mine is working.

I mean i just try to make the bot but the code not working showing erors

Show the error so we can help you :)

Nyte-Blade commented 2 years ago

Error: Cannot find module 'node:events' Require stack:

tried it in replit (IDE)

Caallum commented 2 years ago

You need to update the node version for your repl to 16.6 or above,

And this is how:

Replit Node 16.6.1

npm i --save-dev node@16.6.1 && npm config set prefix=$(pwd)/node_modules/node && export PATH=$(pwd)/node_modules/node/bin:$PATH

Put that code into the shell and add a .replit file with the code:

run = "npm start"

And in your package.json file add "scripts": { "start": "node index.js" }

dg024781 commented 2 years ago

Screenshot_20220518-114052 Not working can any one give me working replit link or explain the process