pincer.objects.guild.followed_channel   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 11
dl 0
loc 29
rs 10
c 0
b 0
f 0
1
# Copyright Pincer 2021-Present
0 ignored issues
show
introduced by
Missing module docstring
Loading history...
2
# Full MIT License can be found in `LICENSE` at the project root.
3
4
from __future__ import annotations
5
6
from dataclasses import dataclass
7
from typing import TYPE_CHECKING
8
9
from ...utils.api_object import APIObject, ChannelProperty
10
11
if TYPE_CHECKING:
12
    from ...utils.snowflake import Snowflake
13
14
15
@dataclass(repr=False)
16
class FollowedChannel(APIObject, ChannelProperty):
17
    """Represents a Discord Followed Channel object
18
19
    Attributes
20
    ----------
21
    channel_id: :class:`~pincer.utils.snowflake.Snowflake`
22
        Source channel id
23
    webhook_id: :class:`~pincer.utils.snowflake.Snowflake`
24
        Created target webhook id
25
    """
26
27
    channel_id: Snowflake
28
    webhook_id: Snowflake
29