Giter Site home page Giter Site logo

maimai_plugin's Introduction

Typing SVG

欢迎来到爱丽数码的主页

  • 🔭 I’m currently working on office
  • 🌱 I’m currently learning Python
  • 🏠 I’m currently living in Anhui, China
  • 🤔 I’m looking for help with my really friend
  • 📫 How to reach me | 可以通过以下渠道联系我:
  • 🤝 Support me: AFDian

visits

My Code Status

Overview

maimai_plugin's People

Contributors

55601425pzjay avatar agnes4m avatar akarinz avatar anselyuki avatar diving-fish avatar zhs852 avatar

Stargazers

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

Forkers

nekonekokawaii

maimai_plugin's Issues

启动时报错

Traceback (most recent call last):
File "F:\Bot\Nonebot\Miruku\bot.py", line 19, in
nonebot.run()
File "F:\Bot\Nonebot\Miruku.venv\lib\site-packages\nonebot_init_.py", line 331, in run
get_driver().run(*args, **kwargs)
File "F:\Bot\Nonebot\Miruku.venv\lib\site-packages\nonebot\drivers\none.py", line 69, in run
loop = asyncio.get_event_loop()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 656, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.

发送/help指令时出错

02-22 16:23:55 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_maimai.public, lineno=58)
02-22 16:23:56 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_maimai.public, lineno=58) running complete02-22 16:23:56 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_maimai.public, lineno=58) failed.Traceback (most recent call last):
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot_plugin_maimai\public.py", line 84, in _
await help.send(MessageSegment.image(pic))
AttributeError: '_Helper' object has no attribute 'send'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 15, in
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot_init_.py", line 333, in run
get_driver().run(*args, **kwargs)
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\drivers\fastapi.py", line 185, in run
uvicorn.run(
File "C:\Users\Lsrl\mai.venv\lib\site-packages\uvicorn\main.py", line 587, in run
server.run()
File "C:\Users\Lsrl\mai.venv\lib\site-packages\uvicorn\server.py", line 62, in run
return asyncio.run(self.serve(sockets=sockets))
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 603, in run_forever
self._run_once()
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1909, in _run_once
handle._run()
File "C:\Users\Lsrl\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\message.py", line 476, in check_and_run_matcher
await _run_matcher(

File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\message.py", line 428, in run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 842, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\internal\matcher\matcher.py", line 817, in simple_run
await handler(
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot\dependencies_init
.py", line 106, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\Lsrl\mai.venv\lib\site-packages\nonebot_plugin_maimai\public.py", line 86, in _
await help.send(help_str)
AttributeError: '_Helper' object has no attribute 'send'

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.