Code Monkey home page Code Monkey logo

littlepaimon-plugin-abyss's Introduction

LittlePaimon

小派蒙|LittlePaimon-plugin-Abyss

✨为LittlePaimon插件提供实时便签和签到接入接码平台✨

license python version QQ guild

丨❗注意

代码没有经过充分测试,可能有亿点问题,有问题请提issues

丨📖 使用

LittlePaimon-plugin-Abyss文件夹放在LittlePaimon\LittlePaimon\plugins\

指令看小派蒙帮助图

丨⚙️ 配置

第一次启动时生成文件LittlePaimon\config\Abyss_config.yml 或者看小派蒙webui的加强签到

丨💸鸣谢

littlepaimon-plugin-abyss's People

Contributors

cm-edelweiss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar Nya.葉 avatar 惜月 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zmy15

littlepaimon-plugin-abyss's Issues

报错TypeError: expected string or bytes-like object怎末解决啊

12-14 15:52:24 [SUCCESS] nonebot | OneBot V11 2296287260 | [message.private.friend]: Message 1347515470 from 2157847035 '米游社过码'
12-14 15:52:24 [INFO] nonebot | Event will be handled by Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main)
12-14 15:52:25 [INFO] nonebot | Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main) running complete
12-14 15:52:25 [ERROR] nonebot | Running Matcher(type='message', module=LittlePaimon.plugins.LittlePaimon-plugin-Abyss-main.LittlePaimon_plugin_Abyss.main) failed.
Traceback (most recent call last):
File "bot.py", line 37, in
nonebot.run(app="mp_main:app", access_log=False)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/init.py", line 333, in run
get_driver().run(*args, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/drivers/fastapi.py", line 199, in run
uvicorn.run(
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/uvicorn/main.py", line 587, in run
server.run()
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 467, in check_and_run_matcher
await _run_matcher(

File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/message.py", line 419, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 759, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/internal/matcher/matcher.py", line 734, in simple_run
await handler(
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/dependencies/init.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/main.py", line 168, in _
data = await get_pass_challenge(str(event.user_id), uid)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/static.py", line 50, in get_pass_challenge
validate, ch = await get_validate(gt, ch, bbs_get_captcha, uid, False)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 183, in get_validate
validate, challenge = await rrocr(gt, challenge, referer)
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 84, in rrocr
jifen, _ = await query_score()
File "/root/Bot/LittlePaimon/LittlePaimon/plugins/LittlePaimon-plugin-Abyss-main/LittlePaimon_plugin_Abyss/api.py", line 56, in query_score
logger.info("人人积分", "➤", "", integral, True)
File "/root/Bot/LittlePaimon/LittlePaimon/utils/logger.py", line 15, in info
result_str = f'{escape_tag(result)}' if result_type else f'{escape_tag(result)}' if result else ''
File "/root/.cache/pypoetry/virtualenvs/littlepaimon-oMfLnv4c-py3.8/lib/python3.8/site-packages/nonebot/utils.py", line 52, in escape_tag
return re.sub(r"</?((?:[fb]g\s)?[^<>\s]*)>", r"\\g<0>", s)
File "/usr/lib/python3.8/re.py", line 210, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object

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.