8 lines
243 B
Python
Raw Normal View History

2022-03-13 21:25:42 +08:00
from hoshino import sucmd
from hoshino.typing import CommandSession
from hoshino.util import escape
@sucmd('取码', force_private=False)
async def get_cqcode(session: CommandSession):
await session.send(escape(str(session.current_arg)))