add factorio destruction sound alert, add command and cheer parser tests

This commit is contained in:
2025-11-27 20:39:17 +01:00
parent c9273afa88
commit d59bbd3690
4 changed files with 68 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
import PointRedeem from "pointRedeems";
import { playAlert } from "web/alerts/serverFunctions";
export default new PointRedeem({
name: "sfxFactorioAlert",
title: "Factorio Building Destroyed",
cost: 100,
color: "#A020F0",
prompt: 'Play the Factorio "Building Destroyed" sound effect',
sfxredeem: true,
execution: async (msg) =>
await playAlert({
name: "sound",
user: msg.userDisplayName,
sound: "factorioalert",
}),
});