• TeamSpeak has reported a vulnerability in it's client that can potentially lead to RCE. A new version has been released that fixes it. So please update the client in your bot installation as soon as possible as well. Click here for more information.
  • If you need help or want to discuss things, you now can also join us on our Discord Server!

EN say (tts) does not work via script anymore

BrAiNee

New Member
Hi i upgraded the bot from 0.13.37 to 1.0.0-alpha.5, now my greeting script does not work anymore.
This is the error:
error on callback func: Uncaught exception: ReferenceError: say is not defined at come:87:3 say("Sorry muss los", "de"); ^ Stack trace: ReferenceError: say is not defined at come:87:4

and this the code:
say("Sorry muss los", "de");

on 0.13.37 it was working fine, what should i change ?
 

BrAiNee

New Member
i get the say command from this and its the same like in the scrpt say(text, locale?) or what do you mean ?
 

BrAiNee

New Member
ok i found it out myself while reading other tts scripts i put a "const audio = require('audio');" line in it and changed "say" to "audio.say"
now it works
 

Similar threads

Top