mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
8 lines
243 B
Python
8 lines
243 B
Python
|
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)))
|