mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-18 12:57:39 +00:00
[AB-xxx] never using the interaction in echo when a channel is provided
This commit is contained in:
@@ -80,7 +80,7 @@ public class Echo extends AbstractConditionableCommand {
|
|||||||
.text(message)
|
.text(message)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
if (messageChannel.equals(event.getMessageChannel()) && !redirect) {
|
if (!redirect) {
|
||||||
return interactionService.replyMessage(TEMPLATE_NAME, model, event)
|
return interactionService.replyMessage(TEMPLATE_NAME, model, event)
|
||||||
.thenApply(unused -> CommandResult.fromSuccess());
|
.thenApply(unused -> CommandResult.fromSuccess());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user