Generate a ready-to-use Discord logging function with a proper embed, plus the server.cfg line that keeps the webhook URL out of your resource.
The Lua function this generates, e.g. sendLog.
Server convar holding the webhook URL. Never hardcode the URL itself.
Name shown as the message author in Discord.
Optional image used as the author avatar.
Left border colour of the embed.
Adds the current UTC time to the embed footer.
Small line at the bottom of the embed.
Small image in the top-right of the embed.