diff --git a/src/discord/events/boostGreeting.test.ts b/src/discord/events/boostGreeting.test.ts index c727a9b..c51382a 100644 --- a/src/discord/events/boostGreeting.test.ts +++ b/src/discord/events/boostGreeting.test.ts @@ -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"); }); }); diff --git a/src/discord/events/boostGreeting.ts b/src/discord/events/boostGreeting.ts index 88ff1b2..d2c618b 100644 --- a/src/discord/events/boostGreeting.ts +++ b/src/discord/events/boostGreeting.ts @@ -10,8 +10,8 @@ export async function sendBoostGreeting( greetingChannelId: string, ): Promise { 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 });