diff options
| author | Rapptz <[email protected]> | 2020-05-23 21:44:30 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-05-23 21:44:30 -0400 |
| commit | 66c6be50d8ac5d401a658c757c5f1ccb454c798b (patch) | |
| tree | bc5079ddfca32f952417416f473283cda045017b /docs | |
| parent | player: Close ffmpeg stdin during streaming (diff) | |
| download | discord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.tar.xz discord.py-66c6be50d8ac5d401a658c757c5f1ccb454c798b.zip | |
Prepare for the discord.com domain rename
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 2 | ||||
| -rw-r--r-- | docs/discord.rst | 10 | ||||
| -rw-r--r-- | docs/locale/ja/LC_MESSAGES/api.po | 14 | ||||
| -rw-r--r-- | docs/locale/ja/LC_MESSAGES/discord.po | 12 | ||||
| -rw-r--r-- | docs/locale/ja/LC_MESSAGES/ext/commands/api.po | 2 |
5 files changed, 20 insertions, 20 deletions
diff --git a/docs/api.rst b/docs/api.rst index 6448ab41..6a1b6614 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -328,7 +328,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. it can be accessed via :attr:`RawMessageUpdateEvent.cached_message` Due to the inherently raw nature of this event, the data parameter coincides with - the raw data given by the `gateway <https://discordapp.com/developers/docs/topics/gateway#message-update>`_. + the raw data given by the `gateway <https://discord.com/developers/docs/topics/gateway#message-update>`_. Since the data payload can be partial, care must be taken when accessing stuff in the dictionary. One example of a common case of partial data is when the ``'content'`` key is inaccessible. This diff --git a/docs/discord.rst b/docs/discord.rst index 80dc7e6f..9c9b72c2 100644 --- a/docs/discord.rst +++ b/docs/discord.rst @@ -7,8 +7,8 @@ In order to work with the library and the Discord API in general, we must first Creating a Bot account is a pretty straightforward process. -1. Make sure you're logged on to the `Discord website <https://discordapp.com>`_. -2. Navigate to the `application page <https://discordapp.com/developers/applications>`_ +1. Make sure you're logged on to the `Discord website <https://discord.com>`_. +2. Navigate to the `application page <https://discord.com/developers/applications>`_ 3. Click on the "New Application" button. .. image:: /images/discord_create_app_button.png @@ -61,8 +61,8 @@ So you've made a Bot User but it's not actually in any server. If you want to invite your bot you must create an invite URL for it. -1. Make sure you're logged on to the `Discord website <https://discordapp.com>`_. -2. Navigate to the `application page <https://discordapp.com/developers/applications>`_ +1. Make sure you're logged on to the `Discord website <https://discord.com>`_. +2. Navigate to the `application page <https://discord.com/developers/applications>`_ 3. Click on your bot's page. 4. Go to the "OAuth2" tab. @@ -78,7 +78,7 @@ If you want to invite your bot you must create an invite URL for it. - Please be aware of the consequences of requiring your bot to have the "Administrator" permission. - - Bot owners must have 2FA enabled for certain actions and permissions when added in servers that have Server-Wide 2FA enabled. Check the `2FA support page <https://support.discordapp.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ for more information. + - Bot owners must have 2FA enabled for certain actions and permissions when added in servers that have Server-Wide 2FA enabled. Check the `2FA support page <https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ for more information. .. image:: /images/discord_oauth2_perms.png :alt: The permission checkboxes with some permissions checked. diff --git a/docs/locale/ja/LC_MESSAGES/api.po b/docs/locale/ja/LC_MESSAGES/api.po index cf1445eb..1ccdb168 100644 --- a/docs/locale/ja/LC_MESSAGES/api.po +++ b/docs/locale/ja/LC_MESSAGES/api.po @@ -639,11 +639,11 @@ msgstr "この関数は、異なる二通りの方法で使用することがで #: discord.Client.login:9 of msgid "" "Logging on with a user token is against the Discord `Terms of Service " -"<https://support.discordapp.com/hc/en-us/articles/115002192352>`_ and " +"<https://support.discord.com/hc/en-us/articles/115002192352>`_ and " "doing so might potentially get your account banned. Use this at your own " "risk." msgstr "" -"ユーザートークンを用いてのログインはDiscordの `利用規約 <https://support.discordapp.com/hc/en-" +"ユーザートークンを用いてのログインはDiscordの `利用規約 <https://support.discord.com/hc/en-" "us/articles/115002192352>`_ に違反しているため、アカウントを停止される可能性があります。自己責任で使用してください。" #: discord.Client.login:14 of @@ -2624,10 +2624,10 @@ msgstr "" msgid "" "Due to the inherently raw nature of this event, the data parameter " "coincides with the raw data given by the `gateway " -"<https://discordapp.com/developers/docs/topics/gateway#message-update>`_." +"<https://discord.com/developers/docs/topics/gateway#message-update>`_." msgstr "" "このイベントの性質は、本質的に生表現のため、データのパラメータは `ゲートウェイ " -"<https://discordapp.com/developers/docs/topics/gateway#message-update>`_ " +"<https://discord.com/developers/docs/topics/gateway#message-update>`_ " "によって与えられた生データと一致します。" #: ../../api.rst:317 @@ -11472,10 +11472,10 @@ msgstr "Banが解除されたユーザー。" #, fuzzy msgid "" "The raw data given by the `gateway " -"<https://discordapp.com/developers/docs/topics/gateway#message-update>`_" +"<https://discord.com/developers/docs/topics/gateway#message-update>`_" msgstr "" "このイベントの性質は、本質的に生表現のため、データのパラメータは `ゲートウェイ " -"<https://discordapp.com/developers/docs/topics/gateway#message-update>`_ " +"<https://discord.com/developers/docs/topics/gateway#message-update>`_ " "によって与えられた生データと一致します。" #: ../../api.rst:2284 @@ -15035,7 +15035,7 @@ msgstr "" #~ msgid "" #~ ":class:`dict` -- The raw data given " #~ "by the `gateway " -#~ "<https://discordapp.com/developers/docs/topics/gateway#message-" +#~ "<https://discord.com/developers/docs/topics/gateway#message-" #~ "update>`_" #~ msgstr "" diff --git a/docs/locale/ja/LC_MESSAGES/discord.po b/docs/locale/ja/LC_MESSAGES/discord.po index e8b31063..77d07c1b 100644 --- a/docs/locale/ja/LC_MESSAGES/discord.po +++ b/docs/locale/ja/LC_MESSAGES/discord.po @@ -30,13 +30,13 @@ msgstr "Botのアカウント作成はとても簡単です。" #: ../../discord.rst:10 #: ../../discord.rst:64 -msgid "Make sure you're logged on to the `Discord website <https://discordapp.com>`_." -msgstr "まずは `Discordのウェブサイト <https://discordapp.com>`_ にログインしてください。" +msgid "Make sure you're logged on to the `Discord website <https://discord.com>`_." +msgstr "まずは `Discordのウェブサイト <https://discord.com>`_ にログインしてください。" #: ../../discord.rst:11 #: ../../discord.rst:65 -msgid "Navigate to the `application page <https://discordapp.com/developers/applications>`_" -msgstr "`アプリケーションページ <https://discordapp.com/developers/applications>`_ に移動します。" +msgid "Navigate to the `application page <https://discord.com/developers/applications>`_" +msgstr "`アプリケーションページ <https://discord.com/developers/applications>`_ に移動します。" #: ../../discord.rst:12 msgid "Click on the \"New Application\" button." @@ -119,8 +119,8 @@ msgid "Please be aware of the consequences of requiring your bot to have the \"A msgstr "Botに「管理者」権限を要求させることによる影響は認識しておきましょう。" #: ../../discord.rst:81 -msgid "Bot owners must have 2FA enabled for certain actions and permissions when added in servers that have Server-Wide 2FA enabled. Check the `2FA support page <https://support.discordapp.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ for more information." -msgstr "二段階認証が有効になっているサーバーにBotが追加された場合、Botの所有者は特定の動作と権限のために二段階認証を有効化させなければいけません。詳細は `二段階認証のサポートページ <https://support.discordapp.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ を参照してください。" +msgid "Bot owners must have 2FA enabled for certain actions and permissions when added in servers that have Server-Wide 2FA enabled. Check the `2FA support page <https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ for more information." +msgstr "二段階認証が有効になっているサーバーにBotが追加された場合、Botの所有者は特定の動作と権限のために二段階認証を有効化させなければいけません。詳細は `二段階認証のサポートページ <https://support.discord.com/hc/en-us/articles/219576828-Setting-up-Two-Factor-Authentication>`_ を参照してください。" #: ../../discord.rst:86 msgid "Now the resulting URL can be used to add your bot to a server. Copy and paste the URL into your browser, choose a server to invite the bot to, and click \"Authorize\"." diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po index 8f491a48..53539d5f 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po @@ -1525,7 +1525,7 @@ msgstr "" #: discord.ext.commands.Bot.login:9 of msgid "" "Logging on with a user token is against the Discord `Terms of Service " -"<https://support.discordapp.com/hc/en-us/articles/115002192352>`_ and " +"<https://support.discord.com/hc/en-us/articles/115002192352>`_ and " "doing so might potentially get your account banned. Use this at your own " "risk." msgstr "" |