mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Remove region from Guild.__slots__
This also fixes up some docstrings
This commit is contained in:
parent
bb5ed4947d
commit
d44328d3ea
@ -1359,11 +1359,7 @@ class Client:
|
|||||||
Bot accounts in more than 10 guilds are not allowed to create guilds.
|
Bot accounts in more than 10 guilds are not allowed to create guilds.
|
||||||
|
|
||||||
.. versionchanged:: 2.0
|
.. versionchanged:: 2.0
|
||||||
``name`` and ``icon`` parameters are now keyword-only.
|
``name`` and ``icon`` parameters are now keyword-only. The `region`` parameter has been removed.
|
||||||
The `region`` parameter has been removed.
|
|
||||||
|
|
||||||
.. versionchanged:: 2.0
|
|
||||||
``name`` and ``region``, and ``icon`` parameters are now keyword-only.
|
|
||||||
|
|
||||||
.. versionchanged:: 2.0
|
.. versionchanged:: 2.0
|
||||||
This function no-longer raises ``InvalidArgument`` instead raising
|
This function no-longer raises ``InvalidArgument`` instead raising
|
||||||
|
@ -263,7 +263,6 @@ class Guild(Hashable):
|
|||||||
'name',
|
'name',
|
||||||
'id',
|
'id',
|
||||||
'unavailable',
|
'unavailable',
|
||||||
'region',
|
|
||||||
'owner_id',
|
'owner_id',
|
||||||
'emojis',
|
'emojis',
|
||||||
'stickers',
|
'stickers',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user