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

Method getHelpText

autodel/autodel.ts:137–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 }
136
137 private getHelpText(): string {
138 return `📝 <b>定时删除消息帮助</b>\n\n` +
139 `<b>用法:</b>\n` +
140 `• <code>${mainPrefix}autodel [时间] [global]</code> - 设置自动删除\n` +
141 `• <code>${mainPrefix}autodel l</code> - 查看当前设置\n` +
142 `• <code>${mainPrefix}autodel cancel [global]</code> - 取消设置\n\n` +
143 `<b>时间格式:</b>\n` +
144 `• 英文:30 seconds, 5 minutes, 2 hours, 1 days\n` +
145 `• 简写:30s, 5m, 2h, 1d\n` +
146 `• 中文:30秒,5分/5分钟,2小时/2时,1天\n\n` +
147 `<b>示例:</b>\n` +
148 `• <code>${mainPrefix}autodel 30s</code> - 30秒后自动删除\n` +
149 `• <code>${mainPrefix}autodel 5 分钟 global</code> - 全局5分钟自动删除`;
150 }
151
152 private async showAutoDelSettings(msg: Api.Message): Promise<void> {
153 const chatId = msg.peerId.toString();

Callers 1

handleAutoDelMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected