mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Add support for user collectibles
This commit is contained in:
70
docs/api.rst
70
docs/api.rst
@ -4052,8 +4052,6 @@ of :class:`enum.Enum`.
|
||||
|
||||
Default channels and questions count towards onboarding constraints.
|
||||
|
||||
|
||||
|
||||
.. class:: MediaItemLoadingState
|
||||
|
||||
Represents a :class:`UnfurledMediaItem` load state.
|
||||
@ -4074,6 +4072,66 @@ of :class:`enum.Enum`.
|
||||
|
||||
The media item was not found.
|
||||
|
||||
.. class:: CollectibleType
|
||||
|
||||
Represents the type of a :class:`Collectible`.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
.. attribute:: nameplate
|
||||
|
||||
The collectible is a nameplate.
|
||||
|
||||
.. class:: NameplatePalette
|
||||
|
||||
Represents the available palettes for a nameplate.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
.. attribute:: crimson
|
||||
|
||||
The collectible nameplate palette is crimson.
|
||||
|
||||
.. attribute:: berry
|
||||
|
||||
The collectible nameplate palette is berry.
|
||||
|
||||
.. attribute:: sky
|
||||
|
||||
The collectible nameplate palette is sky.
|
||||
|
||||
.. attribute:: teal
|
||||
|
||||
The collectible nameplate palette is teal.
|
||||
|
||||
.. attribute:: forest
|
||||
|
||||
The collectible nameplate palette is forest.
|
||||
|
||||
.. attribute:: bubble_gum
|
||||
|
||||
The collectible nameplate palette is bubble gum.
|
||||
|
||||
.. attribute:: violet
|
||||
|
||||
The collectible nameplate palette is violet.
|
||||
|
||||
.. attribute:: cobalt
|
||||
|
||||
The collectible nameplate palette is cobalt.
|
||||
|
||||
.. attribute:: clover
|
||||
|
||||
The collectible nameplate palette is clover.
|
||||
|
||||
.. attribute:: lemon
|
||||
|
||||
The collectible nameplate palette is lemon.
|
||||
|
||||
.. attribute:: white
|
||||
|
||||
The collectible nameplate palette is white.
|
||||
|
||||
.. _discord-api-audit-logs:
|
||||
|
||||
Audit Log Data
|
||||
@ -5770,6 +5828,14 @@ PrimaryGuild
|
||||
.. autoclass:: PrimaryGuild()
|
||||
:members:
|
||||
|
||||
Collectible
|
||||
~~~~~~~~~~~
|
||||
|
||||
.. attributetable:: Collectible
|
||||
|
||||
.. autoclass:: Collectible()
|
||||
:members:
|
||||
|
||||
CallMessage
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Reference in New Issue
Block a user