vlad vollar
vlad vollar
DIAdiscord.js - Imagine an app
Created by vlad vollar on 6/12/2024 in #djs-questions
TypeError [InvalidType]: Supplied parameter is not a User nor a Role.
TypeError [InvalidType]: Supplied parameter is not a User nor a Role. at PermissionOverwrites.resolve (C:\Users\WORK\Desktop\asagi-assistant-develop\node_modules\discord.js\src\structures\PermissionOverwrites.js:184:28) at C:\Users\WORK\Desktop\asagi-assistant-develop\node_modules\discord.js\src\managers\GuildChannelManager.js:169:89 at Array.map (<anonymous>) at GuildChannelManager.create (C:\Users\WORK\Desktop\asagi-assistant-develop\node_modules\discord.js\src\managers\GuildChannelManager.js:169:51) at handleCreateRoom (file:///C:/Users/WORK/Desktop/asagi-assistant-develop/src/events/handles/privateRooms/handleCreateRoom.js:387:71) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Client.<anonymous> (file:///C:/Users/WORK/Desktop/asagi-assistant-develop/src/events/voice/onVoiceStateUpdate.js:38:9) { code: 'InvalidType' } console.log(trustedUsers) [ '1125484017593090239' ] console.log(permissionOverwrites) [ { id: '440407587037642783', allow: [ 1048576n, 1024n, 2048n ] }, { id: '1129790184699985971', deny: [] }, { id: '1125484017593090239', allow: [ 1048576n, 1024n, 2048n ] }, { id: null, deny: [ 1048576n, 1024n, 2048n ] } ] The user is on the server.
5 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 11/28/2023 in #djs-questions
Error [ShardingInProcess]: Shards are still being spawned.
Thanks!
5 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 10/6/2023 in #djs-questions
UserSelectMenuBuilder the interaction failed
Should I add this to every message that has a select menu of any type, or if it works, is it not necessary?
7 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 10/6/2023 in #djs-questions
UserSelectMenuBuilder the interaction failed
The problem was solved when I added fetchReply: true. Thanks. And can you tell me why this is so?
7 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 10/6/2023 in #djs-questions
UserSelectMenuBuilder the interaction failed
The UserSelectMenuBuilder appears, but when trying to select someone, "This interaction failed"
7 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 10/6/2023 in #djs-questions
UserSelectMenuBuilder the interaction failed
7 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
like this?
const filter = (interaction) => interaction.customId === 'change_reminder_content'
const submitted = await i.awaitModalSubmit({filter, time: 0})
const filter = (interaction) => interaction.customId === 'change_reminder_content'
const submitted = await i.awaitModalSubmit({filter, time: 0})
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
How do I filter this?
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
⬆️ up
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
I don't understand why these errors didn't occur before
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
No description
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
Do you think if I do this, the problem might be solved?
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
Do I need to specify different custom ids for the modal window and fields?
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 9/24/2023 in #djs-questions
ModalSubmitInteractionFieldNotFound
The same error log, but with another custom id
TypeError [ModalSubmitInteractionFieldNotFound]: Required field with custom id "change_reminder_text_input" not found.
at ModalSubmitFields.getField (/root/asagi/node_modules/discord.js/src/structures/ModalSubmitFields.js:36:23)
at ModalSubmitFields.getTextInputValue (/root/asagi/node_modules/discord.js/src/structures/ModalSubmitFields.js:51:17)
at InteractionCollector.<anonymous> (file:///root/asagi/src/commands/tools/reminder.js:667:79)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ModalSubmitInteractionFieldNotFound'
}
TypeError [ModalSubmitInteractionFieldNotFound]: Required field with custom id "change_reminder_text_input" not found.
at ModalSubmitFields.getField (/root/asagi/node_modules/discord.js/src/structures/ModalSubmitFields.js:36:23)
at ModalSubmitFields.getTextInputValue (/root/asagi/node_modules/discord.js/src/structures/ModalSubmitFields.js:51:17)
at InteractionCollector.<anonymous> (file:///root/asagi/src/commands/tools/reminder.js:667:79)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ModalSubmitInteractionFieldNotFound'
}
17 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 8/2/2023 in #djs-questions
Problem with AuditLogs (MessageDelete)
up
15 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 8/2/2023 in #djs-questions
Problem with AuditLogs (MessageDelete)
15 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 8/2/2023 in #djs-questions
Problem with AuditLogs (MessageDelete)
up
15 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 8/2/2023 in #djs-questions
Problem with AuditLogs (MessageDelete)
It works the first few times, but then it doesn't detect
15 replies
DIAdiscord.js - Imagine an app
Created by vlad vollar on 8/2/2023 in #djs-questions
Problem with AuditLogs (MessageDelete)
Can you please suggest how to do this? I don't understand
15 replies