Class RegularUserJda

    • Method Detail

      • allowCommand

        public boolean allowCommand​(Message message)
        Description copied from interface: Restriction
        Returns whether a command caused by the given message should be allowed by this restriction or not.
        Specified by:
        allowCommand in interface Restriction<Message>
        Parameters:
        message - the message that caused the command to check allowance for
        Returns:
        whether a command caused by the given message should be allowed by this restriction or not