From 8d9c0fa1ad74c6fa4d673cce7f4aec46c756b4ec Mon Sep 17 00:00:00 2001 From: irostub Date: Thu, 18 Apr 2024 10:49:43 +0900 Subject: [PATCH] Send friday lunch --- .../bot/fridaylunch/FridayLunchScheduler.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/whaple-standard/src/main/java/com/irostub/standard/bot/fridaylunch/FridayLunchScheduler.java b/whaple-standard/src/main/java/com/irostub/standard/bot/fridaylunch/FridayLunchScheduler.java index e5f8bc7..caf3e36 100644 --- a/whaple-standard/src/main/java/com/irostub/standard/bot/fridaylunch/FridayLunchScheduler.java +++ b/whaple-standard/src/main/java/com/irostub/standard/bot/fridaylunch/FridayLunchScheduler.java @@ -89,21 +89,21 @@ public void sendTotalMessage() { "신청자 : " + enterAccount) .build(); - StringBuilder sb = new StringBuilder(); - sb.append("--- ").append(fridayLunch.getChatGroup().getChatGroupName()).append(" ---").append("\n") - .append("총 신청 인원 : ").append(fridayLunchAccounts.size()).append("\n") - .append("신청자 : ").append(enterAccount); +// StringBuilder sb = new StringBuilder(); +// sb.append("--- ").append(fridayLunch.getChatGroup().getChatGroupName()).append(" ---").append("\n") +// .append("총 신청 인원 : ").append(fridayLunchAccounts.size()).append("\n") +// .append("신청자 : ").append(enterAccount); +// +// SendMessage lunchChatRoomMessage = SendMessage.builder() +// .chatId(-403751319L) +// .text(sb.toString()) +// .build(); - SendMessage lunchChatRoomMessage = SendMessage.builder() - .chatId(-403751319L) - .text(sb.toString()) - .build(); - - try { - absSender.execute(lunchChatRoomMessage); - } catch (TelegramApiException e) { - log.error("launch message send fail, e=",e); - } +// try { +// absSender.execute(lunchChatRoomMessage); +// } catch (TelegramApiException e) { +// log.error("launch message send fail, e=",e); +// } try { absSender.execute(send); } catch (TelegramApiException e) {