inside-scripts
Store
  • INFORMATION
    • inside-scripts
  • PAID SCRIPTS
    • 🔑 Vehicle Keys
      • Functions
      • Config
    • 🚗 Garage
      • Functions
      • Script Functionality Overview
      • Config
    • 🥦 Weed Laboratory
      • Config
    • 💊 Sell Drugs
      • Script Functionality Overview
      • Config
    • 🗯️ Dialog V1
      • Functions
      • Config
    • 🗯️ Dialog V2
      • Functions
      • Config
    • 📰 Interaction
      • Functions
      • Config
    • 🪧Notifications and Progress
      • Functions
      • Config
    • 🪛 Lock Picking
      • Config
  • FREE SCRIPTS
    • 🖥️ Bridge & Library
      • Compatibility
      • Usage & Installation
      • Functions
        • Bridge
          • Framework
            • Client
            • Server
          • Inventory
            • Server
          • Fuel
            • Client
          • Keys
            • Client
            • Server
          • Notification
            • Client
            • Server
          • Progress Bar
            • Client
          • Target
            • Client
        • Library
          • Callback
            • Client
            • Server
          • Entity
            • Client
            • Server
          • Blip
            • Client
          • Identifier
            • Server
          • Timezone
            • Server
          • Webhook
            • Server
          • Utility
            • Shared
Powered by GitBook
On this page
  • sendWebhook
  • Usage
  • Example
  1. FREE SCRIPTS
  2. 🖥️ Bridge & Library
  3. Functions
  4. Library
  5. Webhook

Server

sendWebhook

Usage

Lib.sendWebhook(url, data)
  • url: string

  • data: object

    • color(optional): string(hex)

    • timestamp(optional): boolean

    • content(optional): string

    • title(optional): string

    • url(optional): string

    • author(optional): object

      • name(optional): string

      • icon_url(optional): string

      • url(optional): string

    • description(optional): string

    • thumbnail(optional): object

      • url: string

    • fields(optional): array

      • name: string

      • value: string

      • inline: boolean

    • image(optional): object

      • url: string

    • footer(optional): object

      • text(optional): string

      • icon_url(optional): string

Example

Lib.sendWebhook("discord_webhook_url", {
    color = "#00f0be",
    timestamp = true,
    title = "Test",
    content = "@everyone",
})

Last updated 7 months ago