[AB-xxx] never using the interaction in echo when a channel is provided

This commit is contained in:
Sheldan
2023-09-09 23:58:31 +02:00
parent 14f35caede
commit e8f630c94c

View File

@@ -80,7 +80,7 @@ public class Echo extends AbstractConditionableCommand {
.text(message)
.build();
if (messageChannel.equals(event.getMessageChannel()) && !redirect) {
if (!redirect) {
return interactionService.replyMessage(TEMPLATE_NAME, model, event)
.thenApply(unused -> CommandResult.fromSuccess());
} else {