Git Product home page Git Product logo

gal-voice-bot's Introduction

Gal-Voice-Bot

Release使用说明

  1. 下载最新版Gal-Voice-Release
  2. 将搭载机器人的qq账号及密码填入config.yml的account
  3. 将发出指令的qq账号填入superusers
  4. 在目录打开powershell, 输入指令.\go-cqhttp
  5. 在目录打开cmd, 输入指令python bot.py
  6. 如果是第一次运行, 需要用手机辅助验证登录

GUI使用说明

  1. 下载最新版Gal-Voice-GUI
  2. 解压, 运行Launcher.exe
  3. 将搭载机器人的qq账号及密码填入id和password
  4. 将发出指令的qq账号填入superuser
  5. 如果是第一次运行, 需要用手机辅助验证登录

Release及GUI下载:

进qq群下载 613525127
或网盘下载 链接:https://pan.baidu.com/s/1aVILV7IUbcv3oXdtFjP8Eg?pwd=1926

Q&A

Q:为什么报错显示需添加1458038842为好友?

A:没有指定发送对象, 使用"私聊"或"群聊"+号码 指定对象.

Q:为什么报错显示Mecab initialize失败?

A:运行路径不能包含中文.

Q:为什么指定了对象还是只给自己(大号)发消息?

A:用"发送"指令而不是"说"

Q:为什么没有权限?

A:没有填superuser.

Q:如果上述不能解决我的问题怎么办?

A:加群, 先看群文档, 如果没有就在群里问.

支持的说话者

原神

['派蒙', '凯亚', '安柏', '丽莎', '琴', '香菱', '枫原万叶', '迪卢克', '温迪', '可莉', '早柚', '托马', '芭芭拉', '优菈', '云堇', '钟离', '魈', '凝光', '雷电将军', '北斗', '甘雨', '七七', '刻晴', '神里绫华', '戴因斯雷布', '雷泽', '神里绫人', '罗莎莉亚', '阿贝多', '八重神子', '宵宫', '荒泷一斗', '九条裟罗', '夜兰', '珊瑚宫心海', '五郎', '散兵', '女士', '达达利亚', '莫娜', '班尼特', '申鹤', '行秋', '烟绯', '久岐忍', '辛焱', '砂糖', '胡桃', '重云', '菲谢尔', '诺艾尔', '迪奥娜', '鹿野院平藏']

柚子社

宁宁|爱瑠|芳乃|茉子|丛雨|小春|七海

ATRI My Dear Moments

亚托莉

gal-voice-bot's People

Contributors

thekog 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

gal-voice-bot's Issues

关于音色自定义

请问如果要更换成自己的模型,是不是只需要换pth和json就行了呢

语音无法发送

显示API调用失败

API调用失败:<ActionFailed data=None, echo='6', msg='SEND_MSG_API_ERROR', retcode=100, status='failed', wording='请参考 go-cqhttp 端输出'>。请检查输入字符是否匹配语言。

日志附下:

09-02 14:33:13 [SUCCESS] nonebot | ONEBOT V11 980683549 | [message.private.friend]: Message -1742094270 from 130*****94 "亚托莉发送私は"
09-02 14:33:13 [DEBUG] nonebot | Checking for matchers in priority 5...
09-02 14:33:13 [INFO] nonebot | Event will be handled by <Matcher from plugins.atri_voice, type=message, priority=5, temp=False>
09-02 14:33:13 [DEBUG] nonebot | Running matcher <Matcher from plugins.atri_voice, type=message, priority=5, temp=False>
09-02 14:33:13 [DEBUG] nonebot | Running handler <Dependent call=<function _ at 0xffff16f5bca0>, params=[ModelField(name='bot', type=Bot, required=True), ModelField(name='event', type=MessageEvent, required=True), ModelField(name='matched', type=Tuple[Any, ...], required=True)], parameterless=[]>
voice Successfully saved!
09-02 14:33:14 [DEBUG] nonebot | OneBot V11 | Calling API send_private_msg
09-02 14:33:14 [DEBUG] nonebot | OneBot V11 | Calling API send_msg
09-02 14:33:14 [INFO] nonebot | Matcher <Matcher from plugins.atri_voice, type=message, priority=5, temp=False> running complete
09-02 14:33:14 [DEBUG] nonebot | Stop event propagation

atri_voice无法加载

[ERROR] nonebot | Failed to import "atri_voice"
Traceback (most recent call last):
File "/usr/local/python3/bin/nb", line 8, in
sys.exit(main())
File "/usr/local/python3/lib/python3.8/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/local/python3/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/python3/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/python3/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/python3/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/python3/lib/python3.8/site-packages/nb_cli/commands/main.py", line 30, in run
run_bot(file, app)
File "/usr/local/python3/lib/python3.8/site-packages/nb_cli/handlers/deploy.py", line 20, in run_bot
module = importlib.import_module(module_name)
File "/usr/local/python3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "./bot.py", line 15, in
nonebot.load_from_toml("pyproject.toml")
File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 172, in load_all_plugins
return set(
File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 173, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))

File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 148, in load_plugin
module = importlib.import_module(
File "/usr/local/python3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "/usr/local/python3/lib/python3.8/site-packages/nonebot/plugin/manager.py", line 237, in exec_module
super().exec_module(module)
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "./plugins/atri_voice/init.py", line 5, in
from VITS import Trans,Trans2
File "./VITS/init.py", line 8, in
from .text import text_to_sequence
File "./VITS/text/init.py", line 2, in
from . import cleaners
File "./VITS/text/cleaners.py", line 17, in
import pyopenjtalk
File "./pyopenjtalk/init.py", line 20, in
from .htsengine import HTSEngine
ModuleNotFoundError: No module named 'pyopenjtalk.htsengine'``

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.