ohio args fix
i will improve the usage system and not check using the usage string soon™
This commit is contained in:
parent
c933878ea3
commit
df66e94680
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ public class EvalCommand extends Command {
|
|||
|
||||
@Override
|
||||
public Component execute(CommandContext context, String[] args, String[] fullArgs) {
|
||||
if (args.length < 1) return Component.text("Not enough arguments").color(NamedTextColor.RED);
|
||||
|
||||
final Bot bot = context.bot();
|
||||
|
||||
if (!bot.eval().connected()) return Component.text("Eval server is not online").color(NamedTextColor.RED);
|
||||
|
|
Loading…
Reference in a new issue