|
|
@ -1659,6 +1659,10 @@ class Guild(Hashable): |
|
|
|
----------- |
|
|
|
name: :class:`str` |
|
|
|
The channel's name. |
|
|
|
overwrites: Dict[Union[:class:`Role`, :class:`Member`], :class:`PermissionOverwrite`] |
|
|
|
A :class:`dict` of target (either a role or a member) to |
|
|
|
:class:`PermissionOverwrite` to apply upon creation of a channel. |
|
|
|
Useful for creating secret channels. |
|
|
|
topic: :class:`str` |
|
|
|
The channel's topic. |
|
|
|
category: Optional[:class:`CategoryChannel`] |
|
|
@ -2815,7 +2819,7 @@ class Guild(Hashable): |
|
|
|
|
|
|
|
Parameters |
|
|
|
------------ |
|
|
|
id: :class:`int` |
|
|
|
scheduled_event_id: :class:`int` |
|
|
|
The scheduled event ID. |
|
|
|
with_counts: :class:`bool` |
|
|
|
Whether to include the number of users that are subscribed to the event. |
|
|
@ -2877,6 +2881,8 @@ class Guild(Hashable): |
|
|
|
datetime object. Consider using :func:`utils.utcnow`. |
|
|
|
|
|
|
|
Required if the entity type is :attr:`EntityType.external`. |
|
|
|
privacy_level: :class:`PrivacyLevel` |
|
|
|
The privacy level of the scheduled event. |
|
|
|
entity_type: :class:`EntityType` |
|
|
|
The entity type of the scheduled event. |
|
|
|
image: :class:`bytes` |
|
|
|