Browse Source
Fix typos in AppCommandPermissions attributes doc
pull/8124/head
will
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
discord/app_commands/models.py
|
|
@ -862,7 +862,7 @@ class AppCommandPermissions: |
|
|
|
Attributes |
|
|
|
----------- |
|
|
|
guild: :class:`~discord.Guild` |
|
|
|
The guild assosiated with this permission. |
|
|
|
The guild associated with this permission. |
|
|
|
id: :class:`int` |
|
|
|
The ID of the permission target, such as a role, channel, or guild. |
|
|
|
The special ``guild_id - 1`` sentinel is used to represent "all channels". |
|
|
@ -872,7 +872,7 @@ class AppCommandPermissions: |
|
|
|
type: :class:`.AppCommandPermissionType` |
|
|
|
The type of permission. |
|
|
|
permission: :class:`bool` |
|
|
|
The permission value. True for allow, False for deny. |
|
|
|
The permission value. ``True`` for allow, ``False`` for deny. |
|
|
|
""" |
|
|
|
|
|
|
|
__slots__ = ('id', 'type', 'permission', 'target', 'guild', '_state') |
|
|
|