Skip to content

Commit 86ec264

Browse files
authored
更新 main.py
1 parent 869ffc7 commit 86ec264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def load_plugin():
2323
module = importlib.util.module_from_spec(spec)
2424
spec.loader.exec_module(module)
2525
module.api = vcbot_api.copy()
26-
@logger.catch
26+
2727
async def plugins_event(event:str): # event:all
2828
skip=False
2929
for file in os.listdir("plugins"):
@@ -50,7 +50,7 @@ def send_msgs(text:str):
5050
logger.info(f'send:{text}')
5151
sync(live.send_danmu(text))
5252

53-
53+
@logger.catch
5454
def listen():
5555
@live.LiveDanma.on("ALL")
5656
async def event(event:str):

0 commit comments

Comments
 (0)