MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / switchToText

Function switchToText

outdated/gemini/gemini.ts:1357–1357  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1355
1356async function handleSettings(msg: Api.Message): Promise<void> {
1357 const switchToText = (value: string): string => value === "on" ? "开启" : "关闭";
1358 const tokensToText = (value: string): string => value === "0" ? "无限制" : value;
1359
1360 const settings = {

Callers 1

handleSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected