test(boost-greeting): update greeting message to Indonesian

Update the boost greeting message and its corresponding test assertions
to use Indonesian instead of English.
This commit is contained in:
MythEclipse
2026-06-06 03:38:37 +07:00
parent b2cd402adc
commit 97442265ba
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -13,10 +13,10 @@ describe("sendBoostGreeting", () => {
await sendBoostGreeting(channel, "user-123", "channel-456");
expect(sent.length).toBe(1);
expect(sent[0]).toContain("Thank you for boosting");
expect(sent[0]).toContain("Makasih udah ngeboost");
expect(sent[0]).toContain("<@user-123>");
expect(sent[0]).toContain("/booster-role claim");
expect(sent[0]).toContain("<#channel-456>");
expect(sent[0]).toContain("di sini");
});
test("handles different user and channel IDs", async () => {
@@ -30,6 +30,6 @@ describe("sendBoostGreeting", () => {
await sendBoostGreeting(channel, "other-user", "other-channel");
expect(sent[0]).toContain("<@other-user>");
expect(sent[0]).toContain("<#other-channel>");
expect(sent[0]).toContain("di sini");
});
});
+2 -2
View File
@@ -10,8 +10,8 @@ export async function sendBoostGreeting(
greetingChannelId: string,
): Promise<void> {
const message =
`🎉 Thank you for boosting <@${userId}>! ` +
`You can now claim a custom role using \`/booster-role claim\` in <#${greetingChannelId}>.`;
`🎉 Makasih udah ngeboost <@${userId}>! ` +
`Sekarang kamu bisa claim custom role pake \`/booster-role claim\` di sini.`;
await channel.send({ content: message });