async def command_csl(app: GraiaMiraiApplication, group: Group, _gm: GroupMessage): CP = CommandParser(_gm, settings.commandSymbol) _playerName = CP.Command.args if CP.Command.args else CP.quote_plain_message _player = PlayerProfile(_playerName) _message = _player.getCsl() await app.sendGroupMessage(group, MessageChain.create(_message))
async def command_csl(app: GraiaMiraiApplication, group: Group, _gm: GroupMessage): M = MessagePro(_gm) _playerName = M.Command.args if M.Command.args else M.quote_plain_message _player = PlayerProfile(_playerName) _message = _player.getCsl() await app.sendGroupMessage(group, MessageChain.create(_message))