前提・実現したいこと
discordのテキストをボットが読み上げるには...。
発生している問題・エラーメッセージ
C:/open_jtalk/bin/open_jtalk -x C:/open_jtalk/bin/dic -m C:/open_jtalk/bin/mei/mei_bashful.htsvoice -r 1.2 -ow output.wav input.txt Ignoring exception in on_message Traceback (most recent call last): File "C:\Users\Username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\discord\client.py", line 312, in _run_event await coro(*args, **kwargs) File "mute.py", line 56, in on_message creat_WAV(message.content) File "C:\Users\Username\OneDrive\デスクトップ\opne_jtalk\bin\voice_generator.py", line 92, in creat_WAV subprocess.run(cmd) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 489, in run with Popen(*popenargs, **kwargs) as process: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。