ohio args fix

i will improve the usage system and not check using the usage string soon™
This commit is contained in:
Chayapak 2023-07-01 21:32:14 +07:00
parent c933878ea3
commit df66e94680

View file

@ -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);