#Disable button on click...
1 messages · Page 1 of 1 (latest)
turn the false to true
The fact is, i have two rows containing 5buttons each
I want to disable the exact button clicked
and you can wait fro the interaction
Ohh, i see
use
if(Resualt.Result.Id == "Button_id")
{
//do stmh
}
Do the DiscordButtonComponent have setters?
you should store the bot messge that contains button as a var and use it as DiscordMessage in WaitForButtonAsync
sorry im not good at eng wdym by setters
Can we do SelectedButton.Disabled = true like this?
.