mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-10 11:19:25 +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)
|
||||
.build();
|
||||
|
||||
if (messageChannel.equals(event.getMessageChannel()) && !redirect) {
|
||||
if (!redirect) {
|
||||
return interactionService.replyMessage(TEMPLATE_NAME, model, event)
|
||||
.thenApply(unused -> CommandResult.fromSuccess());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user