Alynva
Alynva
DIAdiscord.js - Imagine an app
Created by Alynva on 8/22/2022 in #djs-questions
Remove or disable buttons after the collector ends
How to remove or disable buttons from a message after the collector of this message ends? I have a lot of collectors, some of them edit them selfs, sometimes with new buttons and new collectors, so the previous one is stopped but the buttons is replaced, so them don't need to be removed or disabled. I saw someone not using collectors because of this, the buttons stop working after some time and the user thinks that it's broken, but for that I need to pass data within the customId which is impractical for me. I don't need to the buttons keep working forever, but I don't want the users complaining about the buttons not working...
2 replies