|
@@ -17,6 +17,7 @@ class SlackBotService extends S2sMessageHandlable {
|
|
|
this.lastLoadedAt = null;
|
|
this.lastLoadedAt = null;
|
|
|
|
|
|
|
|
this.initialize();
|
|
this.initialize();
|
|
|
|
|
+ this.channel_id = '';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
initialize() {
|
|
initialize() {
|
|
@@ -241,6 +242,7 @@ class SlackBotService extends S2sMessageHandlable {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async createModal(client, body) {
|
|
async createModal(client, body) {
|
|
|
|
|
+ this.channel_id = body.channel_id;
|
|
|
try {
|
|
try {
|
|
|
await client.views.open({
|
|
await client.views.open({
|
|
|
trigger_id: body.trigger_id,
|
|
trigger_id: body.trigger_id,
|