mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-22 11:14:55 +08:00
修复 /info 无参数的错误反应
This commit is contained in:
parent
201c8bcd1a
commit
48a8fd9daa
@ -5,7 +5,7 @@ MORNY_ARCHIVE_NAME = morny-coeur
|
|||||||
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
MORNY_CODE_STORE = https://github.com/Eyre-S/Coeur-Morny-Cono
|
||||||
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
MORNY_COMMIT_PATH = https://github.com/Eyre-S/Coeur-Morny-Cono/commit/%s
|
||||||
|
|
||||||
VERSION = 1.0.0-alpha4
|
VERSION = 1.0.0-alpha4.1
|
||||||
|
|
||||||
USE_DELTA = false
|
USE_DELTA = false
|
||||||
VERSION_DELTA =
|
VERSION_DELTA =
|
||||||
|
@ -25,7 +25,10 @@ public class MornyInformations implements ITelegramCommand {
|
|||||||
@Override
|
@Override
|
||||||
public void execute (@Nonnull InputCommand command, @Nonnull Update event) {
|
public void execute (@Nonnull InputCommand command, @Nonnull Update event) {
|
||||||
|
|
||||||
if (!command.hasArgs()) echoRuntime(command, event);
|
if (!command.hasArgs()) {
|
||||||
|
MornyCommands.onCommandRuntimeExec(event);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final String action = command.getArgs()[0];
|
final String action = command.getArgs()[0];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user