SendDiscordMessage()

Description

This function sends a message in your discord server. Make sure that global.discordServerId is set up in Options.gml first.

Syntax

SendDiscordMessage(channelIdString, messageBody)

Returns

N/A

Example Implementation

var messageBody = get_string("Message body","Hello from Gamemaker")
SendDiscordMessage("1213209657838014500",messageBody)

Last updated