Open LeviAckerman1234 opened 2 years ago
can anyone help?
can anyone help me?
idk, i haven't problem with it
what can i do tho
i also get this
[x] :: Now loading the Commands ...
Error: ENOTDIR: not a directory, scandir './commands/.DS_Store/'
at readdirSync (node:fs:1390:3)
at /Users/myname/Applications/visual/Multipurpose-discord-bot/handlers/command.js:14:24
at Array.forEach (
Your code like this?
bc of this error bot not loading commands
or your folder "commands" contains 1 extra file, .DS_Store, commands folder need to be like this, without hidden files:
DS_STORE extension stores folder view settings in Mac OS X, includes information about folder window location, window size, view options... Try delete this, it hidden, but JS see everything
it's your local bug, so you can close issue
I am getting the same issue
/Users/myname/Applications/visual/Multipurpose-discord-bot/slashCommands/.DS_Store:1
SyntaxError: Invalid or unexpected token at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1031:15) at Module._compile (node:internal/modules/cjs/loader:1065:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at /Users/myna,e/Applications/visual/Multipurpose-discord-bot/handlers/slashCommands.js:104:16 at Array.forEach ()
getting this error the bot is online n only responds to being pinged no commands are responding but the bot stays online please help me