Add support for user collectibles

This commit is contained in:
Soheab
2025-08-26 09:34:18 +02:00
committed by GitHub
parent 69f06c9456
commit cbff6ddef9
8 changed files with 256 additions and 13 deletions

View File

@ -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
~~~~~~~~~~~~~~~~~~~