Creating a webhook for logging
Step 1
Create a webhook on your discord channel
Step 2
Go into server/webhook.lua in script koja-lib and set the url of your webhook in the table KOJA.Server.Webhooks as ['cardealer'] string
KOJA.Server.Webhooks = {
['cardealer'] = '' -- URL of the webhook
}
And you are all set!
If the webhook embed doesn't meet your preferences, feel free to edit it!
Last updated