|
@@ -94,11 +94,13 @@ class SlackBotService extends S2sMessageHandlable {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async togetterCommand(client, body, args, limit = 10) {
|
|
async togetterCommand(client, body, args, limit = 10) {
|
|
|
|
|
+ // TODO GW-6721 Get the time from args
|
|
|
const reusult = await client.conversations.history({
|
|
const reusult = await client.conversations.history({
|
|
|
channel: body.channel_id,
|
|
channel: body.channel_id,
|
|
|
limit,
|
|
limit,
|
|
|
});
|
|
});
|
|
|
console.log(reusult);
|
|
console.log(reusult);
|
|
|
|
|
+ // TODO GW-6712 display checkbox using result
|
|
|
const message = '*togetterCommand*';
|
|
const message = '*togetterCommand*';
|
|
|
client.chat.postEphemeral({
|
|
client.chat.postEphemeral({
|
|
|
channel: body.channel_id,
|
|
channel: body.channel_id,
|