Simpleboy353 / REAPER-2.0

A multi-purpose discord bot made using Discord.js V14. Includes Logging, Welcomer, Slash Commands, Menu based Help Command and so much more!
GNU General Public License v3.0
329 stars 225 forks source link

the game commands dont work with v12.5.3 maybe package err : discord-gamecore #56

Closed brandontorreglosa closed 3 years ago

brandontorreglosa commented 3 years ago

(node:4) UnhandledPromiseRejectionWarning: TypeError: INVALID_MENU_TYPE: Invalid type 2021-09-09T21:47:41.400601+00:00 app[Worker.1]: at Object.resolveMenu (/app/node_modules/discord-buttons/src/v12/Util.js:53:64) 2021-09-09T21:47:41.400602+00:00 app[Worker.1]: at /app/node_modules/discord-buttons/src/v12/Classes/APIMessage.js:235:118 2021-09-09T21:47:41.400603+00:00 app[Worker.1]: at Array.map () 2021-09-09T21:47:41.400603+00:00 app[Worker.1]: at /app/node_modules/discord-buttons/src/v12/Classes/APIMessage.js:234:33 2021-09-09T21:47:41.400603+00:00 app[Worker.1]: at Array.map () 2021-09-09T21:47:41.400604+00:00 app[Worker.1]: at APIMessage.resolveData (/app/node_modules/discord-buttons/src/v12/Classes/APIMessage.js:230:40) 2021-09-09T21:47:41.400604+00:00 app[Worker.1]: at ExtendedTextChannel.send (/app/node_modules/discord-buttons/src/v12/Classes/TextChannel.js:19:62) 2021-09-09T21:47:41.400605+00:00 app[Worker.1]: at SnakeGame.startGame (/app/node_modules/discord-gamecord/src/Snake.js:161:48) 2021-09-09T21:47:41.400605+00:00 app[Worker.1]: at Object.execute (/app/commands/Games/snake.js:27:12) 2021-09-09T21:47:41.400606+00:00 app[Worker.1]: at commandExecute (/app/events/guild/message.js:351:28) 2021-09-09T21:47:41.400606+00:00 app[Worker.1]: at /app/events/guild/message.js:395:11 2021-09-09T21:47:41.400607+00:00 app[Worker.1]: at /app/node_modules/mongoose/lib/model.js:5074:18 2021-09-09T21:47:41.400607+00:00 app[Worker.1]: at processTicksAndRejections (internal/process/task_queues.js:77:11) 2021-09-09T21:47:41.400607+00:00 app[Worker.1]: (Use node --trace-warnings ... to show where the warning was created) 2021-09-09T21:47:41.400618+00:00 app[Worker.1]: (node:4) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) 2021-09-09T21:47:41.400661+00:00 app[Worker.1]: (node:4) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

brandontorreglosa commented 3 years ago

no worrys found err

brandontorreglosa commented 3 years ago

i just went inside node_modules and changed its functions