Open malikgod666 opened 1 year ago
The 'dotenv' module is not installed. So type npm install dotenv
in you cli.
But it should be in your project directory.
Error: Cannot find module '/home/runner/disc
ord-js-bot/index.js' Require stack:
at Function.Module._resolveFilename (nod
e: internal/modules/cjs/loader: 1021:15) at Function.resolve (node: internal/modul es/cjs/helpers:114:19)
this is showen in the console
hello @chethanyadav456 replay plzz
[2023-05-01 03:05:28] ERROR: Client Error: T he reply to this interaction has not been se nt or deferred.
this is when the commands using this is showing in the console
dont use replit. It will throw errors like that. If you have knowledge of JS you can edit the code so that it can be compatible with replit
@malikgod666 your bot is out of date
Describe the bug Error: Cannot find module 'dotenv' Require stack:
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
If possible
Additional context Add any other context about the problem here.