• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN say (tts) does not work via script anymore

BrAiNee

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

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

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
 
Top