RLodka
RLodka
DIAdiscord.js - Imagine an app
Created by RLodka on 12/25/2024 in #djs-questions
How can I update variable data in an embed message?
@treble/luna I tried deleting the cache as you said. The data is now updated. Thank you again for solving the problem!
13 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/25/2024 in #djs-questions
How can I update variable data in an embed message?
Got it, thanks for the help!
13 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/25/2024 in #djs-questions
How can I update variable data in an embed message?
I'll try to make a database one of these days. About caching - what do you mean?
13 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/25/2024 in #djs-questions
How can I update variable data in an embed message?
No description
13 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/25/2024 in #djs-questions
How can I update variable data in an embed message?
No description
13 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
Once again thank you very much for your help!
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
{
FRA_monarhist: EmbedBuilder {
data: {
color: 39423,
title: 'Королевство Франция',
description: 'Описание',
thumbnail: [Object],
fields: [Array],
timestamp: '2024-12-15T22:32:11.275Z'
}
}
}
DiscordAPIError[50035]: Invalid Form Body
data.embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
at handleErrors (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async ChatInputCommandInteraction.reply (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:115:5)
at async Object.execute (C:\Users\singe\Desktop\dsbot\commands\utility\info.js:10:9)
at async Object.execute (C:\Users\singe\Desktop\dsbot\events\interactionCreate.js:16:4) {
requestBody: { files: [], json: { type: 4, data: [Object] } },
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { data: [Object] }
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1317982907016417340/aW50ZXJhY3Rpb246MTMxNzk4MjkwNzAxNjQxNzM0MDowQmZUTVhxR0hzS01IVVpnUzhRRXNESzlhZ0NpV0YwSmdyb2JrTnk0TXlyYmZiNEJra0VXekZIRkZOMmxvQ3pDUnR5M3RIOVp2WGVXUXVGbnJrUzlsUUljQ2FqSmdrbmhxUDRSSjZtMW83RHZCQzZaSHR6ZndMMHJGcGw4S1dQMg/callbac'
}
{
FRA_monarhist: EmbedBuilder {
data: {
color: 39423,
title: 'Королевство Франция',
description: 'Описание',
thumbnail: [Object],
fields: [Array],
timestamp: '2024-12-15T22:32:11.275Z'
}
}
}
DiscordAPIError[50035]: Invalid Form Body
data.embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
at handleErrors (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async ChatInputCommandInteraction.reply (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:115:5)
at async Object.execute (C:\Users\singe\Desktop\dsbot\commands\utility\info.js:10:9)
at async Object.execute (C:\Users\singe\Desktop\dsbot\events\interactionCreate.js:16:4) {
requestBody: { files: [], json: { type: 4, data: [Object] } },
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { data: [Object] }
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1317982907016417340/aW50ZXJhY3Rpb246MTMxNzk4MjkwNzAxNjQxNzM0MDowQmZUTVhxR0hzS01IVVpnUzhRRXNESzlhZ0NpV0YwSmdyb2JrTnk0TXlyYmZiNEJra0VXekZIRkZOMmxvQ3pDUnR5M3RIOVp2WGVXUXVGbnJrUzlsUUljQ2FqSmdrbmhxUDRSSjZtMW83RHZCQzZaSHR6ZndMMHJGcGw4S1dQMg/callbac'
}
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
DiscordAPIError[50035]: Invalid Form Body
data.embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
at handleErrors (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async ChatInputCommandInteraction.reply (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:115:5)
at async Object.execute (C:\Users\singe\Desktop\dsbot\commands\utility\info.js:9:9)
at async Object.execute (C:\Users\singe\Desktop\dsbot\events\interactionCreate.js:16:4) {
requestBody: { files: [], json: { type: 4, data: [Object] } },
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { data: [Object] }
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1317978749706178580/aW50ZXJhY3Rpb246MTMxNzk3ODc0OTcwNjE3ODU4MDpuV2k1TEFlVEJKdHpSbUQ0bzVseHhobUc3cmhGdDNjMmRlV2xvSFpOMnoyTHRSUnlwcGFKQ0FkZkc2TnZXcmVycjV1WFhITUFHNEg5SU14WmI1NFZWaktSRFpRdmVHVzliblZtVzFFTTdIN2kyS1pOQ3VIc0hRRk5tRUxwTXVnQg/callback'
}
DiscordAPIError[50035]: Invalid Form Body
data.embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
at handleErrors (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:831:23)
at async _REST.request (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\node_modules\@discordjs\rest\dist\index.js:1272:22)
at async ChatInputCommandInteraction.reply (C:\Users\singe\Desktop\dsbot\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:115:5)
at async Object.execute (C:\Users\singe\Desktop\dsbot\commands\utility\info.js:9:9)
at async Object.execute (C:\Users\singe\Desktop\dsbot\events\interactionCreate.js:16:4) {
requestBody: { files: [], json: { type: 4, data: [Object] } },
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { data: [Object] }
},
code: 50035,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1317978749706178580/aW50ZXJhY3Rpb246MTMxNzk3ODc0OTcwNjE3ODU4MDpuV2k1TEFlVEJKdHpSbUQ0bzVseHhobUc3cmhGdDNjMmRlV2xvSFpOMnoyTHRSUnlwcGFKQ0FkZkc2TnZXcmVycjV1WFhITUFHNEg5SU14WmI1NFZWaktSRFpRdmVHVzliblZtVzFFTTdIN2kyS1pOQ3VIc0hRRk5tRUxwTXVnQg/callback'
}
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
The essence of the matter does not change. The exact same error is given. Sorry that I know so little in this area.
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
?
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
I read the manual. I basically remembered how to do this because I had done it in other programming languages. But my problem is that I don’t know how not to overwrite the module, make a command and export the output of the embed message I need into it.
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
I didn't quite understand how to do this. Can I get an example or a detailed explanation?
40 replies
DIAdiscord.js - Imagine an app
Created by RLodka on 12/15/2024 in #djs-questions
How to import embeds from 1 file into 2 without creating embed in 2 file?
No description
40 replies