style: change webhook text
This commit is contained in:
+4
-4
@@ -19,8 +19,8 @@ export function rubgramWebhookTemplate(
|
|||||||
type: 10,
|
type: 10,
|
||||||
content:
|
content:
|
||||||
type === "submit"
|
type === "submit"
|
||||||
? "## :incoming_envelope: New Submission"
|
? "## :incoming_envelope: ลูกค้าลงคิว"
|
||||||
: "## :money_with_wings: Submission Paid",
|
: "## :money_with_wings: จ่ายเงินแล้ว",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
accessory: {
|
accessory: {
|
||||||
@@ -37,13 +37,13 @@ export function rubgramWebhookTemplate(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 10,
|
type: 10,
|
||||||
content: `**Name**: ${sub.name}\n**Service**:\n${sub.service
|
content: `**ชื่อ**: ${sub.name}\n**บริการ**:\n${sub.service
|
||||||
.map((s) => types.find((t) => t.id === s)?.display)
|
.map((s) => types.find((t) => t.id === s)?.display)
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
.map((s) => `- ${s}`)
|
.map((s) => `- ${s}`)
|
||||||
.join(
|
.join(
|
||||||
"\n",
|
"\n",
|
||||||
)}\n**Server**: ${{ us: "America", eu: "Europe", as: "Asia", tw: "Taiwan" }[sub.server]}\n-# ${type === "submit" ? "**Not** p" : "P"}aid: **${sub.price} ฿** | <@${sub.user}>`,
|
)}\n**เซิพ**: ${{ us: "America", eu: "Europe", as: "Asia", tw: "Taiwan" }[sub.server]}\n-# ${type === "submit" ? "**Not** p" : "P"}aid: **${sub.price} ฿** | <@${sub.user}>`,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
accent_color: type === "paid" ? 0x0ef06d : 15714574,
|
accent_color: type === "paid" ? 0x0ef06d : 15714574,
|
||||||
|
|||||||
Reference in New Issue
Block a user