Skip to content

Commit

Permalink
Merge pull request #99 from Gerald-Development/starboard-patch-v2
Browse files Browse the repository at this point in the history
fix(command): NOW starboard cannot have a star count lower than 1 (#97)
  • Loading branch information
Montori authored Jun 13, 2021
2 parents 148a0f0 + 3191604 commit b86f374
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ else if (args.size() < 3)
message.getChannel().sendMessage("**The channel you provided is not valid!**").queue();
else if (!ParsingUtils.isInteger(args.get(2)))
message.getChannel().sendMessage("**You need to specify a number for the star count!**").queue();
else if (Integer.parseInt(args.get(2)) > 1)
else if (Integer.parseInt(args.get(2)) < 1)
message.getChannel().sendMessage("**Your star count must be at least 1! We recommend 5**").queue();
else
starboardService.completeStarboardSetup(message, channelID, args.get(2), server);
Expand Down

0 comments on commit b86f374

Please sign in to comment.