Add Protocol Urls #103
@ -55,7 +55,7 @@ __all__ = (
|
||||
"InteractionType",
|
||||
"InteractionResponseType",
|
||||
"NSFWLevel",
|
||||
"ProtocolUrl",
|
||||
"ProtocolURL",
|
||||
)
|
||||
|
||||
|
||||
@ -591,7 +591,7 @@ class NSFWLevel(Enum, comparable=True):
|
||||
age_restricted = 3
|
||||
|
||||
|
||||
class ProtocolUrl(Enum):
|
||||
class ProtocolURL(Enum):
|
||||
|
||||
# General
|
||||
|
||||
|
88
docs/api.rst
88
docs/api.rst
@ -2656,45 +2656,45 @@ of :class:`enum.Enum`.
|
||||
|
||||
The guild may contain NSFW content.
|
||||
|
||||
.. class:: ProtocolUrl
|
||||
.. class:: ProtocolURL
|
||||
|
||||
Represents the different `discord://` Urls
|
||||
Represents the different `discord://` URLs
|
||||
|
||||
.. attribute:: home
|
||||
|
||||
The url for the home page.
|
||||
The URL for the home page.
|
||||
|
||||
.. attribute:: nitro
|
||||
|
||||
The url for the nitro page.
|
||||
The URL for the nitro page.
|
||||
|
||||
.. attribute:: apps
|
||||
|
||||
The url for the downloads page. This breaks the client and needs it to be restarted.
|
||||
The URL for the downloads page. This breaks the client and needs it to be restarted.
|
||||
|
||||
.. attribute:: guild_discovery
|
||||
|
||||
The url for the server discovery page.
|
||||
The URL for the server discovery page.
|
||||
|
||||
.. attribute:: new_guild
|
||||
|
||||
The url for the new server modal.
|
||||
The URL for the new server modal.
|
||||
|
||||
.. attribute:: guild_invite
|
||||
|
||||
The url for the join server page. Needs to be formatted with `invite_code`.
|
||||
The URL for the join server page. Needs to be formatted with `invite_code`.
|
||||
|
||||
.. attribute:: account_settings
|
||||
|
||||
The url for the "My Account" page in settings.
|
||||
The URL for the "My Account" page in settings.
|
||||
|
||||
.. attribute:: profile_settings
|
||||
|
||||
The url for the "User Profile" page in settings.
|
||||
The URL for the "User Profile" page in settings.
|
||||
|
||||
.. attribute:: privacy_settings
|
||||
|
||||
The url for the "Privacy & Safety" page in settings.
|
||||
The URL for the "Privacy & Safety" page in settings.
|
||||
|
||||
.. attribute:: safety_settings
|
||||
|
||||
@ -2702,135 +2702,135 @@ of :class:`enum.Enum`.
|
||||
|
||||
.. attribute:: authorized_apps_settings
|
||||
|
||||
The url for the "Authorized Apps" page in settings.
|
||||
The URL for the "Authorized Apps" page in settings.
|
||||
|
||||
.. attribute:: connections_settings
|
||||
|
||||
The url for the "Connections" page in settings.
|
||||
The URL for the "Connections" page in settings.
|
||||
|
||||
.. attribute:: nitro_settings
|
||||
|
||||
The url for the "Discord Nitro" page in settings. Same page as :attr:`nitro`, but inside of settings.
|
||||
The URL for the "Discord Nitro" page in settings. Same page as :attr:`nitro`, but inside of settings.
|
||||
|
||||
.. attribute:: guild_premium_subscription
|
||||
|
||||
The url for the "Server Boost" page in settings.
|
||||
The URL for the "Server Boost" page in settings.
|
||||
|
||||
.. attribute:: subscription_settings
|
||||
|
||||
The url for the "Subscriptions" page in settings.
|
||||
The URL for the "Subscriptions" page in settings.
|
||||
|
||||
.. attribute:: gift_inventory_settings
|
||||
|
||||
The url for the "Gift Inventory" page in settings.
|
||||
The URL for the "Gift Inventory" page in settings.
|
||||
|
||||
.. attribute:: billing_settings
|
||||
|
||||
The url for the "Billing" page in settings.
|
||||
The URL for the "Billing" page in settings.
|
||||
|
||||
.. attribute:: appearance_settings
|
||||
|
||||
The url for the "Appearance" page in settings.
|
||||
The URL for the "Appearance" page in settings.
|
||||
|
||||
.. attribute:: accessibility_settings
|
||||
|
||||
The url for the "Accessibility" page in settings.
|
||||
The URL for the "Accessibility" page in settings.
|
||||
|
||||
.. attribute:: voice_video_settings
|
||||
|
||||
The url for the "Voice & Video" page in settings.
|
||||
The URL for the "Voice & Video" page in settings.
|
||||
|
||||
.. attribute:: test_images_settings
|
||||
|
||||
The url for the "Text & Images" page in settings.
|
||||
The URL for the "Text & Images" page in settings.
|
||||
|
||||
.. attribute:: notifications_settings
|
||||
|
||||
The url for the "Notifications" page in settings.
|
||||
The URL for the "Notifications" page in settings.
|
||||
|
||||
.. attribute:: keybinds_settings
|
||||
|
||||
The url for the "Keybinds" page in settings.
|
||||
The URL for the "Keybinds" page in settings.
|
||||
|
||||
.. attribute:: language_settings
|
||||
|
||||
The url for the "Language" page in settings.
|
||||
The URL for the "Language" page in settings.
|
||||
|
||||
.. attribute:: windows_settings
|
||||
|
||||
The url for the "Windows Settings" page in settings. Leads to a blank screen if used on the wrong platform.
|
||||
The URL for the "Windows Settings" page in settings. Leads to a blank screen if used on the wrong platform.
|
||||
|
||||
.. attribute:: linux_settings
|
||||
|
||||
The url for the "Linux Settings" page in settings. Leads to a blank screen if used on the wrong platform.
|
||||
The URL for the "Linux Settings" page in settings. Leads to a blank screen if used on the wrong platform.
|
||||
|
||||
.. attribute:: streamer_mode_settings
|
||||
|
||||
The url for the "Streamer Mode" page in settings.
|
||||
The URL for the "Streamer Mode" page in settings.
|
||||
|
||||
.. attribute:: advanced_settings
|
||||
|
||||
The url for the "Advanced" page in settings.
|
||||
The URL for the "Advanced" page in settings.
|
||||
|
||||
.. attribute:: activity_status_settings
|
||||
|
||||
The url for the "Activity Status" page in settings.
|
||||
The URL for the "Activity Status" page in settings.
|
||||
|
||||
.. attribute:: game_overlay_settings
|
||||
|
||||
The url for the "Game Overlay" page in settings.
|
||||
The URL for the "Game Overlay" page in settings.
|
||||
|
||||
.. attribute:: hypesquad_settings
|
||||
|
||||
The url for the "Hypesquad" page in settings.
|
||||
The URL for the "Hypesquad" page in settings.
|
||||
|
||||
.. attribute:: changelogs
|
||||
|
||||
The url for the changelogs modal.
|
||||
The URL for the changelogs modal.
|
||||
|
||||
.. attribute:: experiments
|
||||
|
||||
The url for the "Experiments" page in settings. Leads to a blank screen if it isn't activated.
|
||||
The URL for the "Experiments" page in settings. Leads to a blank screen if it isn't activated.
|
||||
|
||||
.. attribute:: developer_options
|
||||
|
||||
The url for the "Developer Options" page in settings. Leads to a blank screen if it isn't activated.
|
||||
The URL for the "Developer Options" page in settings. Leads to a blank screen if it isn't activated.
|
||||
|
||||
.. attribute:: hotspot_options
|
||||
|
||||
The url for the "Hotspot Options" page in settings. Leads to a blank screen if it isn't activated.
|
||||
The URL for the "Hotspot Options" page in settings. Leads to a blank screen if it isn't activated.
|
||||
|
||||
.. attribute:: user_profile
|
||||
|
||||
The url for a user's profile modal. Needs to be formatted with `user_id`.
|
||||
The URL for a user's profile modal. Needs to be formatted with `user_id`.
|
||||
|
||||
.. attribute:: dm_channel
|
||||
|
||||
The url for a DM channel. Needs to be formatted with `channel_id`.
|
||||
The URL for a DM channel. Needs to be formatted with `channel_id`.
|
||||
|
||||
.. attribute:: dm_message
|
||||
|
||||
The url for a message in a DM channel. Needs to be formatted with `channel_id` and `message_id`.
|
||||
The URL for a message in a DM channel. Needs to be formatted with `channel_id` and `message_id`.
|
||||
|
||||
.. attribute:: guild_channel
|
||||
|
||||
The url for a guild channel. Needs to be formatted with `guild_id` and `channel_id`.
|
||||
The URL for a guild channel. Needs to be formatted with `guild_id` and `channel_id`.
|
||||
|
||||
.. attribute:: guild_message
|
||||
|
||||
The url for a guild channel. Needs to be formatted with `guild_id`, `channel_id` and `message_id`.
|
||||
The URL for a guild channel. Needs to be formatted with `guild_id`, `channel_id` and `message_id`.
|
||||
|
||||
.. attribute:: guild_membership_screening
|
||||
|
||||
The url for a guild's membership screening page. Needs to be formatted with `guild_id`.
|
||||
The URL for a guild's membership screening page. Needs to be formatted with `guild_id`.
|
||||
|
||||
.. attribute:: games_library
|
||||
|
||||
The url for the game library.
|
||||
The URL for the game library.
|
||||
|
||||
.. attribute:: library_settings
|
||||
|
||||
The url for the library settings.
|
||||
The URL for the library settings.
|
||||
|
||||
Async Iterator
|
||||
----------------
|
||||
|
Reference in New Issue
Block a user