Frequently Asked Questions

Your go to hub for common questions and instant access to our latest code snippets. Whether you are troubleshooting an issue or looking for a head start on your next project, these resources are designed to save you time. We constantly update this section to reflect the latest community feedback and newest tool features.

Webhook and force-hook

Supported hook providers: only discord for now, but let us know if you want another one to be added. It configures automatically to your ConLogSet() settings. To overwrite and send a hook even when ConLogInit is turned off. Have ConLogWebhook() set and force-hook in your message.

/**
 * Webhooks are now supported to send your critical logs to your preffered platform.
 * 
 * @param {boolean} status - Enable or disable webhook logging
 *   - true: Enable all ConLog output to the specified webhook URL
 *   - false: Completely disable all ConLog output to webhooks (default)
 * @param {string} provider - The webhook provider (e.g., "discord")
 * @param {string} url - The webhook URL to send messages to
 * 
 */
ConLogWebhook(true, `discord`, `https://discord.com/api/webhooks/your-hook`)
ConLog(`force-hook This message will be send to your discord webhook.`)