Need help for Discord-Bot

07/20/2020 18:26 fryså#1
I need a Discord bot that puts requests I receive from a website into a Discord channel.

I have no idea how to put it better, can anyone help?
07/20/2020 20:33 Mad0ck#2
Quote:
Originally Posted by fryså View Post
I need a Discord bot that puts requests I receive from a website into a Discord channel.

I have no idea how to put it better, can anyone help?
Share your code what you have already tried.
07/20/2020 21:06 elmarcia#3
Quote:
Originally Posted by fryså View Post
I need a Discord bot that puts requests I receive from a website into a Discord channel.

I have no idea how to put it better, can anyone help?
Is the website yours? If so, you first need to create your hook in your backend, whenever a request is made, forward it to your bot service and send message to channel or dm.
07/21/2020 12:24 fryså#4
Quote:
Originally Posted by elmarcia View Post
Is the website yours? If so, you first need to create your hook in your backend, whenever a request is made, forward it to your bot service and send message to channel or dm.
unfortunately the website is not mine
07/22/2020 18:40 elmarcia#5
Quote:
Originally Posted by fryså View Post
unfortunately the website is not mine
So, first you need a way to detect changes / requests, if it uses an api great, just make the request to the api, if its a generated html page u will have to parse the response html to extract what you need. Either way you will need a pulling mechanism (make requests to the server in a fixed time, ex: every 5mins or so). When you have that working you can proceed to attach your telegram bot.