mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
remove init for render
This commit is contained in:
parent
829d741158
commit
153f463d16
@ -51,12 +51,6 @@ class Render(metaclass=Singleton):
|
||||
# logger.debug(code)
|
||||
return code
|
||||
|
||||
async def _start():
|
||||
if plugin_config.hk_reporter_use_pic:
|
||||
r = Render()
|
||||
await r.init()
|
||||
|
||||
nonebot.get_driver().on_startup(_start)
|
||||
async def parse_text(text: str):
|
||||
if plugin_config.hk_reporter_use_pic:
|
||||
r = Render()
|
||||
|
Loading…
x
Reference in New Issue
Block a user