not Kuma.
not Kuma.
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
So it's solved. Wrong order inside of object. Thanks @SpecialSauce 1heartcute
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
No description
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
let me check
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
i think i know
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
hm
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
so indexes should be 0; 1; 2; 3 not 0; 1; 2; 5
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
No description
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
buttons
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
4
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
yeah, it should return 3, i've changed it manually to 3 and it works, but buttonindex returns 5
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
but for freezing its 5
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
buttonindex for first 3 buttons are 0, 1 and 2
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
other buttons vs last freezing
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
No description
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
ok, i'll show u smth i've found rn
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
it properly returns id of freezing everywhere above
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
check comment above line 144
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
const currentId = currentButton.customId;
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
undefined
TypeError: Cannot read properties of undefined (reading 'customId')
at Client.<anonymous> (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\index.js:144:36)
at Client.emit (node:events:514:28)
at InteractionCreateAction.handle (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
at WebSocketShard.onMessage (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\@discordjs\ws\dist\index.js:988:14)
undefined
TypeError: Cannot read properties of undefined (reading 'customId')
at Client.<anonymous> (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\index.js:144:36)
at Client.emit (node:events:514:28)
at InteractionCreateAction.handle (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
at WebSocketShard.onMessage (C:\Users\lukas\Desktop\PhasmoBot\PoltergeistBot\node_modules\@discordjs\ws\dist\index.js:988:14)
29 replies
DIAdiscord.js - Imagine an app
Created by not Kuma. on 1/28/2024 in #djs-questions
ButtonBuilder > TypeError: Cannot read properties of undefined (reading 'customId')
Freezing button only returns error. Other buttons work properly. Changing label and id still gives same kind of error
29 replies