Lib.sendWebhook

It is used to send an embed/message through the Discord API

Lib.sendWebhook(...)
  • url: string or nil

  • options: table

    • timestamp: boolean

    • content: string or nil

    • color: hexColor

    • title: string or nil

    • url: string or nil

    • author: table or nil

      • name: string or nil

      • icon_url: string or nil

      • url: string or nil

    • description: string or nil

    • thumbnail: table or nil

      • url: string

    • fields: indexedTable or nil

      • name: string

      • value: string

      • inline: boolean or nil

    • image: table or nil

      • url: string

    • footer: table or nil

      • text: string or nil

      • icon_url: string or nil

Last updated