Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
597 stars 613 forks source link

Bug report / Menu Ticket no ticket claimed message #90

Open ghost opened 2 years ago

ghost commented 2 years ago

When trying to claim a ticket

14|SYSTEM_BOTS_Script | === UNHANDLED REJECTION === 14|SYSTEM_BOTS_Script | Reason: TypeError: Cannot read properties of undefined (reading 'get') 14|SYSTEM_BOTS_Script | at Client. (/home/servicebots/SYSTEMBOTS/Script/handlers/ticketevent.js:940:81) 14|SYSTEM_BOTS_Script | at Client.emit (node:events:402:35) 14|SYSTEM_BOTS_Script | at InteractionCreateAction.handle (/home/servicebots/SYSTEMBOTS/Script/node_modules/discord.js/src/client/actions/InteractionCreate.js:74:12) 14|SYSTEM_BOTS_Script | at Object.module.exports [as INTERACTION_CREATE] (/home/servicebots/SYSTEMBOTS/Script/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36) 14|SYSTEM_BOTS_Script | at WebSocketManager.handlePacket (/home/servicebots/SYSTEMBOTS/Script/node_modules/discord.js/src/client/websocket/WebSocketManager.js:351:31) 14|SYSTEM_BOTS_Script | at WebSocketShard.onPacket (/home/servicebots/SYSTEMBOTS/Script/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22) 14|SYSTEM_BOTS_Script | at WebSocketShard.onMessage (/home/servicebots/SYSTEMBOTS/Script/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10) 14|SYSTEM_BOTS_Script | at WebSocket.onMessage (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/event-target.js:199:18) 14|SYSTEM_BOTS_Script | at WebSocket.emit (node:events:390:28) 14|SYSTEM_BOTS_Script | at Receiver.receiverOnMessage (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/websocket.js:1137:20) 14|SYSTEM_BOTS_Script | at Receiver.emit (node:events:390:28) 14|SYSTEM_BOTS_Script | at Receiver.dataMessage (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/receiver.js:528:14) 14|SYSTEM_BOTS_Script | at Receiver.getData (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/receiver.js:446:17) 14|SYSTEM_BOTS_Script | at Receiver.startLoop (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/receiver.js:148:22) 14|SYSTEM_BOTS_Script | at Receiver._write (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/receiver.js:83:10) 14|SYSTEM_BOTS_Script | at writeOrBuffer (node:internal/streams/writable:389:12) 14|SYSTEM_BOTS_Script | at _write (node:internal/streams/writable:330:10) 14|SYSTEM_BOTS_Script | at Receiver.Writable.write (node:internal/streams/writable:334:10) 14|SYSTEM_BOTS_Script | at TLSSocket.socketOnData (/home/servicebots/SYSTEMBOTS/Script/node_modules/ws/lib/websocket.js:1231:35) 14|SYSTEM_BOTS_Script | at TLSSocket.emit (node:events:390:28) 14|SYSTEM_BOTS_Script | at addChunk (node:internal/streams/readable:315:12) 14|SYSTEM_BOTS_Script | at readableAddChunk (node:internal/streams/readable:289:9)

Tomato6966 commented 2 years ago

make sure the databases get created correctly.

ghost commented 2 years ago

How do I check if its correct or not?

vuthanhtrung2010 commented 2 years ago

How do I check if its correct or not?

try to delete database then put database again in menuticket folder!