diff --git a/src/main/java/land/chipmunk/chipmunkbot/commands/EchoCommand.java b/src/main/java/land/chipmunk/chipmunkbot/commands/EchoCommand.java index 33fd589..22b6c2a 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/commands/EchoCommand.java +++ b/src/main/java/land/chipmunk/chipmunkbot/commands/EchoCommand.java @@ -24,10 +24,8 @@ public class EchoCommand extends Command { public int echo (CommandContext context) { final CommandSource source = context.getSource(); - final ChipmunkBot client = source.client(); + final String text = getString(context, "echo"); - client.core().run(getString(context, "command")); - final String text = getString(context, "command"); source.sendOutput(Component.text(text)); return 1;