diff --git a/gradle.properties b/gradle.properties index 3c3e879..d270904 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ ## Core -VERSION = 0.6.3.0 +VERSION = 0.6.3.1 # dependencies diff --git a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java index da23614..cfd598d 100644 --- a/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java +++ b/src/main/java/cc/sukazyo/cono/morny/GradleProjectConfigures.java @@ -5,5 +5,5 @@ package cc.sukazyo.cono.morny; */ public class GradleProjectConfigures { public static final String VERSION = "0.6.3.0"; - public static final long COMPILE_TIMESTAMP = 1651635619528L; + public static final long COMPILE_TIMESTAMP = 1651804975121L; } diff --git a/src/main/java/cc/sukazyo/cono/morny/bot/command/GetUsernameAndId.java b/src/main/java/cc/sukazyo/cono/morny/bot/command/GetUsernameAndId.java index f7d136f..627b6c3 100644 --- a/src/main/java/cc/sukazyo/cono/morny/bot/command/GetUsernameAndId.java +++ b/src/main/java/cc/sukazyo/cono/morny/bot/command/GetUsernameAndId.java @@ -32,7 +32,7 @@ public class GetUsernameAndId implements ITelegramCommand { long userId = event.message().from().id(); - if ( event.message().replyToMessage()!= null) { + if (event.message().replyToMessage()!= null) { userId = event.message().replyToMessage().from().id(); } if (args.length > 0) { @@ -61,6 +61,14 @@ public class GetUsernameAndId implements ITelegramCommand { final User user = response.chatMember().user(); + if (user.id() == 136817688) { + MornyCoeur.extra().exec(new SendMessage( + event.message().chat().id(), + "$__channel_identify" + )); + return; + } + MornyCoeur.extra().exec(new SendMessage( event.message().chat().id(), TelegramUserInformation.informationOutputHTML(user)