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

Function sendLongMessage

git_PR/git_PR.ts:37–47  ·  view source on GitHub ↗
(msg: Api.Message, text: string)

Source from the content-addressed store, hash-verified

35 }
36 await msg.edit({ text: parts[0] + `\n\n📄 (1/${parts.length})`, parseMode: "html" });
37 for (let i = 1; i < parts.length; i++) {
38 await msg.reply({ message: parts[i] + `\n\n📄 (${i + 1}/${parts.length})`, parseMode: "html" });
39 }
40}
41
42const prefixes = getPrefixes();
43const mainPrefix = prefixes[0];
44const pluginName = "git";
45
46const help_text = `⚙️ <b>Git PR 管理插件</b>
47
48<b>命令:</b>
49• <code>${mainPrefix}${pluginName} login &lt;邮箱&gt; &lt;用户名&gt; &lt;Token&gt;</code> - 登录Git
50• <code>${mainPrefix}${pluginName} repos</code> - 列出有编辑权限的仓库

Callers 4

GitManagerPluginClass · 0.70
handleReposMethod · 0.70
handlePRsMethod · 0.70
handleMergeAllMethod · 0.70

Calls 2

splitMessageFunction · 0.70
editMethod · 0.45

Tested by

no test coverage detected