Server
sendWebhook
Usage
Lib.sendWebhook(url, data)url:
stringdata:
objectcolor(optional):
string(hex)timestamp(optional):
booleancontent(optional):
stringtitle(optional):
stringurl(optional):
stringauthor(optional):
objectname(optional):
stringicon_url(optional):
stringurl(optional):
string
description(optional):
stringthumbnail(optional):
objecturl:
string
fields(optional):
arrayname:
stringvalue:
stringinline:
boolean
image(optional):
objecturl:
string
footer(optional):
objecttext(optional):
stringicon_url(optional):
string
Example
Lib.sendWebhook("discord_webhook_url", {
color = "#00f0be",
timestamp = true,
title = "Test",
content = "@everyone",
})Last updated