mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Change permissions to remove the can_ prefix.
This commit is contained in:
1 parent
18cda5c3ae
commit
5a1d7a2d94
4 files changed
+78
-75
No files matched your search
@@ -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