error when starting up my bot ?? :/
version:
npm ls discord.js
Amazigh Chatbot@ D:\Bureau2\Amazigh Chatbot
└── [email protected]
error:
D:\Bureau2\Amazigh Chatbot\node_modules@sapphire\discord.js-utilities\dist\index.js:1000
type: import_discord3.Constants.MessageComponentTypes.SELECT_MENU,
^
TypeError: Cannot read properties of undefined (reading 'SELECT_MENU')
at Object.<anonymous> (D:\Bureau2\Amazigh at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (D:\Bureau2\Amazigh Chatbot\node_modules@sapphire\framework\dist\lib\resolvers\channel.js:4:32)
at Module._compile (node:internal/modules/cjs/loader:1241:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
Node.js v20.9.0
Solution:Jump to solution
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
1 Reply
Solution
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.