import{_ as i,c as a,o as t,ae as n}from"./chunks/framework.AELpvxz7.js";const d=JSON.parse('{"title":"index","description":"","frontmatter":{"title":"index","order":100,"collapsed":true},"headers":[],"relativePath":"en/dev/api/plugins/twisuki_petcat/index.md","filePath":"en/dev/api/plugins/twisuki_petcat/index.md","lastUpdated":null}'),e={name:"en/dev/api/plugins/twisuki_petcat/index.md"};function h(l,s,p,k,r,o){return t(),a("div",null,s[0]||(s[0]=[n('

Module nonebot_plugin_marshoai.plugins.twisuki_petcat


@on_function_call(description='传入猫猫种类, 新建一只猫猫').params(type=String(description='猫猫种类, 默认"猫1", 可留空'))

async func cat_new(type: str) -> str

Description: 新建猫猫

Source code or View on GitHub
python
@on_function_call(description='传入猫猫种类, 新建一只猫猫').params(type=String(description='猫猫种类, 默认"猫1", 可留空'))\nasync def cat_new(type: str) -> str:\n    return pc_cat.cat_new(type)

@on_function_call(description='传入token(一串长20的b64字符串), 新名字, 选用技能, 进行猫猫的初始化').params(token=String(description='token(一串长20的b64字符串)'), name=String(description='新名字'), skill=String(description='技能'))

async func cat_init(token: str, name: str, skill: str) -> str

Description: 初始化猫猫

Source code or View on GitHub
python
@on_function_call(description='传入token(一串长20的b64字符串), 新名字, 选用技能, 进行猫猫的初始化').params(token=String(description='token(一串长20的b64字符串)'), name=String(description='新名字'), skill=String(description='技能'))\nasync def cat_init(token: str, name: str, skill: str) -> str:\n    return pc_cat.cat_init(token, name, skill)

@on_function_call(description='传入token, 查看猫猫信息').params(token=String(description='token(一串长20的b64字符串)'))

async func cat_show(token: str) -> str

Description: 查询信息

Source code or View on GitHub
python
@on_function_call(description='传入token, 查看猫猫信息').params(token=String(description='token(一串长20的b64字符串)'))\nasync def cat_show(token: str) -> str:\n    return pc_cat.cat_show(token)

@on_function_call(description='传入token, 玩猫').params(token=String(description='token(一串长20的b64字符串)'))

async func cat_play(token: str) -> str

Description: 玩猫

Source code or View on GitHub
python
@on_function_call(description='传入token, 玩猫').params(token=String(description='token(一串长20的b64字符串)'))\nasync def cat_play(token: str) -> str:\n    return pc_cat.cat_play(token)

@on_function_call(description='传入token, 投喂猫猫').params(token=String(description='token(一串长20的b64字符串)'))

async func cat_feed(token: str) -> str

Description: 喂猫

Source code or View on GitHub
python
@on_function_call(description='传入token, 投喂猫猫').params(token=String(description='token(一串长20的b64字符串)'))\nasync def cat_feed(token: str) -> str:\n    return pc_cat.cat_feed(token)

@on_function_call(description='帮助文档/如何创建一只猫猫').params()

async func help_cat_new() -> str

Source code or View on GitHub
python
@on_function_call(description='帮助文档/如何创建一只猫猫').params()\nasync def help_cat_new() -> str:\n    return pc_info.help_cat_new()

@on_function_call(description='可选种类').params()

async func help_cat_type() -> str

Source code or View on GitHub
python
@on_function_call(description='可选种类').params()\nasync def help_cat_type() -> str:\n    return pc_info.print_type_list()

@on_function_call(description='可选技能').params()

async func help_cat_skill() -> str

Source code or View on GitHub
python
@on_function_call(description='可选技能').params()\nasync def help_cat_skill() -> str:\n    return pc_info.print_skill_list()
',38)]))}const g=i(e,[["render",h]]);export{d as __pageData,g as default};