mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-04 22:42:21 +00:00
Implement Application Command Permissions models
This commit is contained in:
@@ -3528,13 +3528,9 @@ AuditLogDiff
|
||||
|
||||
.. attribute:: app_command_permissions
|
||||
|
||||
A list of application command permission tuples that represents a
|
||||
target and a :class:`bool` for said target.
|
||||
The permissions of the app command.
|
||||
|
||||
The first element is the object being targeted, which can either
|
||||
be a :class:`Member`, :class:`abc.GuildChannel`,
|
||||
:class:`~discord.app_commands.AllChannels`, or :class:`Role`.
|
||||
:type: List[Tuple[target, :class:`bool`]]
|
||||
:type: :class:`~discord.app_commands.AppCommandPermissions`
|
||||
|
||||
.. this is currently missing the following keys: reason and application_id
|
||||
I'm not sure how to about porting these
|
||||
|
||||
Reference in New Issue
Block a user