# index | Marsho AI
Kawaii, Intelligent and Easy to Extend

Skip to content

# Module `nonebot_plugin_marshoai.plugins.twisuki_megakits` ​

`@on_function_call(description='摩尔斯电码加密').params(msg=String(description='被加密语句'))`

### async func `morse_encrypt(msg: str) -> str` ​

Description: 摩尔斯电码加密

Source code or View on GitHub
python

    @on_function_call(description='摩尔斯电码加密').params(msg=String(description='被加密语句'))
    async def morse_encrypt(msg: str) -> str:
        return str(await mk_morse_code.morse_encrypt(msg))

`@on_function_call(description='摩尔斯电码解密').params(msg=String(description='被解密语句'))`

### async func `morse_decrypt(msg: str) -> str` ​

Description: 摩尔斯电码解密

Source code or View on GitHub
python

    @on_function_call(description='摩尔斯电码解密').params(msg=String(description='被解密语句'))
    async def morse_decrypt(msg: str) -> str:
        return str(await mk_morse_code.morse_decrypt(msg))

`@on_function_call(description='转换为猫语').params(msg=String(description='被转换语句'))`

### async func `nya_encrypt(msg: str) -> str` ​

Description: 转换为猫语

Source code or View on GitHub
python

    @on_function_call(description='转换为猫语').params(msg=String(description='被转换语句'))
    async def nya_encrypt(msg: str) -> str:
        return str(await mk_nya_code.nya_encrypt(msg))

`@on_function_call(description='将猫语翻译回人类语言').params(msg=String(description='被翻译语句'))`

### async func `nya_decrypt(msg: str) -> str` ​

Description: 将猫语翻译回人类语言

Source code or View on GitHub
python

    @on_function_call(description='将猫语翻译回人类语言').params(msg=String(description='被翻译语句'))
    async def nya_decrypt(msg: str) -> str:
        return str(await mk_nya_code.nya_decrypt(msg))