Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalMP4 committed Jun 24, 2021
2 parents 6d51875 + 838d30e commit 303fe41
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ else if (!message.getGuild().getChannels().contains(message.getJDA().getGuildCha
message.getChannel().sendMessage("**The channel you provided is not in this server!**").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)
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 303fe41

Please sign in to comment.