feat(boost-greeting): implement randomized greeting messages

Introduce a collection of greeting templates to provide variety when
a user boosts the server. The system now selects a random message
from the available variants and logs the selected variant index.
This commit is contained in:
MythEclipse
2026-06-06 03:39:25 +07:00
parent 97442265ba
commit 8ff46104f1
2 changed files with 17 additions and 6 deletions
-1
View File
@@ -13,7 +13,6 @@ describe("sendBoostGreeting", () => {
await sendBoostGreeting(channel, "user-123", "channel-456");
expect(sent.length).toBe(1);
expect(sent[0]).toContain("Makasih udah ngeboost");
expect(sent[0]).toContain("<@user-123>");
expect(sent[0]).toContain("/booster-role claim");
expect(sent[0]).toContain("di sini");