From 5a1d7a2d942c75a2f374b4b0add6ad50fdd227d7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 3 Jan 2016 21:44:54 -0500 Subject: Change permissions to remove the can_ prefix. --- docs/migrating.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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 -- cgit v1.2.3