Answer the question
In order to leave comments, you need to log in
The bot visits the site and takes information from it, how to do it?
I want the discord bot to be able to enter the site and take certain information from it, and write this information to the chat, how to write the code for this?
Answer the question
In order to leave comments, you need to log in
First you need to parse the page. If you work with js, then you need to raise node.js https://habr.com/en/post/301426/.
Then we raise the bot on node.js https://blog.bitsrc.io/create-a-discord-bot-using-...
It would also be very useful to save the sites themselves on the server and parse them already. This will slightly speed up the time of work and will not load someone else's site.
Have you already made a bot for collecting information? If the bot is made, give an answer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question