Code Monkey home page Code Monkey logo

bot's People

Contributors

gnomeddev avatar hypergonial avatar jo4965 avatar lulalaby avatar meganium97 avatar mezotv avatar redst0neflux avatar saltycatsometimes avatar suburbgira avatar thesupergamer20578 avatar uwuscutely avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bot's Issues

Won't talk

Sometimes the bot will connect to the channel but won't talk.

Error from daemon

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:

Container Logs:

image

Bot image on docker:

image

postgresql image on docker:

image

Appreciations in advance.

wont talk

any time i try to use the bot it simply will not work

Removed voices?

We use this bot during raid nights for people who are unable to talk, but recently it looks like a ton of the voices were removed? Here's the list of voices from before:

and now:

can't import from signal?

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.

TikTok TTS mode non-functional

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.

Config option to skip emojis within message

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

Unable to compile

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...

[Feature Request] Make different voices for different users possible

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:

Choose voice by prefix-addon

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..

Store user-based preferences

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!

Suppress FFmpeg output

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!

Errors while compiling

Branch: rust-rewrite

Cargo Version: 1.57.0 (b2e52d7ca 2021-10-21)
OS Type: Ubuntu 18.04 (bionic) [64-bit]

Compiler Log: here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.