nodebb-plugin-calendar-onekite 12.0.20 → 12.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/discord.js +1 -1
- package/package.json +1 -1
package/lib/discord.js
CHANGED
|
@@ -88,7 +88,7 @@ function buildReservationMessage(kind, reservation) {
|
|
|
88
88
|
function buildWebhookPayload(kind, reservation) {
|
|
89
89
|
// Discord "regroupe" visuellement les messages consécutifs d'un même auteur.
|
|
90
90
|
// En utilisant un username différent par action, on obtient un message bien distinct.
|
|
91
|
-
const username = kind === 'paid' ? '
|
|
91
|
+
const username = kind === 'paid' ? 'Onekite • Paiement' : 'Onekite • Réservation';
|
|
92
92
|
return {
|
|
93
93
|
username,
|
|
94
94
|
content: buildReservationMessage(kind, reservation),
|
package/package.json
CHANGED