Skip to content

Commit fce952c

Browse files
authored
small fixes (#116)
- fix typo in the main help command, where the disable had the wrong description. - add debug log to know that the bot is disabled for the current group. Signed-off-by: Spolti <[email protected]>
1 parent 667b012 commit fce952c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rebot-telegram-api/rebot-telegram-api/src/main/java/xyz/rebasing/rebot/telegram/api/message/IncomeMessageProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ public void process(MessageUpdate messageUpdate) {
129129
} else {
130130
nonCommandProcessor(messageUpdate);
131131
}
132+
} else {
133+
log.debugv("Bot is disabled for chat: {0}", messageUpdate.getMessage().getChat().getTitle());
132134
}
133135
}
134136

rebot-telegram-api/rebot-telegram-api/src/main/resources/Administrative_en_US.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ list.command.no.items.found=No items found.
5353
# internal
5454
internal.help.response=\n&#60;command&#62; help: returns the command's help. \
5555
\n&#60;command&#62; enable: enable the current plugin/command in the given chat. \
56-
\n&#60;command&#62; disable: returns the command's help.
56+
\n&#60;command&#62; disable: disable the current plugin/command in the given chat.
5757

5858

5959
required.parameter=Parameter is required

0 commit comments

Comments
 (0)