MCPcopy Create free account
hub / github.com/Loping151/RoverSign / get_help

Function get_help

RoverSign/roversign_help/get_help.py:28–47  ·  view source on GitHub ↗
(pm: int)

Source from the content-addressed store, hash-verified

26
27
28async def get_help(pm: int):
29 PREFIX = get_plugin_available_prefix("RoverSign")
30 return await get_new_help(
31 plugin_name="RoverSign",
32 plugin_info={f"v{RoverSign_version}": ""},
33 plugin_icon=Image.open(ICON),
34 plugin_help=plugin_help,
35 plugin_prefix=PREFIX,
36 help_mode="dark",
37 banner_bg=Image.open(TEXT_PATH / "banner_bg.jpg"),
38 banner_sub_text="为了寻回记忆而踏上旅途。",
39 help_bg=Image.open(TEXT_PATH / "bg.jpg"),
40 cag_bg=Image.open(TEXT_PATH / "cag_bg.png"),
41 item_bg=Image.open(TEXT_PATH / "item.png"),
42 icon_path=ICON_PATH,
43 footer=get_footer(),
44 enable_cache=True,
45 column=4,
46 pm=pm,
47 )

Callers 1

send_help_imgFunction · 0.85

Calls 1

get_footerFunction · 0.85

Tested by

no test coverage detected