mirror of
https://github.com/annimon-tutorials/Similar-Images-Bot.git
synced 2024-09-20 03:34:19 +03:00
Fix new line for /compare command
This commit is contained in:
parent
56e681d141
commit
13e01a20b0
@ -147,9 +147,9 @@ public class BotHandler extends BaseBotHandler {
|
||||
// /compare command
|
||||
text += info.getResults().stream()
|
||||
.map(ImageResult::getPost)
|
||||
.map(p -> String.format("/compare%sm%dx%d",
|
||||
.map(p -> String.format("%n/compare%sm%dx%d",
|
||||
channelId, post.getMessageId(), p.getMessageId()))
|
||||
.collect(Collectors.joining("\n"));
|
||||
.collect(Collectors.joining());
|
||||
// /del command
|
||||
text += String.format("%n/del%sm%d", channelId, post.getMessageId());
|
||||
return text;
|
||||
|
Loading…
Reference in New Issue
Block a user