Skip to content

Commit

Permalink
fix(command): NOW starboard cannot have a star count lower than 1 (#97)
Browse files Browse the repository at this point in the history
Yeah so I made another unforgivably idiotic mistake, sebBonkCount+= 1 time
Line 38 corrected
  • Loading branch information
ElementalMP4 authored Jun 13, 2021
1 parent 148a0f0 commit 3191604
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 3191604

Please sign in to comment.