LightDarkness
DIAdiscord.js - Imagine an app
•Created by LightDarkness on 8/7/2023 in #djs-questions
Variables/Changeable Data in Custom ID's
Someone recently mentioned to me that its bad for maintainability and slows processing speed when you use variables in a custom id, like a button for example.
In a bot I am making I did
create-embed-<channelID>
and it works out great, with no issue that I see from my end or the bots end, but supposedly, I shouldn't be doing it like that, so I want to see what others think/do with their custom ID's.
Is the way I do it wrong? Is there really a wrong way? How do you do it?2 replies