diff options
| author | Rapptz <[email protected]> | 2016-01-03 21:44:54 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-03 21:45:28 -0500 |
| commit | 5a1d7a2d942c75a2f374b4b0add6ad50fdd227d7 (patch) | |
| tree | 3cd63bd9d6ac6cd4d1ead371a32166d54533bc28 /docs/migrating.rst | |
| parent | Document more breaking changes in migrating file. (diff) | |
| download | discord.py-5a1d7a2d942c75a2f374b4b0add6ad50fdd227d7.tar.xz discord.py-5a1d7a2d942c75a2f374b4b0add6ad50fdd227d7.zip | |
Change permissions to remove the can_ prefix.
Diffstat (limited to 'docs/migrating.rst')
| -rw-r--r-- | docs/migrating.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/migrating.rst b/docs/migrating.rst index 2c28c9f3..cd973e9f 100644 --- a/docs/migrating.rst +++ b/docs/migrating.rst @@ -213,6 +213,9 @@ Functions have been renamed. | ``Client.set_channel_permissions`` | :meth:`Client.edit_channel_permissions` | +------------------------------------+-------------------------------------------+ +All the :class:`Permission` related attributes have been renamed and the `can_` prefix has been +dropped. So for example, ``can_manage_messages`` has become ``manage_messages``. + .. _migrating-kwargs: Forced Keyword Arguments |