moonstar-x / discord-tts-bot

A Text-to-Speech bot for Discord.
https://docs.moonstar-x.dev/discord-tts-bot
MIT License
98 stars 84 forks source link

RangeError notification should include phrase length #3

Closed moonstar-x closed 5 years ago

moonstar-x commented 5 years ago

The RangeError notification message should include the phrase length so the user can tell by how many characters they need to remove so the TTS will work. Also, this notification should be placed outside of the error catch which will remove the need of using a message argument on the playTTS() function.

moonstar-x commented 5 years ago

Done in commit a176f7b5705ddbe01bb8ea9a8aa08f7f28b664f2.