Discord Logs for Paymenter
Fully customizable Discord logging with rule templates, filters, and test webhooks.
Fully customizable Discord logging with rule templates, filters, and test webhooks.
What this extension does
- Sends Paymenter logs to Discord webhooks in rich embeds.
- Lets you create unlimited log rules from admin.
- Supports presets and one-click testing per rule.
- Includes advanced filtering (level, channel, keywords, regex).
Why this is different
- Per-rule templates for title, description, footer, and content.
- Author block, thumbnail, image, custom embed fields (JSON).
- Plain text mode or embed mode.
- Mention control by severity.
- Per-rule timeout and max message length.
- Request metadata + context + exception trace toggles.
Core Features
- Unlimited Rules: Create/edit/delete as many webhook rules as you need.
- Preset Templates: Critical Alerts, Payment Failures, Security Watch, Debug Stream.
- Install Presets: One-click action in admin to add starter rules.
- Test Webhook: Send a test payload directly from list/edit page.
- Legacy Fallback: Optional single-webhook fallback for backward compatibility.
Filtering Options
- Minimum log level (
debugtoemergency) - Channel filter (
stack,daily,singleor*) - Message contains (CSV)
- Message does not contain (CSV)
- Message regex (case-insensitive)
Embed / Message Customization
- Webhook username + avatar URL
- Mention + mention levels
- Content template (top message)
- Title/description/footer templates
- Color (
#hexor integer) - Author (
name,url,icon) - Thumbnail URL + image URL
- Custom embed fields via JSON
- Plain text mode toggle
- Max message length
- TTS toggle
Template Variables
Use these in
content_template, title_template, and description_template:
Code:
{app}
{level}
{channel}
{env}
{message}
{time}
Custom Fields JSON Example
Code:
[
{"name": "Service", "value": "Billing", "inline": true},
{"name": "Node", "value": "eu-1", "inline": true}
]
Install Guide
- Upload the extension ZIP in Paymenter admin.
- Enable Discord Logs.
- Open Discord Log Rules in admin.
- Create a rule or click Install Presets.
- Set your webhook URL.
- Use Test to verify delivery.
Upgrade command (if needed)
Code:
php artisan app:extension:upgrade other Logs
Built for Paymenter admins who want complete control over log routing and formatting.
