#help
11 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @mint glade! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
in discord?
cause thats not really a java thing is it?
right click the server in the discord menu. > roles
oh yeah well you need to make sure the members have the kick perm edited out
and your gonna need to have the bot conditionally check the members role status
so basicaly use bools to run though the funtion
Inverting if statements and early returns are two techniques that can be applied that can improve your codebase.
When used properly it can reduce indentation and complexity.
links in video:
https://refactoring.com/catalog/replaceNestedConditionalWithGuardClauses.html
https://www.jetbrains.com/help/resharper/InvertIf.html