mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-21 16:03:10 +00:00
Change permissions to remove the can_ prefix.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user