Passed
Pull Request — main (#60)
by P
01:29
created

pincer.objects.guild_features   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 52
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 25
dl 0
loc 52
rs 10
c 0
b 0
f 0
1
# -*- coding: utf-8 -*-
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
# MIT License
3
#
4
# Copyright (c) 2021 Pincer
5
#
6
# Permission is hereby granted, free of charge, to any person obtaining
7
# a copy of this software and associated documentation files
8
# (the "Software"), to deal in the Software without restriction,
9
# including without limitation the rights to use, copy, modify, merge,
10
# publish, distribute, sublicense, and/or sell copies of the Software,
11
# and to permit persons to whom the Software is furnished to do so,
12
# subject to the following conditions:
13
#
14
# The above copyright notice and this permission notice shall be
15
# included in all copies or substantial portions of the Software.
16
#
17
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
from __future__ import annotations
25
26
from enum import Enum, auto
27
28
29
class GuildFeatures(Enum):
30
    """Represents Guild Features strings."""
31
    ANIMATED_ICON = auto()
32
    BANNER = auto()
33
    COMMERCE = auto()
34
    COMMUNITY = auto()
35
    DISCOVERABLE = auto()
36
    FEATURABLE = auto()
37
    INVITE_SPLASH = auto()
38
    MEMBER_VERIFICATION_GATE_ENABLED = auto()
39
    NEWS = auto()
40
    PARTNERED = auto()
41
    PREVIEW_ENABLED = auto()
42
    VANITY_URL = auto()
43
    VERIFIED = auto()
44
    VIP_REGIONS = auto()
45
    WELCOME_SCREEN_ENABLED = auto()
46
    TICKETED_EVENTS_ENABLED = auto()
47
    MONETIZATION_ENABLED = auto()
48
    MORE_STICKERS = auto()
49
    THREE_DAY_THREAD_ARCHIVE = auto()
50
    SEVEN_DAY_THREAD_ARCHIVE = auto()
51
    PRIVATE_THREADS = auto()
52