mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 06:30:46 +08:00
15 lines
439 B
JavaScript
15 lines
439 B
JavaScript
import { TextHarnessBridge, createTextBridgeStatus } from '../shared/text-harness-bridge.mjs';
|
|
|
|
export const SLACK_DESCRIPTOR = Object.freeze({
|
|
key: 'slack',
|
|
label: 'Slack',
|
|
connectionLabel: ' Socket Mode 长连接',
|
|
});
|
|
|
|
export class SlackHarnessBridge extends TextHarnessBridge {
|
|
constructor(options) {
|
|
super({ descriptor: SLACK_DESCRIPTOR, ...options });
|
|
}
|
|
}
|
|
|
|
export { createTextBridgeStatus as createSlackBridgeStatus };
|