Make buttons officially become inactive after a certain period of time #7446
              
                Unanswered
              
          
                  
                    
                      apacheli
                    
                  
                
                  asked this question in
                API Feature Requests & Ideas
              
            Replies: 1 comment
-
| You can disable message components on your end. In fact you can even do it retroactively. When a user clicks an "old" button you can respond to the interaction by disabling the message components and no future users will be able to interact. Weather Discord disables it or the bot disables it Discord will have to send out a  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal
Make buttons officially become inactive on Discord's side, that is, when a button/select menu is not interacted with for a certain period of time, it becomes inactive and doesn't send an event to the bot. Say or month of whatever I don't really care.
Why?
This is so you don't receive old events from buttons when some idiot decides to look at channel history and randomly press a button. In some API libraries, they'll ignore the event, however you still received the event which is a waste of resources.
Beta Was this translation helpful? Give feedback.
All reactions