Git Product home page Git Product logo

nonebot_plugin_setu's People

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

Watchers

 avatar  avatar

nonebot_plugin_setu's Issues

发送图片

如果发送图片加个发几张的参数就好了。

发送报错

[ERROR] nonebot_plugin_setu | <class 'httpx.ConnectError'>
nonebot | Matcher(type='message', module=nonebot_plugin_setu) running complete

本地色图发送失败

他文件夹里下了200多张,但是我关闭在线发图之后再发涩图,他说没有涩图啦,也没有报错啥的

SSL Error

图片'
出现了[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)错误。
代理配置有效。

获取涩图报错

[ERROR] nonebot_plugin_setu |
[ERROR] nonebot_plugin_setu | 下载时出现异常

[ERROR] nonebot | Running matcher <Matcher from nonebot_plugin_setu, type=message, priority=1, temp=False> failed.
ssl.SSLSyscallError: Some I/O error occurred (_ssl.c:1129

anyio.BrokenResourceError

httpcore.ConnectError

httpx.ConnectError

nonebot.adapters.onebot.v11.exception.ActionFailed: <ActionFailed data=None, echo={'seq': 2},
msg=SEND_MSG_API_ERROR, retcode=100, status=failed, wording=请参考 go-cqhttp 端输出>

启动报错

启动时报如下错误,请问一下该怎么解决
04-05 02:04:36 [ERROR] nonebot | Failed to import "nonebot_plugin_setu"
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/local/lib/python3.9/multiprocessing/spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/.local/lib/python3.9/site-packages/uvicorn/subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "/home/ubuntu/.local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/ubuntu/.local/lib/python3.9/site-packages/uvicorn/server.py", line 67, in serve
config.load()
File "/home/ubuntu/.local/lib/python3.9/site-packages/uvicorn/config.py", line 458, in load
self.loaded_app = import_from_string(self.app)
File "/home/ubuntu/.local/lib/python3.9/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/home/ubuntu/mybot/MMToubot/./bot.py", line 28, in
nonebot.load_from_toml("pyproject.toml")
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/load.py", line 53, in load_all_plugins
return manager.load_all_plugins()
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 128, in load_all_plugins
return set(
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 129, in
filter(None, (self.load_plugin(name) for name in self.list_plugins()))

File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 104, in load_plugin
module = importlib.import_module(name)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot/plugin/manager.py", line 194, in exec_module
super().exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot_plugin_setu/init.py", line 31, in
Config.create_file()
File "/home/ubuntu/.local/lib/python3.9/site-packages/nonebot_plugin_setu/create_file.py", line 33, in create_file
os.mkdir('loliconImages/r18')
FileNotFoundError: [Errno 2] No such file or directory: 'loliconImages/r18'

tag混乱

我不知道为什么tag不是显示没有,就是乱发图。有些是标题上有tag才发对
H WK AHL WE28NR79VE78(0

无法私聊发送涩图

已加为好友,用户设置cd数为0,开启私聊涩涩,无论是机器人主人还是其他用户均无法通过私聊收到“涩图”指令的色图
群聊消息正常,其他功能群聊以及私聊时可用
nonebot和go-cqhttp均提示发送成功,但用户未收到聊天消息
以下是记录以及配置文件
QQ图片20221211233728
QQ图片20221211233744
QQ图片20221211233747
QQ图片20221211233835

对于API请求没使用代理导致的超时及SSL错误报告

在gitPic.py line:25
行async with AsyncClient() as client:未使用代理会导致不停提示机器人被风控
建议改为:
http = proxy_http if Config().proxies_switch else None socks = proxy_socks if Config().proxies_switch else None async with AsyncClient(proxies=http, transport=socks) as client:

发送色图后报错

add_withdraw_job() got an unexpected keyword argument 'forward_id',本次涩图不计入cd

image

能否增加command start

新年快乐!
使用时注意到触发指令不需要额外添加前缀,虽然有CD限制,但有时在聊天时会提到关键词
希望增加可选可自定义的命令前缀(或默认使用机器人的命令前缀)
如果已经具备该功能,请告诉我在哪里调试它
感谢!

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.