Class CommandRequirements


  • public class CommandRequirements
    extends java.lang.Object
    • Field Detail

      • playerOnly

        public boolean playerOnly
      • memberOnly

        public boolean memberOnly
      • role

        public Role role
      • errorOnManyArgs

        public boolean errorOnManyArgs
      • disableOnLock

        public boolean disableOnLock
    • Method Detail

      • computeRequirements

        public boolean computeRequirements​(CommandContext context,
                                           boolean informIfNot)