Completed
Push — main ( 3a3ea0...93fa25 )
by Yohann
23s queued 12s
created

pincer.objects.guild.followed_channel   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 11
dl 0
loc 27
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 import APIObject
10
11
if TYPE_CHECKING:
12
    from ...utils import Snowflake
13
14
15
@dataclass
16
class FollowedChannel(APIObject):
17
    """Represents a Discord Followed Channel object
18
19
    :param channel_id:
20
        source channel id
21
22
    :param webhook_id:
23
        created target webhook id
24
    """
25
    channel_id: Snowflake
0 ignored issues
show
introduced by
The variable Snowflake does not seem to be defined in case TYPE_CHECKING on line 11 is False. Are you sure this can never be the case?
Loading history...
26
    webhook_id: Snowflake
27