Change permissions to remove the can_ prefix.

This commit is contained in:
Rapptz
2016-01-03 21:44:54 -05:00
parent 18cda5c3ae
commit 5a1d7a2d94
4 changed files with 78 additions and 75 deletions

View File

@ -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