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",
		}),
});
