Tic
Tic
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
oh? interesting thanks I will try
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
There is a timeout system, but stop the system instantly when the embed is removed is better than wait X minutes
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
and stop the process consequently
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
of course, but it's also to avoid consuming resources (CPU, RAM) because the paginator don't work anymore
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
I don't think so 🤔 but maybe it's something to check
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
Because the buttons continue to work. So in my paginator, the user can continue to change the page, but no info can be display (because embed integration is removed by user), so I would like to cancel the process to stop lifecycle linked to the paginator, returns a error message to the user saying "Integration removed" etc.
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
and after that, if the bot tries to update the embed, the message is modified but the embed removed (never appears again)
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
He can click on the closs at the top right of an embed
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
I found something like:
val deferredResponse = interaction.deferPublicResponse()
val msg= deferredResponse.respond {
content = "This command is not implemented yet."
embed {
title = "This command is not implemented yet."
description = "This command is not implemented yet."
}
}
println("First: ${msg.getFollowupMessage(msg.message.id).message.embeds.size}") // 1
delay(5.seconds)
println("Second: ${msg.getFollowupMessage(msg.message.id).message.embeds.size}") // After suppression by user, 0
val deferredResponse = interaction.deferPublicResponse()
val msg= deferredResponse.respond {
content = "This command is not implemented yet."
embed {
title = "This command is not implemented yet."
description = "This command is not implemented yet."
}
}
println("First: ${msg.getFollowupMessage(msg.message.id).message.embeds.size}") // 1
delay(5.seconds)
println("Second: ${msg.getFollowupMessage(msg.message.id).message.embeds.size}") // After suppression by user, 0
It's the good way to verify?
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
Ok so, how can I create a followUp 😅?
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
I don't find 🤔
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
No description
32 replies
KKord
Created by Tic on 9/18/2024 in #help
Check if embed is removed by user
I seen the deferredResponse.getFollowupMessage(XXX) but .. how can I get the message ID?
32 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
Why 🥲 We have course for Latin too, but everyone prefer escape this language
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
You can understand or not at all?
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
ah 🥲
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
😮
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
And how do you know that 🥲
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
thanks
82 replies
KKord
Created by Tic on 8/13/2024 in #help
Check if embed, actionRow etc. has been modified
ah yes this lib! I forgot
82 replies