mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 19:34:23 +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.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
``name`` and ``icon`` parameters are now keyword-only.
|
||||
The `region`` parameter has been removed.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
``name`` and ``region``, and ``icon`` parameters are now keyword-only.
|
||||
``name`` and ``icon`` parameters are now keyword-only. The `region`` parameter has been removed.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
This function no-longer raises ``InvalidArgument`` instead raising
|
||||
|
@ -263,7 +263,6 @@ class Guild(Hashable):
|
||||
'name',
|
||||
'id',
|
||||
'unavailable',
|
||||
'region',
|
||||
'owner_id',
|
||||
'emojis',
|
||||
'stickers',
|
||||
|
Loading…
x
Reference in New Issue
Block a user