Problem

TypeError: options.getSubcommandGroup is not a function
    at Object.execute (C:\Users\PC\Desktop\LunarDSC official 2.0\srcs\Commands\level\levelSystem.js:93:28)
    at Object.execute (C:\Users\PC\Desktop\LunarDSC official 2.0\src\Events\client\interactionCreate.js:13:23)
    at Client.<anonymous> (C:\Users\PC\Desktop\LunarDSC official 2.0\src\functions\handlers\HandlerEvent.js:20:23)
    at Client.emit (node:events:518:28)
    at InteractionCreateAction.handle (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
    at module.exports [as INTERACTION_CREATE] (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
    at WebSocketManager.<anonymous> (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
    at WebSocketManager.emit (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
    at WebSocketShard.<anonymous> (C:\Users\PC\Desktop\LunarDSC official 2.0\node_modules\@discordjs\ws\dist\index.js:1173:51)
Was this page helpful?