buttonboxrewardses

This commit is contained in:
legop3
2026-04-18 19:11:26 -04:00
parent fe8d3df421
commit 3513a11068
26 changed files with 1103 additions and 128 deletions
+15
View File
@@ -1492,6 +1492,21 @@ function handleBusEvent(event) {
});
break;
}
case 'buttonBox.discordStalkerPing': {
const message = payload?.message ? String(payload.message) : 'Button box chaos reward triggered.';
const stalkerRoleId = roles.stalkerPing || null;
const content = stalkerRoleId ? `<@&${stalkerRoleId}> ${message}` : message;
announce({
channelId: channels.general,
pingRoleId: stalkerRoleId,
content,
color: 0xe91e63,
title: 'Button Box Reward',
description: message,
includeSiteUrl: false,
});
break;
}
default:
break;
}