Skip to main content

POST discord/chat

Log a message to a Discord channel when user send a public chat message.

Note

This is a privileged endpoint. Only authorised queries will be processed.

Parameters

username string
User IGN.

server string
Server display name.

content string
Chat content.

Examples

{
"username": "shadowolfyt",
"server": "Survival",
"content": "This server is awesome"
}

Response

{
"success": true
}

A Discord message will be created that says,

"Survival | shadowolfyt :: This server is awesome"