• We would like to invite you to check out the latest 1.0 alpha versions. You can read more about what's new here. Please note, that this is still an early release and will contain new bugs ¯\_(ツ)_/¯
  • 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
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