Browse Source
Update discord/onboarding.py
Co-authored-by: numbermaniac <5206120+numbermaniac@users.noreply.github.com>
pull/9260/head
Josh
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
discord/onboarding.py
|
@ -99,7 +99,7 @@ class OnboardingPromptOption: |
|
|
|
|
|
|
|
|
@cached_slot_property('_cs_channels') |
|
|
@cached_slot_property('_cs_channels') |
|
|
def channels(self) -> List[Union[GuildChannel, Thread]]: |
|
|
def channels(self) -> List[Union[GuildChannel, Thread]]: |
|
|
"""List[Union[:class:`abc.GuildChannel`, :class:`Thread`]]: The list of channels which will be set visible if this option is selected.""" |
|
|
"""List[Union[:class:`abc.GuildChannel`, :class:`Thread`]]: The list of channels which will be made visible if this option is selected.""" |
|
|
it = filter(None, map(self.guild._resolve_channel, self.channel_ids)) |
|
|
it = filter(None, map(self.guild._resolve_channel, self.channel_ids)) |
|
|
return utils._unique(it) |
|
|
return utils._unique(it) |
|
|
|
|
|
|
|
|