Ender Yee'kkay
Ender Yee'kkay
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
maybe
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
Thanks for help)
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
and I use that:
interaction.message.edit({
embeds: [
interaction.message.embeds[0],
newMainEmbed,
interaction.message.embeds[2],
interaction.message.embeds[3]
]
})
interaction.message.edit({
embeds: [
interaction.message.embeds[0],
newMainEmbed,
interaction.message.embeds[2],
interaction.message.embeds[3]
]
})
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
it works well
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
but why in other my scripts (I use await there) this problem doesn't cause?
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
now It works and works fast (maximum 500 ms)
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
oh lol I used interaction.message.editReply() 😄
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
interaction.editReply throws an error, while I am using it
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
That message isn't a respons of interaction. That one is a static message
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
it is advisable to avoid this, since it will require a complete restructuring of the database and script
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
that is common message
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
No description
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
@SpecialSauce and the running time of the script is very random, then 300ms, as in all my other similar scripts, then 15000ms
30 replies
DIAdiscord.js - Imagine an app
Created by Ender Yee'kkay on 10/8/2023 in #djs-questions
Very slow working code
no errors and warnings. Request to local db takes 3-8 ms. I tracked that 99% of the execution time is taken up by this section.
await interaction.message.edit({
embeds: [
newEmbed
]
await interaction.message.edit({
embeds: [
newEmbed
]
30 replies