overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
460 stars 698 forks source link

Discord webhook #1748

Closed EinfachJustin closed 3 months ago

EinfachJustin commented 3 months ago

Describe the bug Discord webhook not working for me

Framework ESX

Resource version latest version

Expected behavior I want to get the discord webhook to work but unfortunately nothing is coming through in discord. I have set everything up in the config.cfg that I created, see below, but nothing is coming through. The cofing cfg works even if I change the drop prop, for example.

Additional context

-- Discord webhook url, used for imageurl metadata content moderation (image embeds) set inventory:webhook "here I have my web hoock which I also tested with a bot"

-- Logging via ox_lib (0: Disable, 1: Standard, 2: Include AddItem/RemoveItem, and all shop purchases) set inventory:loglevel 1

tom-osborne commented 3 months ago

Abusing a Discord webhook for "logging" is not supported since Discord is not a logging service.

Recommend you use one of the three logging services that are supported (Fivemanage, DataDog, Grafana Loki) as described in the documentation.