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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
0 deletions
-
discord/enums.py
-
discord/types/user.py
-
docs/api.rst
|
|
@ -885,6 +885,7 @@ class AppCommandType(Enum): |
|
|
|
class ConnectionType(Enum): |
|
|
|
battle_net = 'battlenet' |
|
|
|
contacts = 'contacts' |
|
|
|
crunchyroll = 'crunchyroll' |
|
|
|
ebay = 'ebay' |
|
|
|
epic_games = 'epicgames' |
|
|
|
facebook = 'facebook' |
|
|
|
|
|
@ -39,6 +39,7 @@ class PartialUser(TypedDict): |
|
|
|
ConnectionType = Literal[ |
|
|
|
'battlenet', |
|
|
|
'contacts', |
|
|
|
'crunchyroll', |
|
|
|
'ebay', |
|
|
|
'epicgames', |
|
|
|
'facebook', |
|
|
|
|
|
@ -3204,6 +3204,10 @@ of :class:`enum.Enum`. |
|
|
|
|
|
|
|
The user has a contact sync connection. |
|
|
|
|
|
|
|
.. attribute:: crunchyroll |
|
|
|
|
|
|
|
The user has a Crunchyroll connection. |
|
|
|
|
|
|
|
.. attribute:: ebay |
|
|
|
|
|
|
|
The user has an eBay connection. |
|
|
|