DRSchlaubi/regnum

View on GitHub
client/src/main/java/cc/hawkbot/regnum/client/Feature.java

Summary

Maintainability
A
0 mins
Test Coverage
/*
 * Regnum - A Discord bot clustering system made for Hawk
 *
 * Copyright (C) 2019  Michael Rittmeister
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see https://www.gnu.org/licenses/.
 */

package cc.hawkbot.regnum.client;

/**
 * Enum that represents features which can be disabled.
 */
public enum Feature {

    /**
     * Advanced permission system for permission nodes and negated permissions.
     */
    PERMISSION_SYSTEM,
    /**
     * Cache of messages used in message events.
     * <strong>WARNING:</strong> Disabling this feature will also disable GuildMessageUpdateEvent and GuildMessageDeleteEvent
     */
    MESSAGE_CACHE
}