Skip to content

how to use it with a bot #34

Answered by Glitchii
7xa5h asked this question in Q&A
Discussion options

You must be logged in to vote

It's meant to be used in your website. Either use an iframe or clone the repository and the use it in your website. Cloning gives you more capabilities. You can alter the HTML/CSS to add a "send" button which when clicked should send the json data which is stored in window.json to Discord through a Discord bot. How you want to do that is up to you. Maybe have a request made to the backend with the json data or use websockets.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Glitchii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants