Reaper
DIAdiscord.js - Imagine an app
•Created by Reaper on 10/14/2024 in #djs-questions
Registering Command
8 replies
DIAdiscord.js - Imagine an app
•Created by Reaper on 10/14/2024 in #djs-questions
Registering Command
8 replies
DIAdiscord.js - Imagine an app
•Created by Reaper on 10/14/2024 in #djs-questions
Registering Command
when i do node
handlers/command-Register.js
it shows this:
PS C:\Users\Kameron\OneDrive\Documents\Discord Bot> node handlers/command-Register.js
node:fs:1507
const result = binding.readdir(
^
Error: ENOENT: no such file or directory, scandir 'C:\Users\Kameron\OneDrive\Documents\Discord Bot\handlers\commands'
at Object.readdirSync (node:fs:1507:26)
at Object.<anonymous> (C:\Users\Kameron\OneDrive\Documents\Discord Bot\handlers\command-Register.js:8:27)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
errno: -4058,
code: 'ENOENT',
syscall: 'scandir',
path: 'C:\\Users\\Kameron\\OneDrive\\Documents\\Discord Bot\\handlers\\commands'
}
8 replies
DIAdiscord.js - Imagine an app
•Created by Reaper on 8/23/2024 in #djs-questions
registering commands
i don't have it, it got to where i had to keep deleting it and retrying
6 replies