Is it possible to connect a discord webhook to godot?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Afaz

Lets say, like when a player submits a feedback about a game. A webhook will appear on a server saying about the message on the feedback

Is it possible? If it is, how?

it is easy with the httprequest, but be aware that you have to send json, that discord can understand, check their docs for the available keywords and type of information that can be sent.

trisolaran | 2022-01-21 06:50

:bust_in_silhouette: Reply From: Calinou

A webhook-enabled service is effectively a service that accepts incoming HTTP requests, and turns them into actions on the service in question. Since Godot can send HTTP requests using the HTTPRequest class, it’s possible to use webhooks from Godot :slight_smile:

Alr, thank you

Afaz | 2022-01-22 08:23