(
msg: Api.Message,
configManager: ConfigManager,
)
| 4256 | |
| 4257 | private async enableTelegraph( |
| 4258 | msg: Api.Message, |
| 4259 | configManager: ConfigManager, |
| 4260 | ): Promise<void> { |
| 4261 | await configManager.updateConfig((cfg) => { |
| 4262 | cfg.telegraph.enabled = true; |
| 4263 | }); |
| 4264 | await this.editMessage(msg, "✅ Telegraph 已开启"); |
| 4265 | } |
| 4266 | |
| 4267 | private async disableTelegraph( |
| 4268 | msg: Api.Message, |
| 4269 | configManager: ConfigManager, |
no test coverage detected