discord-tts / bot Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://discord.gg/zWPWwQC
License: GNU Affero General Public License v3.0
Home Page: https://discord.gg/zWPWwQC
License: GNU Affero General Public License v3.0
This is quite annoying
Sometimes the bot will connect to the channel but won't talk.
Hello again, after using docker-compose build with no errors at all and trying to run docker-compose up I get this weird error
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/run/desktop/mnt/host/d/DiscordTTS/keydb.conf" to rootfs at "/etc/keydb/keydb.conf" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
I have tried searching on the internet, as my first thought was that my Docker instalation was faulty, but it seems it's about something with the filesystem. My knowledge with Docker is miniscule as this may be the 3rd project I have in there.
Docker Logs:
Appreciations in advance.
any time i try to use the bot it simply will not work
Currently the username can be changed via /set nick
, and the prefix can be removed via /set xsaid
, but this should be templated.
Good afternoon, got this error while trying to self-host on python
>D:\DiscordTTS> python3 main.py
Traceback (most recent call last):
File "D:\DiscordTTS\main.py", line 8, in <module>
from signal import SIGHUP, SIGINT, SIGTERM
ImportError: cannot import name 'SIGHUP' from 'signal' (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\lib\signal.py)
Tried to pip signal but didn't find anything, hope you can help with anything.
The TikTok TTS mode appears not to work. Whenever text is typed, nothing is spoken-back. This might be due to API changes in the TikTok API as other tools I've used that utilised the TikTok TTS voices have broke around late august.
This situation sucks and requires -debug leave rn
You ever have someone send multiple emojis within a message so you have to endure the bot say "emoji blobfox underscore nom underscore fox" multiple times? No? Lucky.
Well Im wondering if theres the possibility of adding a config option to have the TTS bot not read emojis to save me from emoji spam
C:\Users\vl1\ttsbot>cargo build --release
Compiling simd-json v0.6.0
Compiling flate2 v1.0.25
Compiling sqlx-rt v0.6.2
Compiling atoi v1.0.0
Compiling tokio-tungstenite v0.17.2
Compiling crossbeam-deque v0.8.3
Compiling parking_lot v0.11.2
error[E0308]: mismatched types
--> C:\Users\vl1\.cargo\registry\src\github.com-1ecc6299db9ec823\simd-json-0.6.0\src\lib.rs:228:86
|
228 | fn please_compile_with_a_simd_compatible_cpu_setting_read_the_simdjsonrs_readme() -> ! {}
| ---------------------------------------------------------------------------- ^ expected `!`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected type `!`
found unit type `()`
Compiling indexmap v1.9.2
For more information about this error, try `rustc --explain E0308`.
error: could not compile `simd-json` due to previous error
warning: build failed, waiting for other jobs to finish...
For those of us who are dudes, it would be great if there were an ability to switch the TTS from female to male, as it's kinda disorienting hearing a girl talk back in words you just wrote..
Currently, it is not easy to discriminate who is talking, when multiple people use the bot (for example while playing a game in fullscreen mode).
Supporting multiple voices (either pre-defined or generated) would mitigate this issue.
I'd like to propose following two implementation strategies:
Adding an option to allow people to use a custom prefix like '1
, '2
, etc. to select one of various pre-defined voices for their message.
While this solution seems easy and fast to implement, the altercation of the prefix feels a bit messy..
The idea is to allow users to change settings of the voice they are using (type, pitch, speed, etc ?) by using a command.
This would require to store the settings in some sort of database. A user-related save file is probably more than sufficient though ๐.
I just skimmed through the repository, but didn't find some sort of user-related storage? Setting up a pipeline for this could open up the door for many interesting personlization features, that would make the usage of the bot much more fun!
I am experienced with pydub and librosa, so I might be able to help with the implementation of this feature if you agree with it's implementation!
This has been a request by a couple people now, and makes sense, probably implementable via a bool button after required role is set.
If you have ever self-hosted TTS Bot, you will notice something similar to
[mp3 @ 0x55aeb2e22700]
Estimating duration from bitrate, this may be inaccurate
is printed to console every time a message is said. I have tried looking for a solution (181413e) but nothing seems to work, if anyone has any ideas comment here or PR to dev to fix it!
Branch: rust-rewrite
Cargo Version: 1.57.0 (b2e52d7ca 2021-10-21)
OS Type: Ubuntu 18.04 (bionic) [64-bit]
Compiler Log: here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.