dc_send_message
dc_send_message(target,content)
#
Blocking function
This function is blocking, meaning it can freeze the game. Use it in a task to avoid freezing your game.
This functions sends a message in a specific Discord channel, to a private message channel or a webhook.
The target
can be one of
The content
is a parsable Message content, but if you just want text, it can be a regular string.
This example shows how you can send a message and add reactions to it as soon as it was sent
task(_()->(
message = dc_send_message(dc_channel_from_id('YOUR CHANNEL ID'),'Test message');
dc_react(message,'🟥');
dc_react(message,'🟩');
));