Comments (10)
If you plan to do this, then add some more features like this. Like emoji name instead of emoji id, channel name instead of channel id...
from discord-tts-bot.
Ok, I'm gonna put this as a feature request and try to get it done. I'll see if I can do it this week cause I've been quite busy :(
Alright! Take your time. I am in no big rush to get it fixed. :)
from discord-tts-bot.
As of right now this is the normal behavior. Mentions are received as the user ID which is why the bot is saying the user ID instead of their name.
I don't know if it would be worth to parse the mentions so the bot says their name instead of their ID since you can essentially just write their name instead of mentioning them. Is there a reason why you mention the user rather than just writing their name?
from discord-tts-bot.
As of right now this is the normal behavior. Mentions are received as the user ID which is why the bot is saying the user ID instead of their name.
I don't know if it would be worth to parse the mentions so the bot says their name instead of their ID since you can essentially just write their name instead of mentioning them. Is there a reason why you mention the user rather than just writing their name?
I self-host the bot in a few servers, and sometimes some people tend to ping people on purpose, with the intent of saying the whole user id instead. It isn't a major issue, but for those who don't want to talk, it can get very annoying very fast.
from discord-tts-bot.
I see, so you would expect the bot to say their name instead of their ID, right?
from discord-tts-bot.
I see, so you would expect the bot to say their name instead of their ID, right?
Correct.
from discord-tts-bot.
Ok, I'm gonna put this as a bug report and try to get it done. I'll see if I can do it this week cause I've been quite busy :(
from discord-tts-bot.
A simple solution for this issue which is not the best but good. There is mesage.cleanContent
we may use this on say command
const content = mesage.cleanContent.slice(`${this.client.prefix}say`.length);
ttsPlayer.say(content, GoogleProvider.NAME);
from discord-tts-bot.
Hi, thanks again for the suggestion.
I still haven't found enough time to work on this, I'm waiting for my semester to end in about 3 weeks so I can work on this.
In any case, as you may have seen from issue #54, all commands will be updated into slash commands and that means no message event handler.
from discord-tts-bot.
Fixed in #58.
from discord-tts-bot.
Related Issues (20)
- Slash Commands Not Registering? HOT 4
- Crash on Leaving ${channel.name} do to inactivity HOT 3
- Channel delete crashes the bot LevelDataProvider HOT 10
- Crash when parsing custom server emojis HOT 1
- Crash when sending images/stickers in TTS channel HOT 3
- Add support for NextUp Ivona TTS engine. HOT 1
- Add an option for the bot to say who said what. HOT 2
- Add support for TTS Tool - Microsoft and Amazon voices. HOT 1
- Settings are broken HOT 3
- Add the option to log what people say in the channel.
- Could you add the prefix to replace the slash command HOT 2
- bot not starting HOT 3
- Bot shouldn't read out links
- The bot shouldn't say "User said:" when the same user sends multiple successive messages.
- cannot deploy bot in repl'it HOT 1
- Re-enable the prefix commands HOT 3
- Google_tts slow speed is the same as normal HOT 1
- How to use TTS without `/say` command after have joined channel HOT 4
- Support for Other TTS Engines? HOT 4
- Commandless Text-only TTS channels not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-tts-bot.