The idea is based around what websites such as bootstrap use however implemented within discord.
However in this case it's essentially a blank version of your configuration page that itself is a built in web page.
-Allows users to create their own designed panel with in the application using HTML / bootstrap?
-Removes the requirement for external web pages and allows for more complex bot configuration and modification.
-Built into the application itself and wouldn't require external login or additional authentication.
-HTML / bootstrap allows for all programming languages (whichever the developer has used) to create without being limited to a specific language.
You can already do this using widget.json in the API.0
Allowing this is a security risk and as such Discord will NOT implement this.-1
I apologize for the long response, I have been very busy and not had a chance to catch up on this topic.
It would not actually be a security risk depending on how it was implemented. For instance if the modal itself was done through a rest service such as what spring does for queries and it can only communicate to the bot you remove most of security issues. I do not see the security risk because all a modal is is a popup window that makes calls through something like Thymeleaf to the bot itself. No matter what you're still going through the API provided by discord.
Brxxn, I think your misunderstanding what we're trying to achieve a widget and a modal are not the same thing.0
Zaloguj się, aby dodać komentarz.