mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2026-01-25 21:22:05 +00:00
🪦不试试怎么逝世?
This commit is contained in:
@@ -9,6 +9,7 @@ import asyncio
|
||||
from io import StringIO
|
||||
from pathlib import Path
|
||||
from typing import Annotated, Any, Union
|
||||
from builtins import ellipsis
|
||||
|
||||
# from nonebot import require
|
||||
|
||||
@@ -653,7 +654,7 @@ async def _(
|
||||
if arg in result.options[arg].args.keys()
|
||||
else result.options[arg].args
|
||||
)
|
||||
if (_vlu := result.options[arg].value) is None
|
||||
if ((_vlu := result.options[arg].value) is None or isinstance(_vlu, ellipsis) )
|
||||
else _vlu
|
||||
)
|
||||
# await musicreater_convert.finish(
|
||||
@@ -661,6 +662,8 @@ async def _(
|
||||
# )
|
||||
nonebot.logger.info(_args)
|
||||
|
||||
|
||||
|
||||
if ((not superuser_permission) and (usr_id not in filesaves.keys())) or (
|
||||
superuser_permission
|
||||
and (
|
||||
|
||||
Reference in New Issue
Block a user