Audio hook in bot response

Hi there!
I apologize in advance for my poor knowledge of English! Is there any possibility to make sounds from the audio hook in the bot’s response? For example, I need to make a sound notification when a person wins in !gamble, for this I go to scripts> lang> english> games> games-gambling.js and change there:

$ .lang.register (‘gambling.won’, ‘$ 1 rolled $ 2 and won $ 3! $ 5’);


$ .lang.register (‘gambling.won’, ‘$ 1 rolled $ 2 and won $ 3! $ 5 (playsound applause)’);

It seems to me that this should work, but it is not :frowning:

same kind of idea as here

Let me know if you figure it out… I have yet to get the script to work correctly

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.