(host: SlashCommandHost, id: string)
| 440 | } |
| 441 | |
| 442 | async function removePlugin(host: SlashCommandHost, id: string): Promise<void> { |
| 443 | await host.requireSession().removePlugin(id); |
| 444 | host.showStatus(`Removed ${id}.`); |
| 445 | host.showStatus(PLUGIN_RELOAD_HINT, 'warning'); |
| 446 | } |
| 447 | |
| 448 | async function renderPluginsList( |
| 449 | host: SlashCommandHost, |
no test coverage detected