Hello,
The discord component allows to listen the websocket events and interactuate with the REST API using HTTP commands, there are some functions to send HTTP commands:
function GET_Request(const aPath: String): string;
function POST_Request(const aPath, aMessage: String): string;
function PUT_Request(const aPath, aMessage: String): string;
function PATCH_Request(const aPath, aMessage: String): string;
function DELETE_Request(const aPath: String): string;
For example, to send a message, you must build the message and send a POST
https://discord.com/developers/docs/resources/channel#create-message
Kind Regards,
Sergio