DiscordMsg
A function that sends discord message via WebHook
Function parameters:
Parameter
Type
Description
Required
webHook
string
URL of a Discord WebHook bot
no
botName
string
name of the bot
no
title
string
title of the notice
no
message
string
message of the notice
yes
type
string
if type nil then type is rich
no
color
number
color of the message
no
icon
string
URL of an image
no
author
string
author of the message
no
Example:
There's a default webHook link in the config.lua file that is using when you don't fill the webHook argument.
Last updated