Browse Source

Add crunchyroll connection type (#426)

* Add crunchyroll to connections

* omagadbruh what da hell
pull/10109/head
Rancor 2 years ago
committed by GitHub
parent
commit
ab243cdb6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/enums.py
  2. 1
      discord/types/user.py
  3. 4
      docs/api.rst

1
discord/enums.py

@ -885,6 +885,7 @@ class AppCommandType(Enum):
class ConnectionType(Enum): class ConnectionType(Enum):
battle_net = 'battlenet' battle_net = 'battlenet'
contacts = 'contacts' contacts = 'contacts'
crunchyroll = 'crunchyroll'
ebay = 'ebay' ebay = 'ebay'
epic_games = 'epicgames' epic_games = 'epicgames'
facebook = 'facebook' facebook = 'facebook'

1
discord/types/user.py

@ -39,6 +39,7 @@ class PartialUser(TypedDict):
ConnectionType = Literal[ ConnectionType = Literal[
'battlenet', 'battlenet',
'contacts', 'contacts',
'crunchyroll',
'ebay', 'ebay',
'epicgames', 'epicgames',
'facebook', 'facebook',

4
docs/api.rst

@ -3204,6 +3204,10 @@ of :class:`enum.Enum`.
The user has a contact sync connection. The user has a contact sync connection.
.. attribute:: crunchyroll
The user has a Crunchyroll connection.
.. attribute:: ebay .. attribute:: ebay
The user has an eBay connection. The user has an eBay connection.

Loading…
Cancel
Save