#30 add support(warnlog) to /user command to channel identify

This commit is contained in:
A.C.Sukazyo Eyre 2022-04-29 17:44:34 +08:00
parent 73a7b23bc2
commit b252b3de51
Signed by: Eyre_S
GPG Key ID: EFB47D98FE082FAD
3 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,6 @@
## Core
VERSION = 0.6.3.0
VERSION = 0.6.3.1
# dependencies

View File

@ -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;
}

View File

@ -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(),
"<code>$__channel_identify</code>"
));
return;
}
MornyCoeur.extra().exec(new SendMessage(
event.message().chat().id(),
TelegramUserInformation.informationOutputHTML(user)