Discord functions
Last updated
Last updated
Parameters:
type: string
- Webhook URL name from webhook_urls.lua
title: string
description: string
player_id: number
admin_id: number
Example:
Returns discord avatar URL from cache.
Parameters:
targetId: number
Returns: string
Used for default discord logging, it returns embed field object with identifiers, It mentions player on discord.
Parameters:
identifiers: string[]
field_name: string
inline: boolean
Returns:
name: string
value: string
inline: boolean
Parameters:
type: string
- Webhook URL name from webhook_urls.lua
data - Discord webhook params. https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params