Open matthieugrieger opened 8 years ago
So the use case is very specific types of messages.
Do you have examples?
The best example I can think of is the message that is shown when a new track begins playing on my bot (MumbleDJ). It outputs an informational message that lists the track title, thumbnail, submitter, duration, and playlist if it comes from one.
The message is formatted as follows:
<table>
<tr>
<td align="center"><img src="%s" width=150 /></td>
</tr>
<tr>
<td align="center"><b><a href="%s">%s</a> (%s)</b></td>
</tr>
<tr>
<td align="center">Added by %s</td>
</tr>
</table>
It would be awesome if something could be added to this message that tells the TTS engine not to read the message.
As for implementing this, I feel like the most obvious approach would be to support an HTML class or tag that denotes a string that should not be read, like this:
<p class="no-tts">Don't read me!</p>
I understand this is a fairly specific request so I understand if this isn't worth being implemented. Just thought I would ask. :)
please no dont add this just dont allow bot like this
Hi!
I have a small feature request. It would be awesome if there was some sort of mechanism to mute the text-to-speech for individual text messages. An idea for implementation that I came up with is to allow users/developers to embed a tag or character in a text message that tells the text-to-speech engine not to read that message out loud.
This would be incredibly helpful for those of us who write Mumble bots, as it would allow bots to send text messages to the server that are otherwise annoying when read out loud.
Thanks!