💡 <b>DiscoHooks – Advanced Discord Notification Extension for Paymenter</b>
DiscoHooks is an advanced notification extension for Paymenter that lets you send rich, customizable Discord webhook messages whenever events happen in your system.
⚠️ <b>Disclaimer</b>: This extension is not affiliated with or related to the <a href="https://discohook.org/" target="_blank" class="text-[var(--vp-c-brand-1)] hover:underline">Discohook</a> tool/service. I just happened to name it <b>DiscoHooks</b> because… well, it's catchy 😎.
[HR][/HR]
🔥 <b>What makes DiscoHooks powerful?</b>
- <b>Event-driven</b>: Easily choose what events trigger a notification — invoice paid, new order, ticket reply, etc.
- <b>Custom fields</b>: Map dynamic model data (like user.name or invoice.formattedTotal) directly into your Discord embeds.
- <b>Ping support</b>: Tag specific roles or users using Discord mentions.
- <b>Smart field helper</b>: Automatically detects:
[LIST]
- Fillable fields
- Accessors (e.g. getFormattedTotalAttribute)
- Relationships (like user.name, ticket.latestMessage)
- Even custom methods like total()
Multi-channel support: Define multiple webhooks for different events or categories — thanks to its CRUD-based config system, you can add as many webhook configurations as you need (yes, even 1000 if you’re wild enough 😆).
[/LIST]
[HR][/HR]
📌 <b>Use Cases</b>
- Notify staff when a user pays an invoice 💸
- Ping a Discord role when a support ticket is updated 🛠️
- Log every new order into a private log channel 🧾
- Setup custom labels, fields, colors, and channels to match your server’s branding or flow 🎨