mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Mention that you can create Permissions via kwargs now
This commit is contained in:
@ -51,6 +51,10 @@ class Permissions(BaseFlags):
|
||||
bits using the properties as if they were regular bools. This allows
|
||||
you to edit permissions.
|
||||
|
||||
.. versionchanged:: 1.3
|
||||
You can now use keyword arguments to initialize :class:`Permissions`
|
||||
similar to :meth:`update`.
|
||||
|
||||
.. container:: operations
|
||||
|
||||
.. describe:: x == y
|
||||
|
Reference in New Issue
Block a user