diff --git a/docs/locale/ja/LC_MESSAGES/api.po b/docs/locale/ja/LC_MESSAGES/api.po index 2304903a3..72f8e0004 100644 --- a/docs/locale/ja/LC_MESSAGES/api.po +++ b/docs/locale/ja/LC_MESSAGES/api.po @@ -2,28 +2,28 @@ # Copyright (C) 2015-2019, Rapptz # This file is distributed under the same license as the discord.py package. # FIRST AUTHOR , 2018. -# +# # Translators: # 本間 蒼士 , 2018 # 竹内 歩夢 , 2018 # intransifex Kesigomon , 2018 # Episword , 2018 -# #, fuzzy msgid "" msgstr "" "Project-Id-Version: discord.py 1.0.0a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-24 23:41-0400\n" +"POT-Creation-Date: 2019-02-18 03:50-0500\n" "PO-Revision-Date: 2018-08-01 17:00+0000\n" "Last-Translator: Episword , 2018\n" -"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-py/teams/88924/ja_JP/)\n" +"Language: ja_JP\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-" +"py/teams/88924/ja_JP/)\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.5.3\n" -"Language: ja_JP\n" -"Plural-Forms: nplurals=1; plural=0;\n" #: ../../api.rst:4 msgid "API Reference" @@ -35,10 +35,11 @@ msgstr "ここではdiscord.pyのAPIについて解説します。" #: ../../api.rst:10 msgid "" -"This module uses the Python logging module to log diagnostic and errors in " -"an output independent way. If the logging module is not configured, these " -"logs will not be output anywhere. See :ref:`logging_setup` for more " -"information on how to set up and use the logging module with discord.py." +"This module uses the Python logging module to log diagnostic and errors " +"in an output independent way. If the logging module is not configured, " +"these logs will not be output anywhere. See :ref:`logging_setup` for " +"more information on how to set up and use the logging module with " +"discord.py." msgstr "" "このモジュールはPythonのloggingモジュールを使用して、出力に依存しない方法でエラーや診断の内容を記録します。loggingモジュールが設定されていない場合、これらのログはどこにも出力されません。discord.pyでloggingモジュールを使用する方法の詳細は" " :ref:`logging_setup` を参照してください。" @@ -48,8 +49,7 @@ msgid "Version Related Info" msgstr "バージョン関連情報" #: ../../api.rst:19 -msgid "" -"There are two main ways to query version information about the library." +msgid "There are two main ways to query version information about the library." msgstr "ライブラリについてのバージョン情報を取得するには二通りの方法があります。" #: ../../api.rst:23 @@ -61,8 +61,8 @@ msgid "" "Just like `sys.version_info`_ the valid values for ``releaselevel`` are " "'alpha', 'beta', 'candidate' and 'final'." msgstr "" -"`sys.version_info`_ と同じように、 ``releaselevel`` には'alpha', 'beta', 'candidate'," -" 'final'が設定可能です。" +"`sys.version_info`_ と同じように、 ``releaselevel`` には'alpha', 'beta', " +"'candidate', 'final'が設定可能です。" #: ../../api.rst:32 msgid "A string representation of the version. e.g. ``'0.10.0-alpha0'``." @@ -74,8 +74,8 @@ msgstr "クライアント" #: discord.Client:1 of msgid "" -"Represents a client connection that connects to Discord. This class is used " -"to interact with the Discord WebSocket and API." +"Represents a client connection that connects to Discord. This class is " +"used to interact with the Discord WebSocket and API." msgstr "Discordに接続するクライアント接続を表します。このクラスは、DiscordのWebSocket、及びAPIとの対話に使用されます。" #: discord.Client:4 of @@ -110,10 +110,11 @@ msgstr "多くのオプションを :class:`Client` に渡すことが可能で #: discord.GroupChannel.permissions_for discord.GroupChannel.remove_recipients #: discord.GroupChannel.send discord.Guild.audit_logs discord.Guild.ban #: discord.Guild.create_custom_emoji discord.Guild.create_role -#: discord.Guild.create_text_channel discord.Guild.edit -#: discord.Guild.estimate_pruned_members discord.Guild.get_ban -#: discord.Guild.get_member_named discord.Guild.icon_url_as discord.Guild.kick -#: discord.Guild.prune_members discord.Guild.unban discord.Invite.delete +#: discord.Guild.create_text_channel discord.Guild.create_voice_channel +#: discord.Guild.edit discord.Guild.estimate_pruned_members +#: discord.Guild.get_ban discord.Guild.get_member_named +#: discord.Guild.icon_url_as discord.Guild.kick discord.Guild.prune_members +#: discord.Guild.splash_url_as discord.Guild.unban discord.Invite.delete #: discord.Member.add_roles discord.Member.avatar_url_as discord.Member.edit #: discord.Member.get_message discord.Member.history #: discord.Member.mentioned_in discord.Member.move_to @@ -121,49 +122,49 @@ msgstr "多くのオプションを :class:`Client` に渡すことが可能で #: discord.Member.send discord.Message.add_reaction discord.Message.edit #: discord.Message.remove_reaction discord.PCMVolumeTransformer #: discord.PermissionOverwrite discord.PermissionOverwrite.update -#: discord.Permissions.update discord.Reaction.users +#: discord.Permissions.update discord.Reaction.remove discord.Reaction.users #: discord.RequestsWebhookAdapter #: discord.RequestsWebhookAdapter.handle_execution_response -#: discord.RequestsWebhookAdapter.request discord.Role.delete -#: discord.Role.edit discord.TextChannel.create_invite -#: discord.TextChannel.create_webhook discord.TextChannel.delete -#: discord.TextChannel.delete_messages discord.TextChannel.edit -#: discord.TextChannel.get_message discord.TextChannel.history -#: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for -#: discord.TextChannel.purge discord.TextChannel.send -#: discord.TextChannel.set_permissions discord.User.avatar_url_as -#: discord.User.get_message discord.User.history discord.User.mentioned_in -#: discord.User.permissions_in discord.User.send discord.VoiceChannel.connect -#: discord.VoiceChannel.create_invite discord.VoiceChannel.delete -#: discord.VoiceChannel.edit discord.VoiceChannel.overwrites_for -#: discord.VoiceChannel.permissions_for discord.VoiceChannel.set_permissions -#: discord.VoiceClient.move_to discord.VoiceClient.play -#: discord.VoiceClient.send_audio_packet discord.Webhook.avatar_url_as -#: discord.Webhook.edit discord.Webhook.from_url discord.Webhook.partial -#: discord.Webhook.send discord.WebhookAdapter.handle_execution_response +#: discord.RequestsWebhookAdapter.request discord.Role.delete discord.Role.edit +#: discord.TextChannel.create_invite discord.TextChannel.create_webhook +#: discord.TextChannel.delete discord.TextChannel.delete_messages +#: discord.TextChannel.edit discord.TextChannel.get_message +#: discord.TextChannel.history discord.TextChannel.overwrites_for +#: discord.TextChannel.permissions_for discord.TextChannel.purge +#: discord.TextChannel.send discord.TextChannel.set_permissions +#: discord.User.avatar_url_as discord.User.get_message discord.User.history +#: discord.User.mentioned_in discord.User.permissions_in discord.User.send +#: discord.VoiceChannel.connect discord.VoiceChannel.create_invite +#: discord.VoiceChannel.delete discord.VoiceChannel.edit +#: discord.VoiceChannel.overwrites_for discord.VoiceChannel.permissions_for +#: discord.VoiceChannel.set_permissions discord.VoiceClient.move_to +#: discord.VoiceClient.play discord.VoiceClient.send_audio_packet +#: discord.Webhook.avatar_url_as discord.Webhook.edit discord.Webhook.from_url +#: discord.Webhook.partial discord.Webhook.send +#: discord.WebhookAdapter.handle_execution_response #: discord.WebhookAdapter.request discord.abc.GuildChannel.create_invite #: discord.abc.GuildChannel.delete discord.abc.GuildChannel.overwrites_for #: discord.abc.GuildChannel.permissions_for -#: discord.abc.GuildChannel.set_permissions -#: discord.abc.Messageable.get_message discord.abc.Messageable.history -#: discord.abc.Messageable.send discord.opus.load_opus discord.utils.find -#: discord.utils.get discord.utils.oauth_url of +#: discord.abc.GuildChannel.set_permissions discord.abc.Messageable.get_message +#: discord.abc.Messageable.history discord.abc.Messageable.send +#: discord.opus.load_opus discord.utils.find discord.utils.get +#: discord.utils.oauth_url of msgid "Parameters" msgstr "パラメータ" #: discord.Client:10 of msgid "" -"The maximum number of messages to store in the internal message cache. This " -"defaults to 5000. Passing in `None` or a value less than 100 will use the " -"default instead of the passed in value." +"The maximum number of messages to store in the internal message cache. " +"This defaults to 5000. Passing in `None` or a value less than 100 will " +"use the default instead of the passed in value." msgstr "" "内部のメッセージキャッシュに格納するメッセージの最大数。デフォルトでは5000に設定されています。 `None` " "あるいは100未満の値を渡すと、渡された値の代わりにデフォルトの値が使用されます。" #: discord.Client:14 of msgid "" -"The `event loop`_ to use for asynchronous operations. Defaults to ``None``, " -"in which case the default event loop is used via " +"The `event loop`_ to use for asynchronous operations. Defaults to " +"``None``, in which case the default event loop is used via " "``asyncio.get_event_loop()``." msgstr "" "非同期操作に使用する `event loop`_ デフォルトは ``None`` です。この場合、デフォルトのイベントループは " @@ -191,10 +192,10 @@ msgstr "Shardの総数。" #: discord.Client:27 of msgid "" -"Indicates if :func:`on_ready` should be delayed to fetch all offline members" -" from the guilds the bot belongs to. If this is ``False``\\, then no offline" -" members are received and :meth:`request_offline_members` must be used to " -"fetch the offline members of the guild." +"Indicates if :func:`on_ready` should be delayed to fetch all offline " +"members from the guilds the bot belongs to. If this is ``False``\\, then " +"no offline members are received and :meth:`request_offline_members` must " +"be used to fetch the offline members of the guild." msgstr "" #: discord.Client:32 of @@ -208,15 +209,13 @@ msgstr "Discordにログインした際の、開始時アクティビティ。" #: discord.Client:36 of msgid "" "The maximum numbers of seconds before timing out and restarting the " -"WebSocket in the case of not receiving a HEARTBEAT_ACK. Useful if processing" -" the initial packets take too long to the point of disconnecting you. The " -"default timeout is 60 seconds." -msgstr "" -"HEARTBEAT_ACKを受信できない際に、WebSocketをタイムアウトさせて再起動するまでの最大秒数。最初のパケットの処理に時間がかかり、接続を切断できないというような状況時に便利です。デフォルトでは60秒に設定されています。" +"WebSocket in the case of not receiving a HEARTBEAT_ACK. Useful if " +"processing the initial packets take too long to the point of " +"disconnecting you. The default timeout is 60 seconds." +msgstr "HEARTBEAT_ACKを受信できない際に、WebSocketをタイムアウトさせて再起動するまでの最大秒数。最初のパケットの処理に時間がかかり、接続を切断できないというような状況時に便利です。デフォルトでは60秒に設定されています。" #: discord.Client:44 of -msgid "" -"The websocket gateway the client is currently connected to. Could be None." +msgid "The websocket gateway the client is currently connected to. Could be None." msgstr "クライアントが現在接続しているWebSocketゲートウェイ。Noneでもかまいません。" #: discord.Client:48 of @@ -227,8 +226,8 @@ msgstr "クライアントがHTTP要求とWebSocket操作に使用する `event #: discord.Client.latency:1 of msgid "" -":obj:`float` -- Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in " -"seconds." +":obj:`float` -- Measures latency between a HEARTBEAT and a HEARTBEAT_ACK " +"in seconds." msgstr ":obj:`float` -- HEARTBEATとHEARTBEAT_ACKの待ち時間を秒単位で測定した結果を返します。" #: discord.Client.latency:3 of @@ -237,7 +236,8 @@ msgstr "これはDiscord WebSocketプロトコルの待ち時間とも言えま #: discord.Client.guilds:1 of msgid "" -"List[:class:`Guild`] -- The guilds that the connected client is a member of." +"List[:class:`Guild`] -- The guilds that the connected client is a member " +"of." msgstr "List[:class:`Guild`] -- 接続したクライアントがメンバーであるギルド。" #: discord.Client.emojis:1 of @@ -246,24 +246,22 @@ msgstr "List[:class:`Emoji`] -- 接続したクライアントが持つ絵文字 #: discord.Client.private_channels:1 of msgid "" -"List[:class:`abc.PrivateChannel`] -- The private channels that the connected" -" client is participating on." +"List[:class:`abc.PrivateChannel`] -- The private channels that the " +"connected client is participating on." msgstr "List[:class:`abc.PrivateChannel`] -- 接続されたクライアントが参加しているプライベートチャンネル。" #: discord.Client.private_channels:5 of msgid "" -"This returns only up to 128 most recent private channels due to an internal " -"working on how Discord deals with private channels." -msgstr "" -"Discordでのプライベートチャンネルの取扱いは内部的に処理されているため、これは最新のプライベートチャンネルから最大128個までしか取得できません。" +"This returns only up to 128 most recent private channels due to an " +"internal working on how Discord deals with private channels." +msgstr "Discordでのプライベートチャンネルの取扱いは内部的に処理されているため、これは最新のプライベートチャンネルから最大128個までしか取得できません。" #: discord.Client.voice_clients:1 of msgid "List[:class:`VoiceClient`] -- Represents a list of voice connections." msgstr "List[:class:`VoiceClient`] -- 音声接続のリストを表します。" #: discord.Client.is_ready:1 of -msgid "" -":obj:`bool`: Specifies if the client's internal cache is ready for use." +msgid ":obj:`bool`: Specifies if the client's internal cache is ready for use." msgstr ":obj:`bool`: クライアントの内部キャッシュを使用できる状態にするかどうかを指定します。" #: discord.Client.clear:1 of @@ -272,23 +270,24 @@ msgstr "ボットの内部状態をクリアします。" #: discord.Client.clear:3 of msgid "" -"After this, the bot can be considered \"re-opened\", i.e. :meth:`.is_closed`" -" and :meth:`.is_ready` both return ``False`` along with the bot's internal " -"cache cleared." +"After this, the bot can be considered \"re-opened\", i.e. " +":meth:`.is_closed` and :meth:`.is_ready` both return ``False`` along with" +" the bot's internal cache cleared." msgstr "" -"これが実行されると、Botは「再オープン」されたとみなされます。そのため、 :meth:`.is_closed` や :meth:`.is_ready`" -" は ``False`` を返し、内部のキャッシュもクリアされます。" +"これが実行されると、Botは「再オープン」されたとみなされます。そのため、 :meth:`.is_closed` や " +":meth:`.is_ready` は ``False`` を返し、内部のキャッシュもクリアされます。" #: discord.Client.run:1 of msgid "" -"A blocking call that abstracts away the `event loop`_ initialisation from " -"you." +"A blocking call that abstracts away the `event loop`_ initialisation from" +" you." msgstr "`event loop`_ の初期化を抽象化するブロッキングコール。" #: discord.Client.run:4 of msgid "" -"If you want more control over the event loop then this function should not " -"be used. Use :meth:`start` coroutine or :meth:`connect` + :meth:`login`." +"If you want more control over the event loop then this function should " +"not be used. Use :meth:`start` coroutine or :meth:`connect` + " +":meth:`login`." msgstr "" "イベントループをより詳細に制御するには、この関数を使用しないでください。 :meth:`start` または :meth:`connect` + " ":meth:`login` を使用してください。" @@ -299,11 +298,10 @@ msgstr "おおよそ次のものに相当:" #: discord.Client.run:20 of msgid "" -"This function must be the last function to call due to the fact that it is " -"blocking. That means that registration of events or anything being called " -"after this function call will not execute until it returns." -msgstr "" -"この関数はブロッキングを行うため、必ず最後に呼び出してください。この関数を呼び出した後に呼び出されるイベントや関数は、Botが停止するまで実行されません。" +"This function must be the last function to call due to the fact that it " +"is blocking. That means that registration of events or anything being " +"called after this function call will not execute until it returns." +msgstr "この関数はブロッキングを行うため、必ず最後に呼び出してください。この関数を呼び出した後に呼び出されるイベントや関数は、Botが停止するまで実行されません。" #: discord.Client.is_closed:1 of msgid ":obj:`bool`: Indicates if the websocket connection is closed." @@ -311,8 +309,8 @@ msgstr ":obj:`bool`: WebSocketが閉じられているかどうかを表しま #: discord.Client.activity:1 of msgid "" -"Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`]] -- The" -" activity being used upon logging in." +"Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`]] -- " +"The activity being used upon logging in." msgstr "" "Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`]] -- " "ログイン時のアクティビティ。" @@ -323,18 +321,18 @@ msgstr "Botが参照可能な :class:`User` の :obj:`list` を返します。" #: discord.Client.get_channel:1 of msgid "" -"Returns a :class:`abc.GuildChannel` or :class:`abc.PrivateChannel` with the " -"following ID." +"Returns a :class:`abc.GuildChannel` or :class:`abc.PrivateChannel` with " +"the following ID." msgstr "" -"渡されたIDを持つ :class:`abc.GuildChannel` 、または :class:`abc.PrivateChannel` を返します。" +"渡されたIDを持つ :class:`abc.GuildChannel` 、または :class:`abc.PrivateChannel` " +"を返します。" #: discord.Client.get_channel:3 of msgid "If not found, returns None." msgstr "見つからない場合は、Noneを返します。" #: discord.Client.get_guild:1 of -msgid "" -"Returns a :class:`Guild` with the given ID. If not found, returns None." +msgid "Returns a :class:`Guild` with the given ID. If not found, returns None." msgstr "渡されたIDを持つ :class:`Guild` を返します。見つからない場合は、Noneを返します。" #: discord.Client.get_user:1 of @@ -342,14 +340,13 @@ msgid "Returns a :class:`User` with the given ID. If not found, returns None." msgstr "渡されたIDを持つ :class:`User` を返します。見つからない場合は、Noneを返します。" #: discord.Client.get_emoji:1 of -msgid "" -"Returns a :class:`Emoji` with the given ID. If not found, returns None." +msgid "Returns a :class:`Emoji` with the given ID. If not found, returns None." msgstr "渡されたIDを持つ :class:`Emoji` を返します。見つからない場合は、Noneを返します。" #: discord.Client.get_all_channels:1 of msgid "" -"A generator that retrieves every :class:`abc.GuildChannel` the client can " -"'access'." +"A generator that retrieves every :class:`abc.GuildChannel` the client can" +" 'access'." msgstr "クライアントが「アクセス」できるすべての :class:`abc.GuildChannel` のジェネレータを取得します。" #: discord.Client.get_all_channels:3 discord.Client.get_all_members:3 of @@ -358,9 +355,9 @@ msgstr "使用例:" #: discord.Client.get_all_channels:11 of msgid "" -"Just because you receive a :class:`abc.GuildChannel` does not mean that you " -"can communicate in said channel. :meth:`abc.GuildChannel.permissions_for` " -"should be used for that." +"Just because you receive a :class:`abc.GuildChannel` does not mean that " +"you can communicate in said channel. " +":meth:`abc.GuildChannel.permissions_for` should be used for that." msgstr "" ":class:`abc.GuildChannel` " "を受け取ったからと言って、そのチャンネルで発言ができるという意味ではありません。発現可能なチャンネルのみを取得したいのなら、 " @@ -370,7 +367,7 @@ msgstr "" msgid "Returns a generator with every :class:`Member` the client can see." msgstr "クライアントが参照可能なすべての :class:`Member` のジェネレータを返します。" -#: ../../api.rst:1367 ../../api.rst:1374 ../../api.rst:1384 ../../api.rst:1403 +#: ../../api.rst:1390 ../../api.rst:1397 ../../api.rst:1407 ../../api.rst:1426 #: discord.Attachment.save:1 discord.AutoShardedClient.change_presence:1 #: discord.AutoShardedClient.close:1 #: discord.AutoShardedClient.request_offline_members:1 @@ -404,7 +401,8 @@ msgstr "クライアントが参照可能なすべての :class:`Member` のジ #: discord.Guild.vanity_invite:1 discord.Guild.webhooks:1 #: discord.Invite.delete:1 discord.Member.add_roles:1 discord.Member.ban:1 #: discord.Member.block:1 discord.Member.edit:1 discord.Member.get_message:1 -#: discord.Member.kick:1 discord.Member.move_to:1 discord.Member.pins:1 +#: discord.Member.kick:1 discord.Member.move_to:1 +#: discord.Member.mutual_friends:1 discord.Member.pins:1 #: discord.Member.profile:1 discord.Member.remove_friend:1 #: discord.Member.remove_roles:1 discord.Member.send:1 #: discord.Member.send_friend_request:1 discord.Member.trigger_typing:1 @@ -412,8 +410,8 @@ msgstr "クライアントが参照可能なすべての :class:`Member` のジ #: discord.Message.add_reaction:1 discord.Message.clear_reactions:1 #: discord.Message.delete:1 discord.Message.edit:1 discord.Message.pin:1 #: discord.Message.remove_reaction:1 discord.Message.unpin:1 -#: discord.Relationship.accept:1 discord.Relationship.delete:1 -#: discord.Role.delete:1 discord.Role.edit:1 +#: discord.Reaction.remove:1 discord.Relationship.accept:1 +#: discord.Relationship.delete:1 discord.Role.delete:1 discord.Role.edit:1 #: discord.TextChannel.create_invite:1 discord.TextChannel.create_webhook:1 #: discord.TextChannel.delete:1 discord.TextChannel.delete_messages:1 #: discord.TextChannel.edit:1 discord.TextChannel.get_message:1 @@ -421,8 +419,8 @@ msgstr "クライアントが参照可能なすべての :class:`Member` のジ #: discord.TextChannel.purge:1 discord.TextChannel.send:1 #: discord.TextChannel.set_permissions:1 discord.TextChannel.trigger_typing:1 #: discord.TextChannel.webhooks:1 discord.User.block:1 -#: discord.User.get_message:1 discord.User.pins:1 discord.User.profile:1 -#: discord.User.remove_friend:1 discord.User.send:1 +#: discord.User.get_message:1 discord.User.mutual_friends:1 discord.User.pins:1 +#: discord.User.profile:1 discord.User.remove_friend:1 discord.User.send:1 #: discord.User.send_friend_request:1 discord.User.trigger_typing:1 #: discord.User.unblock:1 discord.VoiceChannel.connect:1 #: discord.VoiceChannel.create_invite:1 discord.VoiceChannel.delete:1 @@ -442,23 +440,23 @@ msgstr "WebSocketイベントがディスパッチされるまで待機します #: discord.Client.wait_for:5 of msgid "" -"This could be used to wait for a user to reply to a message, or to react to " -"a message, or to edit a message in a self-contained way." +"This could be used to wait for a user to reply to a message, or to react " +"to a message, or to edit a message in a self-contained way." msgstr "" #: discord.Client.wait_for:9 of msgid "" "The ``timeout`` parameter is passed onto :func:`asyncio.wait_for`. By " "default, it does not timeout. Note that this does propagate the " -":exc:`asyncio.TimeoutError` for you in case of timeout and is provided for " -"ease of use." +":exc:`asyncio.TimeoutError` for you in case of timeout and is provided " +"for ease of use." msgstr "" #: discord.Client.wait_for:14 of msgid "" "In case the event returns multiple arguments, a :obj:`tuple` containing " -"those arguments is returned instead. Please check the :ref:`documentation " -"` for a list of events and their parameters." +"those arguments is returned instead. Please check the :ref:`documentation" +" ` for a list of events and their parameters." msgstr "" #: discord.Client.wait_for:19 of @@ -467,7 +465,7 @@ msgstr "" #: discord.CategoryChannel.set_permissions:21 discord.Client.wait_for:22 #: discord.DMChannel.history:34 discord.GroupChannel.history:34 -#: discord.Guild.audit_logs:29 discord.Guild.create_text_channel:14 +#: discord.Guild.audit_logs:29 discord.Guild.create_text_channel:20 #: discord.Member.history:34 discord.Reaction.users:16 #: discord.TextChannel.history:34 discord.TextChannel.purge:36 #: discord.TextChannel.set_permissions:21 discord.User.history:34 @@ -487,8 +485,8 @@ msgstr "" #: discord.Client.wait_for:55 of msgid "" -"The event name, similar to the :ref:`event reference `, " -"but without the ``on_`` prefix, to wait for." +"The event name, similar to the :ref:`event reference `, but without the ``on_`` prefix, to wait for." msgstr "" #: discord.Client.wait_for:58 of @@ -528,17 +526,18 @@ msgstr "" #: discord.Guild.delete discord.Guild.edit #: discord.Guild.estimate_pruned_members discord.Guild.get_ban #: discord.Guild.icon_url_as discord.Guild.invites discord.Guild.kick -#: discord.Guild.leave discord.Guild.prune_members discord.Guild.unban -#: discord.Guild.vanity_invite discord.Guild.webhooks discord.Invite.delete -#: discord.Member.add_roles discord.Member.avatar_url_as discord.Member.block -#: discord.Member.edit discord.Member.get_message discord.Member.history -#: discord.Member.pins discord.Member.profile discord.Member.remove_friend +#: discord.Guild.leave discord.Guild.prune_members discord.Guild.splash_url_as +#: discord.Guild.unban discord.Guild.vanity_invite discord.Guild.webhooks +#: discord.Invite.delete discord.Member.add_roles discord.Member.avatar_url_as +#: discord.Member.block discord.Member.edit discord.Member.get_message +#: discord.Member.history discord.Member.mutual_friends discord.Member.pins +#: discord.Member.profile discord.Member.remove_friend #: discord.Member.remove_roles discord.Member.send #: discord.Member.send_friend_request discord.Member.unblock #: discord.Message.ack discord.Message.add_reaction #: discord.Message.clear_reactions discord.Message.delete discord.Message.edit #: discord.Message.pin discord.Message.remove_reaction discord.Message.unpin -#: discord.PCMVolumeTransformer discord.Reaction.users +#: discord.PCMVolumeTransformer discord.Reaction.remove discord.Reaction.users #: discord.Relationship.accept discord.Relationship.delete discord.Role.delete #: discord.Role.edit discord.TextChannel.create_invite #: discord.TextChannel.create_webhook discord.TextChannel.delete @@ -548,8 +547,8 @@ msgstr "" #: discord.TextChannel.purge discord.TextChannel.send #: discord.TextChannel.set_permissions discord.TextChannel.webhooks #: discord.User.avatar_url_as discord.User.block discord.User.get_message -#: discord.User.history discord.User.pins discord.User.profile -#: discord.User.remove_friend discord.User.send +#: discord.User.history discord.User.mutual_friends discord.User.pins +#: discord.User.profile discord.User.remove_friend discord.User.send #: discord.User.send_friend_request discord.User.unblock #: discord.VoiceChannel.connect discord.VoiceChannel.create_invite #: discord.VoiceChannel.delete discord.VoiceChannel.edit @@ -566,7 +565,8 @@ msgstr "" #: discord.Client.wait_for:65 of msgid "" -":exc:`asyncio.TimeoutError` -- If a timeout is provided and it was reached." +":exc:`asyncio.TimeoutError` -- If a timeout is provided and it was " +"reached." msgstr "" #: ../../api.rst discord.Attachment.save discord.AudioSource.read @@ -587,8 +587,9 @@ msgstr "" #: discord.Guild.create_text_channel discord.Guild.estimate_pruned_members #: discord.Guild.get_ban discord.Guild.get_member_named #: discord.Guild.icon_url_as discord.Guild.invites discord.Guild.prune_members -#: discord.Guild.vanity_invite discord.Guild.webhooks -#: discord.Member.avatar_url_as discord.Member.get_message +#: discord.Guild.splash_url_as discord.Guild.vanity_invite +#: discord.Guild.webhooks discord.Member.avatar_url_as +#: discord.Member.get_message discord.Member.mutual_friends #: discord.Member.profile discord.Member.send discord.PCMAudio.read #: discord.PCMVolumeTransformer.read discord.TextChannel.create_invite #: discord.TextChannel.create_webhook discord.TextChannel.get_message @@ -596,24 +597,24 @@ msgstr "" #: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for #: discord.TextChannel.purge discord.TextChannel.send #: discord.TextChannel.webhooks discord.User.avatar_url_as -#: discord.User.get_message discord.User.profile discord.User.send -#: discord.VoiceChannel.connect discord.VoiceChannel.create_invite -#: discord.VoiceChannel.invites discord.VoiceChannel.overwrites -#: discord.VoiceChannel.overwrites_for discord.VoiceChannel.permissions_for -#: discord.Webhook.avatar_url_as discord.Webhook.send -#: discord.abc.GuildChannel.create_invite discord.abc.GuildChannel.invites -#: discord.abc.GuildChannel.overwrites discord.abc.GuildChannel.overwrites_for -#: discord.abc.GuildChannel.permissions_for -#: discord.abc.Messageable.get_message discord.abc.Messageable.send -#: discord.opus.is_loaded of +#: discord.User.get_message discord.User.mutual_friends discord.User.profile +#: discord.User.send discord.VoiceChannel.connect +#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites +#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for +#: discord.VoiceChannel.permissions_for discord.Webhook.avatar_url_as +#: discord.Webhook.send discord.abc.GuildChannel.create_invite +#: discord.abc.GuildChannel.invites discord.abc.GuildChannel.overwrites +#: discord.abc.GuildChannel.overwrites_for +#: discord.abc.GuildChannel.permissions_for discord.abc.Messageable.get_message +#: discord.abc.Messageable.send discord.opus.is_loaded of msgid "Returns" msgstr "" #: discord.Client.wait_for:67 of msgid "" "Returns no arguments, a single argument, or a :obj:`tuple` of multiple " -"arguments that mirrors the parameters passed in the :ref:`event reference " -"`." +"arguments that mirrors the parameters passed in the :ref:`event reference" +" `." msgstr "" #: ../../api.rst discord.Attachment.save discord.AudioSource.read @@ -634,8 +635,9 @@ msgstr "" #: discord.Guild.create_text_channel discord.Guild.estimate_pruned_members #: discord.Guild.get_ban discord.Guild.get_member_named #: discord.Guild.icon_url_as discord.Guild.invites discord.Guild.prune_members -#: discord.Guild.vanity_invite discord.Guild.webhooks -#: discord.Member.avatar_url_as discord.Member.get_message +#: discord.Guild.splash_url_as discord.Guild.vanity_invite +#: discord.Guild.webhooks discord.Member.avatar_url_as +#: discord.Member.get_message discord.Member.mutual_friends #: discord.Member.profile discord.Member.send discord.PCMAudio.read #: discord.PCMVolumeTransformer.read discord.TextChannel.create_invite #: discord.TextChannel.create_webhook discord.TextChannel.get_message @@ -643,16 +645,16 @@ msgstr "" #: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for #: discord.TextChannel.purge discord.TextChannel.send #: discord.TextChannel.webhooks discord.User.avatar_url_as -#: discord.User.get_message discord.User.profile discord.User.send -#: discord.VoiceChannel.connect discord.VoiceChannel.create_invite -#: discord.VoiceChannel.invites discord.VoiceChannel.overwrites -#: discord.VoiceChannel.overwrites_for discord.VoiceChannel.permissions_for -#: discord.Webhook.avatar_url_as discord.Webhook.send -#: discord.abc.GuildChannel.create_invite discord.abc.GuildChannel.invites -#: discord.abc.GuildChannel.overwrites discord.abc.GuildChannel.overwrites_for -#: discord.abc.GuildChannel.permissions_for -#: discord.abc.Messageable.get_message discord.abc.Messageable.send -#: discord.opus.is_loaded of +#: discord.User.get_message discord.User.mutual_friends discord.User.profile +#: discord.User.send discord.VoiceChannel.connect +#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites +#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for +#: discord.VoiceChannel.permissions_for discord.Webhook.avatar_url_as +#: discord.Webhook.send discord.abc.GuildChannel.create_invite +#: discord.abc.GuildChannel.invites discord.abc.GuildChannel.overwrites +#: discord.abc.GuildChannel.overwrites_for +#: discord.abc.GuildChannel.permissions_for discord.abc.Messageable.get_message +#: discord.abc.Messageable.send discord.opus.is_loaded of msgid "Return type" msgstr "" @@ -667,8 +669,7 @@ msgid "" msgstr "" #: discord.Client.event:5 of -msgid "" -"The events must be a |corourl|_, if not, :exc:`ClientException` is raised." +msgid "The events must be a |corourl|_, if not, :exc:`ClientException` is raised." msgstr "" #: discord.Client.event:8 of @@ -691,49 +692,48 @@ msgstr ":class:`AppInfo`" msgid ":exc:`HTTPException` -- Retrieving the information failed somehow." msgstr ":exc:`HTTPException` -- 何らかの要因で情報の取得に失敗した。" -#: discord.AutoShardedClient.change_presence:3 -#: discord.Client.change_presence:3 of +#: discord.AutoShardedClient.change_presence:3 discord.Client.change_presence:3 +#: of msgid "Changes the client's presence." msgstr "" -#: discord.AutoShardedClient.change_presence:5 -#: discord.Client.change_presence:5 of +#: discord.AutoShardedClient.change_presence:5 discord.Client.change_presence:5 +#: of msgid "" "The activity parameter is a :class:`Activity` object (not a string) that " -"represents the activity being done currently. This could also be the slimmed" -" down versions, :class:`Game` and :class:`Streaming`." +"represents the activity being done currently. This could also be the " +"slimmed down versions, :class:`Game` and :class:`Streaming`." msgstr "" -#: discord.AutoShardedClient.change_presence:9 -#: discord.Client.change_presence:9 of +#: discord.AutoShardedClient.change_presence:9 discord.Client.change_presence:9 +#: of msgid "Example: ::" msgstr "例:" #: discord.AutoShardedClient.change_presence:14 #: discord.Client.change_presence:14 of -msgid "" -"The activity being done. ``None`` if no currently active activity is done." +msgid "The activity being done. ``None`` if no currently active activity is done." msgstr "" #: discord.AutoShardedClient.change_presence:16 #: discord.Client.change_presence:16 of msgid "" -"Indicates what status to change to. If None, then :attr:`Status.online` is " -"used." +"Indicates what status to change to. If None, then :attr:`Status.online` " +"is used." msgstr "" #: discord.AutoShardedClient.change_presence:19 #: discord.Client.change_presence:19 of msgid "" -"Indicates if you are going AFK. This allows the discord client to know how " -"to handle push notifications better for you in case you are actually idle " -"and not lying." +"Indicates if you are going AFK. This allows the discord client to know " +"how to handle push notifications better for you in case you are actually " +"idle and not lying." msgstr "" #: discord.Client.change_presence:24 of msgid "" -":exc:`InvalidArgument` -- If the ``activity`` parameter is not the proper " -"type." +":exc:`InvalidArgument` -- If the ``activity`` parameter is not the proper" +" type." msgstr ":exc:`InvalidArgument` -- ``activity`` に渡された値が適切な型でない。" #: discord.AutoShardedClient.close:3 discord.Client.close:3 of @@ -752,20 +752,20 @@ msgstr "" msgid "" "If we should attempt reconnecting, either due to internet failure or a " "specific failure on Discord's part. Certain disconnects that lead to bad " -"state will not be handled (such as invalid sharding payloads or bad tokens)." +"state will not be handled (such as invalid sharding payloads or bad " +"tokens)." msgstr "" #: discord.Client.connect:14 of msgid "" -":exc:`GatewayNotFound` -- If the gateway to connect to discord is not found." -" Usually if this is thrown then there is a discord API outage." +":exc:`GatewayNotFound` -- If the gateway to connect to discord is not " +"found. Usually if this is thrown then there is a discord API outage." msgstr "" ":exc:`GatewayNotFound` -- " "Discordに接続するゲートウェイが見つからない。通常、これが発生した場合はAPIの停止が考えられます。" #: discord.Client.connect:16 of -msgid "" -":exc:`ConnectionClosed` -- The websocket connection has been terminated." +msgid ":exc:`ConnectionClosed` -- The websocket connection has been terminated." msgstr ":exc:`ConnectionClosed` -- websocket接続が終了した。" #: discord.Client.create_guild:3 of @@ -798,10 +798,9 @@ msgstr ":exc:`HTTPException` -- ギルドの作成に失敗した。" #: discord.Client.create_guild:17 of msgid "" -":exc:`InvalidArgument` -- Invalid icon image format given. Must be PNG or " -"JPG." -msgstr "" -":exc:`InvalidArgument` -- アイコン画像として無効なフォーマットの画像が渡された。PNGかJPGで指定してください。" +":exc:`InvalidArgument` -- Invalid icon image format given. Must be PNG or" +" JPG." +msgstr ":exc:`InvalidArgument` -- アイコン画像として無効なフォーマットの画像が渡された。PNGかJPGで指定してください。" #: discord.Client.create_guild:19 of msgid "The guild created. This is not the same guild that is added to cache." @@ -844,27 +843,35 @@ msgstr "discord.gg URL、またはIDから :class:`Invite` を取得します。 #: discord.Client.get_invite:7 of msgid "" "If the invite is for a guild you have not joined, the guild and channel " -"attributes of the returned invite will be :class:`Object` with the names " -"patched in." +"attributes of the returned :class:`Invite` will be " +":class:`PartialInviteGuild` and :class:`PartialInviteChannel` " +"respectively." msgstr "" #: discord.Client.get_invite:11 of msgid "The discord invite ID or URL (must be a discord.gg URL)." msgstr "" -#: discord.Client.get_invite:14 of +#: discord.Client.get_invite:13 of +msgid "" +"Whether to include count information in the invite. This fills the " +":attr:`Invite.approximate_member_count` and " +":attr:`Invite.approximate_presence_count` fields." +msgstr "" + +#: discord.Client.get_invite:18 of msgid ":exc:`NotFound` -- The invite has expired or is invalid." msgstr ":exc:`NotFound` -- 招待の有効期限が切れている、または無効。" -#: discord.Client.get_invite:15 of +#: discord.Client.get_invite:19 of msgid ":exc:`HTTPException` -- Getting the invite failed." msgstr ":exc:`HTTPException` -- 招待の取得に失敗した。" -#: discord.Client.get_invite:17 of +#: discord.Client.get_invite:21 of msgid "The invite from the URL/ID." msgstr "" -#: discord.CategoryChannel.create_invite:27 discord.Client.get_invite:18 +#: discord.CategoryChannel.create_invite:27 discord.Client.get_invite:22 #: discord.Guild.vanity_invite:12 discord.TextChannel.create_invite:27 #: discord.VoiceChannel.create_invite:27 #: discord.abc.GuildChannel.create_invite:27 of @@ -873,8 +880,8 @@ msgstr ":class:`Invite`" #: discord.Client.get_user_info:3 of msgid "" -"Retrieves a :class:`User` based on their ID. This can only be used by bot " -"accounts. You do not have to share any guilds with the user to get this " +"Retrieves a :class:`User` based on their ID. This can only be used by bot" +" accounts. You do not have to share any guilds with the user to get this " "information, however many operations do require that you do." msgstr "" @@ -886,8 +893,8 @@ msgstr "" msgid "The user you requested." msgstr "" -#: discord.Client.get_user_info:12 discord.abc.Messageable:8 -#: discord.abc.User:5 of +#: discord.Client.get_user_info:12 discord.abc.Messageable:8 discord.abc.User:5 +#: of msgid ":class:`User`" msgstr ":class:`User`" @@ -901,7 +908,8 @@ msgstr ":exc:`HTTPException` -- ユーザーの取得に失敗した。" #: discord.Client.get_user_profile:3 of msgid "" -"Gets an arbitrary user's profile. This can only be used by non-bot accounts." +"Gets an arbitrary user's profile. This can only be used by non-bot " +"accounts." msgstr "" #: discord.Client.get_user_profile:5 of @@ -963,8 +971,9 @@ msgstr "" #: discord.Client.login:9 of msgid "" "Logging on with a user token is against the Discord `Terms of Service " -"`_ and doing " -"so might potentially get your account banned. Use this at your own risk." +"`_ and " +"doing so might potentially get your account banned. Use this at your own " +"risk." msgstr "" #: discord.Client.login:14 of @@ -975,8 +984,8 @@ msgstr "" #: discord.Client.login:17 of msgid "" -"Keyword argument that specifies if the account logging on is a bot token or " -"not." +"Keyword argument that specifies if the account logging on is a bot token " +"or not." msgstr "" #: discord.Client.login:21 of @@ -985,8 +994,8 @@ msgstr ":exc:`LoginFailure` -- 誤った資格情報が渡された。" #: discord.Client.login:22 of msgid "" -":exc:`HTTPException` -- An unknown HTTP related error occurred, usually when" -" it isn't 200 or the known incorrect credentials passing status code." +":exc:`HTTPException` -- An unknown HTTP related error occurred, usually " +"when it isn't 200 or the known incorrect credentials passing status code." msgstr "" ":exc:`HTTPException` -- " "不明なHTTP関連のエラーが発生した。通常、ステータスコードが200でないか、既知の誤った資格情報がステータスコードを渡しています。" @@ -1001,18 +1010,18 @@ msgstr "" #: discord.Client.on_error:5 of msgid "" -"By default this prints to ``sys.stderr`` however it could be overridden to " -"have a different implementation. Check :func:`discord.on_error` for more " -"details." +"By default this prints to ``sys.stderr`` however it could be overridden " +"to have a different implementation. Check :func:`discord.on_error` for " +"more details." msgstr "" #: discord.AutoShardedClient.request_offline_members:3 #: discord.Client.request_offline_members:3 of msgid "" -"Requests previously offline members from the guild to be filled up into the " -":attr:`Guild.members` cache. This function is usually not called. It should " -"only be used if you have the ``fetch_offline_members`` parameter set to " -"``False``." +"Requests previously offline members from the guild to be filled up into " +"the :attr:`Guild.members` cache. This function is usually not called. It " +"should only be used if you have the ``fetch_offline_members`` parameter " +"set to ``False``." msgstr "" #: discord.AutoShardedClient.request_offline_members:8 @@ -1032,8 +1041,8 @@ msgstr "" #: discord.AutoShardedClient.request_offline_members:15 #: discord.Client.request_offline_members:15 of msgid "" -":exc:`InvalidArgument` -- If any guild is unavailable or not large in the " -"collection." +":exc:`InvalidArgument` -- If any guild is unavailable or not large in the" +" collection." msgstr "" #: discord.Client.start:3 of @@ -1046,23 +1055,23 @@ msgstr "" #: discord.Client.user:1 of msgid "" -"Optional[:class:`ClientUser`] -- Represents the connected client. None if " -"not logged in." +"Optional[:class:`ClientUser`] -- Represents the connected client. None if" +" not logged in." msgstr "" #: discord.AutoShardedClient:1 of msgid "" -"A client similar to :class:`Client` except it handles the complications of " -"sharding for the user into a more manageable and transparent single process " -"bot." +"A client similar to :class:`Client` except it handles the complications " +"of sharding for the user into a more manageable and transparent single " +"process bot." msgstr "" #: discord.AutoShardedClient:5 of msgid "" -"When using this client, you will be able to use it as-if it was a regular " -":class:`Client` with a single shard when implementation wise internally it " -"is split up into multiple shards. This allows you to not have to deal with " -"IPC or other complicated infrastructure." +"When using this client, you will be able to use it as-if it was a regular" +" :class:`Client` with a single shard when implementation wise internally " +"it is split up into multiple shards. This allows you to not have to deal " +"with IPC or other complicated infrastructure." msgstr "" #: discord.AutoShardedClient:10 of @@ -1079,36 +1088,36 @@ msgstr "" #: discord.AutoShardedClient:16 of msgid "" -"If a ``shard_ids`` parameter is given, then those shard IDs will be used to " -"launch the internal shards. Note that :attr:`shard_count` must be provided " -"if this is used. By default, when omitted, the client will launch shards " -"from 0 to ``shard_count - 1``." +"If a ``shard_ids`` parameter is given, then those shard IDs will be used " +"to launch the internal shards. Note that :attr:`shard_count` must be " +"provided if this is used. By default, when omitted, the client will " +"launch shards from 0 to ``shard_count - 1``." msgstr "" #: discord.AutoShardedClient:23 of msgid "" -"Optional[List[:class:`int`]] -- An optional list of shard_ids to launch the " -"shards with." +"Optional[List[:class:`int`]] -- An optional list of shard_ids to launch " +"the shards with." msgstr "" #: discord.AutoShardedClient.latency:1 of msgid "" -":class:`float` -- Measures latency between a HEARTBEAT and a HEARTBEAT_ACK " -"in seconds." +":class:`float` -- Measures latency between a HEARTBEAT and a " +"HEARTBEAT_ACK in seconds." msgstr "" #: discord.AutoShardedClient.latency:3 of msgid "" "This operates similarly to :meth:`.Client.latency` except it uses the " -"average latency of every shard's latency. To get a list of shard latency, " -"check the :attr:`latencies` property. Returns ``nan`` if there are no shards" -" ready." +"average latency of every shard's latency. To get a list of shard latency," +" check the :attr:`latencies` property. Returns ``nan`` if there are no " +"shards ready." msgstr "" #: discord.AutoShardedClient.latencies:1 of msgid "" -"List[Tuple[:class:`int`, :class:`float`]] -- A list of latencies between a " -"HEARTBEAT and a HEARTBEAT_ACK in seconds." +"List[Tuple[:class:`int`, :class:`float`]] -- A list of latencies between " +"a HEARTBEAT and a HEARTBEAT_ACK in seconds." msgstr "" #: discord.AutoShardedClient.latencies:3 of @@ -1117,8 +1126,8 @@ msgstr "" #: discord.AutoShardedClient.change_presence:23 of msgid "" -"The shard_id to change the presence to. If not specified or ``None``, then " -"it will change the presence of every shard the bot can see." +"The shard_id to change the presence to. If not specified or ``None``, " +"then it will change the presence of every shard the bot can see." msgstr "" #: discord.AutoShardedClient.change_presence:28 of @@ -1139,8 +1148,7 @@ msgstr "Discordの音声接続を表します。" msgid "" "You do not create these, you typically get them from e.g. " ":meth:`VoiceChannel.connect`." -msgstr "" -"これを意図的に生成することはできません。通常、 :meth:`VoiceChannel.connect` などを使用した際に、取得できます。" +msgstr "これを意図的に生成することはできません。通常、 :meth:`VoiceChannel.connect` などを使用した際に、取得できます。" #: discord.VoiceClient:8 of msgid "" @@ -1149,8 +1157,7 @@ msgid "" msgstr "オーディオの再生を行うためには :func:`opus.load_opus` を使用してopusライブラリをロードしておく必要があります。" #: discord.VoiceClient:11 of -msgid "" -"If you don't do this then the library will not be able to transmit audio." +msgid "If you don't do this then the library will not be able to transmit audio." msgstr "ロードを行っていない場合、オーディオの送信ができません。" #: discord.VoiceClient:16 of @@ -1174,8 +1181,7 @@ msgid "The event loop that the voice client is running on." msgstr "ボイスクライアントが実行されているイベントループ。" #: discord.VoiceClient.guild:1 of -msgid "" -"Optional[:class:`Guild`] -- The guild we're connected to, if applicable." +msgid "Optional[:class:`Guild`] -- The guild we're connected to, if applicable." msgstr "Optional[:class:`Guild`] -- 該当する場合は、接続しているギルドを返します。" #: discord.VoiceClient.user:1 of @@ -1192,8 +1198,8 @@ msgstr ":class:`AudioSource` を再生します。" #: discord.VoiceClient.play:3 of msgid "" -"The finalizer, ``after`` is called after the source has been exhausted or an" -" error occurred." +"The finalizer, ``after`` is called after the source has been exhausted or" +" an error occurred." msgstr "ファイナライザーである ``after`` はソースがなくなったか、エラーが発生した後に呼び出されます。" #: discord.VoiceClient.play:6 of @@ -1208,10 +1214,10 @@ msgstr "読み込むオーディオソース。" #: discord.VoiceClient.play:11 of msgid "" -"The finalizer that is called after the stream is exhausted. All exceptions " -"it throws are silently discarded. This function must have a single " -"parameter, ``error``, that denotes an optional exception that was raised " -"during playing." +"The finalizer that is called after the stream is exhausted. All " +"exceptions it throws are silently discarded. This function must have a " +"single parameter, ``error``, that denotes an optional exception that was " +"raised during playing." msgstr "" "ファイナライザーはストリームが空になると呼び出されます。発生した例外はすべて破棄されます。この関数には再生中に発生したオプションの例外を表す一つのパラメータ" " ``error`` が必要です。" @@ -1222,10 +1228,9 @@ msgstr ":exc:`ClientException` -- すでにオーディオを再生している #: discord.VoiceClient.play:17 of msgid "" -":exc:`TypeError` -- source is not a :class:`AudioSource` or after is not a " -"callable." -msgstr "" -":exc:`TypeError` -- sourceが :class:`AudioSource` でないか、afterが呼び出し可能でない。" +":exc:`TypeError` -- source is not a :class:`AudioSource` or after is not " +"a callable." +msgstr ":exc:`TypeError` -- sourceが :class:`AudioSource` でないか、afterが呼び出し可能でない。" #: discord.VoiceClient.is_playing:1 of msgid "Indicates if we're currently playing audio." @@ -1261,13 +1266,14 @@ msgstr "音声の再生を再開します。" #: discord.VoiceClient.source:1 of msgid "" -"Optional[:class:`AudioSource`] -- The audio source being played, if playing." +"Optional[:class:`AudioSource`] -- The audio source being played, if " +"playing." msgstr "Optional[:class:`AudioSource`] -- 再生中の場合、再生しているオーディオソースを返します。" #: discord.VoiceClient.source:3 of msgid "" -"This property can also be used to change the audio source currently being " -"played." +"This property can also be used to change the audio source currently being" +" played." msgstr "このプロパティは現在再生しているオーディオソースの変更にも使うことが出来ます。" #: discord.VoiceClient.send_audio_packet:1 of @@ -1300,10 +1306,10 @@ msgstr "オーディオストリームを表します。" #: discord.AudioSource:3 of msgid "" -"The audio stream can be Opus encoded or not, however if the audio stream is " -"not Opus encoded then the audio format must be 16-bit 48KHz stereo PCM." -msgstr "" -"オーディオストリームはOpusにエンコードされていなくても構いませんが、エンコードされていない場合、オーディオフォーマットは16ビットの48KHzステレオPCMである必要があります。" +"The audio stream can be Opus encoded or not, however if the audio stream " +"is not Opus encoded then the audio format must be 16-bit 48KHz stereo " +"PCM." +msgstr "オーディオストリームはOpusにエンコードされていなくても構いませんが、エンコードされていない場合、オーディオフォーマットは16ビットの48KHzステレオPCMである必要があります。" #: discord.AudioSource:8 of msgid "The audio source reads are done in a separate thread." @@ -1335,9 +1341,10 @@ msgstr "" #: discord.AudioSource.read:8 discord.FFmpegPCMAudio.read:8 #: discord.PCMAudio.read:8 discord.PCMVolumeTransformer.read:8 of msgid "" -"If :meth:`is_opus` method returns ``True``, then it must return 20ms worth " -"of Opus encoded audio. Otherwise, it must be 20ms worth of 16-bit 48KHz " -"stereo PCM, which is about 3,840 bytes per frame (20ms worth of audio)." +"If :meth:`is_opus` method returns ``True``, then it must return 20ms " +"worth of Opus encoded audio. Otherwise, it must be 20ms worth of 16-bit " +"48KHz stereo PCM, which is about 3,840 bytes per frame (20ms worth of " +"audio)." msgstr "" ":meth:`is_opus` が ``True`` " "を返す場合、20ms分のOpusにエンコードされたオーディオを返さなければいけません。それ以外の場合は、フレームあたり約3,840バイトの20ms相当の16ビット48KHzステレオPCM(20ms分のオーディオ)が必要です。" @@ -1363,7 +1370,8 @@ msgstr "クリーンアップが必要な時に呼び出されます。" #: discord.AudioSource.cleanup:3 discord.FFmpegPCMAudio.cleanup:3 #: discord.PCMVolumeTransformer.cleanup:3 of msgid "" -"Useful for clearing buffer data or processes after it is done playing audio." +"Useful for clearing buffer data or processes after it is done playing " +"audio." msgstr "オーディオの再生が終了した後にバッファデータやプロセスをクリアするのに便利です。" #: discord.PCMAudio:1 of @@ -1372,8 +1380,8 @@ msgstr "生の16ビット48KHzステレオPCMオーディオソースを表し #: discord.PCMAudio:5 of msgid "" -"*file-like object* -- A file-like object that reads byte data representing " -"raw PCM." +"*file-like object* -- A file-like object that reads byte data " +"representing raw PCM." msgstr "*ファイルライクオブジェクト* -- 生のPCMを表したバイトデータを読み取るファイルライクオブジェクト。" #: discord.FFmpegPCMAudio:1 of @@ -1393,7 +1401,8 @@ msgstr "環境変数にffmpegまたはavconv実行可能ファイルがなけれ #: discord.FFmpegPCMAudio:10 of msgid "" "The input that ffmpeg will take and convert to PCM bytes. If ``pipe`` is " -"True then this is a file-like object that is passed to the stdin of ffmpeg." +"True then this is a file-like object that is passed to the stdin of " +"ffmpeg." msgstr "" #: discord.FFmpegPCMAudio:14 of @@ -1402,8 +1411,8 @@ msgstr "" #: discord.FFmpegPCMAudio:16 of msgid "" -"If true, denotes that ``source`` parameter will be passed to the stdin of " -"ffmpeg. Defaults to ``False``." +"If true, denotes that ``source`` parameter will be passed to the stdin of" +" ffmpeg. Defaults to ``False``." msgstr "" #: discord.FFmpegPCMAudio:19 of @@ -1430,8 +1439,8 @@ msgstr "" #: discord.PCMVolumeTransformer:3 of msgid "" -"This does not work on audio sources that have :meth:`AudioSource.is_opus` " -"set to ``True``." +"This does not work on audio sources that have :meth:`AudioSource.is_opus`" +" set to ``True``." msgstr "" #: discord.PCMVolumeTransformer:6 of @@ -1452,8 +1461,8 @@ msgstr "" #: discord.PCMVolumeTransformer.volume:1 of msgid "" -"Retrieves or sets the volume as a floating point percentage (e.g. 1.0 for " -"100%)." +"Retrieves or sets the volume as a floating point percentage (e.g. 1.0 for" +" 100%)." msgstr "" #: ../../api.rst:62 @@ -1481,17 +1490,17 @@ msgstr "" #: discord.opus.load_opus:16 of msgid "" "The bitness of the library must match the bitness of your python " -"interpreter. If the library is 64-bit then your python interpreter must be " -"64-bit as well. Usually if there's a mismatch in bitness then the load will " -"throw an exception." +"interpreter. If the library is 64-bit then your python interpreter must " +"be 64-bit as well. Usually if there's a mismatch in bitness then the load" +" will throw an exception." msgstr "" #: discord.opus.load_opus:23 of msgid "" -"On Windows, the .dll extension is not necessary. However, on Linux the full " -"extension is required to load the library, e.g. ``libopus.so.1``. On Linux " -"however, `find library`_ will usually find the library automatically without" -" you having to call this." +"On Windows, the .dll extension is not necessary. However, on Linux the " +"full extension is required to load the library, e.g. ``libopus.so.1``. On" +" Linux however, `find library`_ will usually find the library " +"automatically without you having to call this." msgstr "" #: discord.opus.load_opus:28 of @@ -1524,17 +1533,18 @@ msgstr "この項目では :class:`Client` が受け取る様々なイベント #: ../../api.rst:75 msgid "" -"There are two ways to register an event, the first way is through the use of" -" :meth:`Client.event`. The second way is through subclassing :class:`Client`" -" and overriding the specific events. For example: ::" +"There are two ways to register an event, the first way is through the use" +" of :meth:`Client.event`. The second way is through subclassing " +":class:`Client` and overriding the specific events. For example: ::" msgstr "" -"イベントを登録する方法は二通りあります。一つ目は :meth:`Client.event` を使用する方法です。二つ目は :class:`Client`" -" を継承してサブクラスを作り、イベントをオーバーライドする方法です。この方法を用いた場合は以下のようになります。" +"イベントを登録する方法は二通りあります。一つ目は :meth:`Client.event` を使用する方法です。二つ目は " +":class:`Client` を継承してサブクラスを作り、イベントをオーバーライドする方法です。この方法を用いた場合は以下のようになります。" #: ../../api.rst:90 msgid "" -"If an event handler raises an exception, :func:`on_error` will be called to " -"handle it, which defaults to print a traceback and ignoring the exception." +"If an event handler raises an exception, :func:`on_error` will be called " +"to handle it, which defaults to print a traceback and ignoring the " +"exception." msgstr "" "イベントハンドラが例外を発生させると、それを処理するために :func:`on_error` が呼び出されます。 " "デフォルトではトレースバックが出力され、例外は無視されます。" @@ -1542,16 +1552,17 @@ msgstr "" #: ../../api.rst:95 msgid "" "All the events must be a |corourl|_. If they aren't, then you might get " -"unexpected errors. In order to turn a function into a coroutine they must be" -" ``async def`` functions." +"unexpected errors. In order to turn a function into a coroutine they must" +" be ``async def`` functions." msgstr "" "すべてのイベントは |corourl|_ である必要があります。 |corourl|_ " "でない場合、予期せぬエラーが発生する可能性があります。関数をコルーチンにするには、関数定義の際に ``async def`` を使用してください。" #: ../../api.rst:101 msgid "" -"Called when the client has successfully connected to Discord. This is not " -"the same as the client being fully prepared, see :func:`on_ready` for that." +"Called when the client has successfully connected to Discord. This is not" +" the same as the client being fully prepared, see :func:`on_ready` for " +"that." msgstr "" "クライアントがDiscordに正常に接続できた際に呼び出されます。クライアントの準備が完了していることと同義ではありません。 " ":func:`on_ready` を参照してください。" @@ -1563,14 +1574,14 @@ msgstr ":func:`on_ready` での警告も適用されます。" #: ../../api.rst:108 msgid "" "Called when the client is done preparing the data received from Discord. " -"Usually after login is successful and the :attr:`Client.guilds` and co. are " -"filled up." +"Usually after login is successful and the :attr:`Client.guilds` and co. " +"are filled up." msgstr "" #: ../../api.rst:113 msgid "" -"This function is not guaranteed to be the first event called. Likewise, this" -" function is **not** guaranteed to only be called once. This library " +"This function is not guaranteed to be the first event called. Likewise, " +"this function is **not** guaranteed to only be called once. This library " "implements reconnection logic and thus will end up calling this event " "whenever a RESUME request fails." msgstr "" @@ -1595,13 +1606,12 @@ msgstr "クライアントがセッションを再開したときに呼び出さ #: ../../api.rst:131 msgid "" -"Usually when an event raises an uncaught exception, a traceback is printed " -"to stderr and the exception is ignored. If you want to change this behaviour" -" and handle the exception for whatever reason yourself, this event can be " -"overridden. Which, when done, will supress the default action of printing " -"the traceback." -msgstr "" -"通常、イベントがキャッチされない例外が発生すると、トレースバックがstderrに出力され、例外は無視されます。この動作を変更し、何らかの理由で例外を処理したい場合は、このイベントをオーバーライドすることができます。これを行った場合、トレースバックを出力する動作が行われなくなります。" +"Usually when an event raises an uncaught exception, a traceback is " +"printed to stderr and the exception is ignored. If you want to change " +"this behaviour and handle the exception for whatever reason yourself, " +"this event can be overridden. Which, when done, will supress the default " +"action of printing the traceback." +msgstr "通常、イベントがキャッチされない例外が発生すると、トレースバックがstderrに出力され、例外は無視されます。この動作を変更し、何らかの理由で例外を処理したい場合は、このイベントをオーバーライドすることができます。これを行った場合、トレースバックを出力する動作が行われなくなります。" #: ../../api.rst:137 msgid "" @@ -1611,13 +1621,14 @@ msgstr "発生した例外の情報と例外自体は ``sys.exc_info()`` の標 #: ../../api.rst:140 msgid "" -"If you want exception to propogate out of the :class:`Client` class you can " -"define an ``on_error`` handler consisting of a single empty ``raise`` " -"statement. Exceptions raised by ``on_error`` will not be handled in any way" -" by :class:`Client`." +"If you want exception to propogate out of the :class:`Client` class you " +"can define an ``on_error`` handler consisting of a single empty ``raise``" +" statement. Exceptions raised by ``on_error`` will not be handled in any" +" way by :class:`Client`." msgstr "" ":class:`Client` からの例外を伝えたい場合は、空の ``raise`` からなる ``on_error`` " -"ハンドラを定義することができます。しかし、 ``on_error`` にで発生した例外は :class:`Client` で処理されることはありません。" +"ハンドラを定義することができます。しかし、 ``on_error`` にで発生した例外は :class:`Client` " +"で処理されることはありません。" #: ../../api.rst:145 msgid "The name of the event that raised the exception." @@ -1634,40 +1645,40 @@ msgstr "" #: ../../api.rst:153 msgid "" "Called whenever a message is received from the WebSocket, before it's " -"processed. This event is always dispatched when a message is received and " -"the passed data is not processed in any way." +"processed. This event is always dispatched when a message is received and" +" the passed data is not processed in any way." msgstr "" #: ../../api.rst:157 ../../api.rst:175 msgid "" -"This is only really useful for grabbing the WebSocket stream and debugging " -"purposes." +"This is only really useful for grabbing the WebSocket stream and " +"debugging purposes." msgstr "" #: ../../api.rst:162 ../../api.rst:180 msgid "" -"This is only for the messages received from the client WebSocket. The voice " -"WebSocket will not trigger this event." +"This is only for the messages received from the client WebSocket. The " +"voice WebSocket will not trigger this event." msgstr "" #: ../../api.rst:165 msgid "" -"The message passed in from the WebSocket library. Could be :class:`bytes` " -"for a binary message or :class:`str` for a regular message." +"The message passed in from the WebSocket library. Could be :class:`bytes`" +" for a binary message or :class:`str` for a regular message." msgstr "" #: ../../api.rst:171 msgid "" -"Called whenever a send operation is done on the WebSocket before the message" -" is sent. The passed parameter is the message that is being sent to the " -"WebSocket." +"Called whenever a send operation is done on the WebSocket before the " +"message is sent. The passed parameter is the message that is being sent " +"to the WebSocket." msgstr "" #: ../../api.rst:183 msgid "" -"The message that is about to be passed on to the WebSocket library. It can " -"be :class:`bytes` to denote a binary message or :class:`str` to denote a " -"regular text message." +"The message that is about to be passed on to the WebSocket library. It " +"can be :class:`bytes` to denote a binary message or :class:`str` to " +"denote a regular text message." msgstr "" #: ../../api.rst:189 @@ -1676,15 +1687,15 @@ msgstr "" #: ../../api.rst:191 msgid "" -"The ``channel`` parameter can be a :class:`abc.Messageable` instance. Which " -"could either be :class:`TextChannel`, :class:`GroupChannel`, or " +"The ``channel`` parameter can be a :class:`abc.Messageable` instance. " +"Which could either be :class:`TextChannel`, :class:`GroupChannel`, or " ":class:`DMChannel`." msgstr "" #: ../../api.rst:195 msgid "" -"If the ``channel`` is a :class:`TextChannel` then the ``user`` parameter is " -"a :class:`Member`, otherwise it is a :class:`User`." +"If the ``channel`` is a :class:`TextChannel` then the ``user`` parameter " +"is a :class:`Member`, otherwise it is a :class:`User`." msgstr "" #: ../../api.rst:198 @@ -1705,10 +1716,11 @@ msgstr "" #: ../../api.rst:208 msgid "" -"Your bot's own messages and private messages are sent through this event. " -"This can lead cases of 'recursion' depending on how your bot was programmed." -" If you want the bot to not reply to itself, consider checking the user IDs." -" Note that :class:`~ext.commands.Bot` does not have this problem." +"Your bot's own messages and private messages are sent through this event." +" This can lead cases of 'recursion' depending on how your bot was " +"programmed. If you want the bot to not reply to itself, consider checking" +" the user IDs. Note that :class:`~ext.commands.Bot` does not have this " +"problem." msgstr "" #: ../../api.rst:214 @@ -1718,7 +1730,7 @@ msgstr "" #: ../../api.rst:218 msgid "" "Called when a message is deleted. If the message is not found in the " -":attr:`Client.messages` cache, then these events will not be called. This " +"internal message cache, then these events will not be called. This " "happens if the message is too old or the client is participating in high " "traffic guilds. To fix this, increase the ``max_messages`` option of " ":class:`Client`." @@ -1730,8 +1742,9 @@ msgstr "削除されたメッセージの :class:`Message` インスタンス。 #: ../../api.rst:228 msgid "" -"Called when a message is deleted. Unlike :func:`on_message_delete`, this is " -"called regardless of the message being in the internal message cache or not." +"Called when a message is deleted. Unlike :func:`on_message_delete`, this " +"is called regardless of the message being in the internal message cache " +"or not." msgstr "" #: ../../api.rst:231 ../../api.rst:239 ../../api.rst:275 ../../api.rst:296 @@ -1741,15 +1754,15 @@ msgstr "" #: ../../api.rst:236 msgid "" -"Called when a bulk delete is triggered. This event is called regardless of " -"the message IDs being in the internal message cache or not." +"Called when a bulk delete is triggered. This event is called regardless " +"of the message IDs being in the internal message cache or not." msgstr "" #: ../../api.rst:244 msgid "" -"Called when a :class:`Message` receives an update event. If the message is " -"not found in the :attr:`Client.messages` cache, then these events will not " -"be called. This happens if the message is too old or the client is " +"Called when a :class:`Message` receives an update event. If the message " +"is not found in the internal message cache, then these events will not be" +" called. This happens if the message is too old or the client is " "participating in high traffic guilds. To fix this, increase the " "``max_messages`` option of :class:`Client`." msgstr "" @@ -1777,8 +1790,7 @@ msgid "" msgstr "" #: ../../api.rst:257 -msgid "" -"A call message has received an update to its participants or ending time." +msgid "A call message has received an update to its participants or ending time." msgstr "" #: ../../api.rst:259 @@ -1797,8 +1809,8 @@ msgstr "" #: ../../api.rst:267 msgid "" -"Due to the inherently raw nature of this event, the data parameter coincides" -" with the raw data given by the `gateway " +"Due to the inherently raw nature of this event, the data parameter " +"coincides with the raw data given by the `gateway " "`_" msgstr "" @@ -1806,15 +1818,15 @@ msgstr "" msgid "" "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 denotes an \"embed\" only " -"edit, which is an edit in which only the embeds are updated by the Discord " -"embed server." +"when the ``'content'`` key is inaccessible. This denotes an \"embed\" " +"only edit, which is an edit in which only the embeds are updated by the " +"Discord embed server." msgstr "" #: ../../api.rst:280 msgid "" "Called when a message has a reaction added to it. Similar to " -"on_message_edit, if the message is not found in the :attr:`Client.messages` " +"on_message_edit, if the message is not found in the internal message " "cache, then this event will not be called." msgstr "" @@ -1834,39 +1846,39 @@ msgstr "" #: ../../api.rst:293 msgid "" -"Called when a message has a reaction added. Unlike :func:`on_reaction_add`, " -"this is called regardless of the state of the internal message cache." +"Called when a message has a reaction added. Unlike " +":func:`on_reaction_add`, this is called regardless of the state of the " +"internal message cache." msgstr "" #: ../../api.rst:301 msgid "" "Called when a message has a reaction removed from it. Similar to " -"on_message_edit, if the message is not found in the :attr:`Client.messages` " +"on_message_edit, if the message is not found in the internal message " "cache, then this event will not be called." msgstr "" #: ../../api.rst:307 -msgid "" -"To get the message being reacted, access it via :attr:`Reaction.message`." +msgid "To get the message being reacted, access it via :attr:`Reaction.message`." msgstr "" #: ../../api.rst:310 -msgid "" -"A :class:`User` or :class:`Member` of the user who removed the reaction." -msgstr "" +#, fuzzy +msgid "A :class:`User` or :class:`Member` of the user whose reaction was removed." +msgstr "ユーザーがブロックしている :class:`User` の :class:`list` が返ります。" #: ../../api.rst:314 msgid "" "Called when a reaction has a reaction removed. Unlike " -":func:`on_reaction_remove`, this is called regardless of the state of the " -"internal message cache." +":func:`on_reaction_remove`, this is called regardless of the state of the" +" internal message cache." msgstr "" #: ../../api.rst:322 msgid "" "Called when a message has all its reactions removed from it. Similar to " -":func:`on_message_edit`, if the message is not found in the " -":attr:`Client.messages` cache, then this event will not be called." +":func:`on_message_edit`, if the message is not found in the internal " +"message cache, then this event will not be called." msgstr "" #: ../../api.rst:326 @@ -1893,8 +1905,7 @@ msgid "The :class:`abc.PrivateChannel` that got created or deleted." msgstr "" #: ../../api.rst:346 -msgid "" -"Called whenever a private group DM is updated. e.g. changed name or topic." +msgid "Called whenever a private group DM is updated. e.g. changed name or topic." msgstr "" #: ../../api.rst:348 @@ -1906,8 +1917,7 @@ msgid "The :class:`GroupChannel` that got updated with the updated info." msgstr "" #: ../../api.rst:353 -msgid "" -"Called whenever a message is pinned or unpinned from a private channel." +msgid "Called whenever a message is pinned or unpinned from a private channel." msgstr "" #: ../../api.rst:355 @@ -1956,297 +1966,308 @@ msgstr "" #: ../../api.rst:385 msgid "" +"Called whenever an integration is created, modified, or removed from a " +"guild." +msgstr "" + +#: ../../api.rst:387 +msgid "The :class:`Guild` that had its integrations updated." +msgstr "" + +#: ../../api.rst:391 +msgid "" "Called whenever a webhook is created, modified, or removed from a guild " "channel." msgstr "" -#: ../../api.rst:387 +#: ../../api.rst:393 msgid "The :class:`abc.GuildChannel` that had its webhooks updated." msgstr "" -#: ../../api.rst:392 +#: ../../api.rst:398 msgid "Called when a :class:`Member` leaves or joins a :class:`Guild`." msgstr "" -#: ../../api.rst:394 +#: ../../api.rst:400 msgid "The :class:`Member` that joined or left." msgstr "" -#: ../../api.rst:398 +#: ../../api.rst:404 msgid "Called when a :class:`Member` updates their profile." msgstr "" -#: ../../api.rst:400 +#: ../../api.rst:406 msgid "This is called when one or more of the following things change:" msgstr "" -#: ../../api.rst:402 +#: ../../api.rst:408 msgid "status" msgstr "" -#: ../../api.rst:403 +#: ../../api.rst:409 msgid "game playing" msgstr "" -#: ../../api.rst:404 +#: ../../api.rst:410 msgid "avatar" msgstr "" -#: ../../api.rst:405 +#: ../../api.rst:411 msgid "nickname" msgstr "" -#: ../../api.rst:406 discord.Member.edit:16 of +#: ../../api.rst:412 discord.Member.edit:16 of msgid "roles" msgstr "" -#: ../../api.rst:408 +#: ../../api.rst:414 msgid "The :class:`Member` that updated their profile with the old info." msgstr "" -#: ../../api.rst:409 +#: ../../api.rst:415 msgid "The :class:`Member` that updated their profile with the updated info." msgstr "" -#: ../../api.rst:413 +#: ../../api.rst:419 msgid "" "Called when a :class:`Guild` is either created by the :class:`Client` or " "when the :class:`Client` joins a guild." msgstr "" -#: ../../api.rst:416 +#: ../../api.rst:422 msgid "The :class:`Guild` that was joined." msgstr "" -#: ../../api.rst:420 +#: ../../api.rst:426 msgid "Called when a :class:`Guild` is removed from the :class:`Client`." msgstr "" -#: ../../api.rst:422 +#: ../../api.rst:428 msgid "This happens through, but not limited to, these circumstances:" msgstr "" -#: ../../api.rst:424 +#: ../../api.rst:430 msgid "The client got banned." msgstr "" -#: ../../api.rst:425 +#: ../../api.rst:431 msgid "The client got kicked." msgstr "" -#: ../../api.rst:426 +#: ../../api.rst:432 msgid "The client left the guild." msgstr "" -#: ../../api.rst:427 +#: ../../api.rst:433 msgid "The client or the guild owner deleted the guild." msgstr "" -#: ../../api.rst:429 +#: ../../api.rst:435 msgid "" "In order for this event to be invoked then the :class:`Client` must have " "been part of the guild to begin with. (i.e. it is part of " ":attr:`Client.guilds`)" msgstr "" -#: ../../api.rst:432 +#: ../../api.rst:438 msgid "The :class:`Guild` that got removed." msgstr "" -#: ../../api.rst:436 +#: ../../api.rst:442 msgid "Called when a :class:`Guild` updates, for example:" msgstr "" -#: ../../api.rst:438 +#: ../../api.rst:444 msgid "Changed name" msgstr "" -#: ../../api.rst:439 +#: ../../api.rst:445 msgid "Changed AFK channel" msgstr "" -#: ../../api.rst:440 +#: ../../api.rst:446 msgid "Changed AFK timeout" msgstr "" -#: ../../api.rst:441 +#: ../../api.rst:447 msgid "etc" msgstr "" -#: ../../api.rst:443 +#: ../../api.rst:449 msgid "The :class:`Guild` prior to being updated." msgstr "" -#: ../../api.rst:444 +#: ../../api.rst:450 msgid "The :class:`Guild` after being updated." msgstr "" -#: ../../api.rst:449 +#: ../../api.rst:455 msgid "Called when a :class:`Guild` creates or deletes a new :class:`Role`." msgstr "" -#: ../../api.rst:451 +#: ../../api.rst:457 msgid "To get the guild it belongs to, use :attr:`Role.guild`." msgstr "" -#: ../../api.rst:453 +#: ../../api.rst:459 msgid "The :class:`Role` that was created or deleted." msgstr "" -#: ../../api.rst:457 +#: ../../api.rst:463 msgid "Called when a :class:`Role` is changed guild-wide." msgstr "" -#: ../../api.rst:459 +#: ../../api.rst:465 msgid "The :class:`Role` that updated with the old info." msgstr "" -#: ../../api.rst:460 +#: ../../api.rst:466 msgid "The :class:`Role` that updated with the updated info." msgstr "" -#: ../../api.rst:464 +#: ../../api.rst:470 msgid "Called when a :class:`Guild` adds or removes :class:`Emoji`." msgstr "" -#: ../../api.rst:466 +#: ../../api.rst:472 msgid "The :class:`Guild` who got their emojis updated." msgstr "" -#: ../../api.rst:467 +#: ../../api.rst:473 msgid "A list of :class:`Emoji` before the update." msgstr "" -#: ../../api.rst:468 +#: ../../api.rst:474 msgid "A list of :class:`Emoji` after the update." msgstr "" -#: ../../api.rst:473 +#: ../../api.rst:479 msgid "" -"Called when a guild becomes available or unavailable. The guild must have " -"existed in the :attr:`Client.guilds` cache." +"Called when a guild becomes available or unavailable. The guild must have" +" existed in the :attr:`Client.guilds` cache." msgstr "" -#: ../../api.rst:476 +#: ../../api.rst:482 msgid "The :class:`Guild` that has changed availability." msgstr "" -#: ../../api.rst:480 +#: ../../api.rst:486 msgid "Called when a :class:`Member` changes their :class:`VoiceState`." msgstr "" -#: ../../api.rst:482 +#: ../../api.rst:488 msgid "" -"The following, but not limited to, examples illustrate when this event is " -"called:" +"The following, but not limited to, examples illustrate when this event is" +" called:" msgstr "" -#: ../../api.rst:484 +#: ../../api.rst:490 msgid "A member joins a voice room." msgstr "" -#: ../../api.rst:485 +#: ../../api.rst:491 msgid "A member leaves a voice room." msgstr "" -#: ../../api.rst:486 +#: ../../api.rst:492 msgid "A member is muted or deafened by their own accord." msgstr "" -#: ../../api.rst:487 +#: ../../api.rst:493 msgid "A member is muted or deafened by a guild administrator." msgstr "" -#: ../../api.rst:489 +#: ../../api.rst:495 msgid "The :class:`Member` whose voice states changed." msgstr "" -#: ../../api.rst:490 +#: ../../api.rst:496 msgid "The :class:`VoiceState` prior to the changes." msgstr "" -#: ../../api.rst:491 +#: ../../api.rst:497 msgid "The :class:`VoiceState` after to the changes." msgstr "" -#: ../../api.rst:495 +#: ../../api.rst:501 msgid "Called when user gets banned from a :class:`Guild`." msgstr "" -#: ../../api.rst:497 +#: ../../api.rst:503 msgid "The :class:`Guild` the user got banned from." msgstr "" -#: ../../api.rst:498 +#: ../../api.rst:504 msgid "" "The user that got banned. Can be either :class:`User` or :class:`Member` " "depending if the user was in the guild or not at the time of removal." msgstr "" -#: ../../api.rst:504 +#: ../../api.rst:510 msgid "Called when a :class:`User` gets unbanned from a :class:`Guild`." msgstr "" -#: ../../api.rst:506 +#: ../../api.rst:512 msgid "The :class:`Guild` the user got unbanned from." msgstr "" -#: ../../api.rst:507 +#: ../../api.rst:513 msgid "The :class:`User` that got unbanned." msgstr "" -#: ../../api.rst:512 +#: ../../api.rst:518 msgid "" -"Called when someone joins or leaves a group, i.e. a :class:`PrivateChannel` " -"with a :attr:`PrivateChannel.type` of :attr:`ChannelType.group`." +"Called when someone joins or leaves a group, i.e. a " +":class:`PrivateChannel` with a :attr:`PrivateChannel.type` of " +":attr:`ChannelType.group`." msgstr "" -#: ../../api.rst:515 +#: ../../api.rst:521 msgid "The group that the user joined or left." msgstr "" -#: ../../api.rst:516 +#: ../../api.rst:522 msgid "The user that joined or left." msgstr "" -#: ../../api.rst:521 +#: ../../api.rst:527 msgid "" "Called when a :class:`Relationship` is added or removed from the " ":class:`ClientUser`." msgstr "" -#: ../../api.rst:524 +#: ../../api.rst:530 msgid "The relationship that was added or removed." msgstr "" -#: ../../api.rst:528 +#: ../../api.rst:534 msgid "" -"Called when a :class:`Relationship` is updated, e.g. when you block a friend" -" or a friendship is accepted." +"Called when a :class:`Relationship` is updated, e.g. when you block a " +"friend or a friendship is accepted." msgstr "" -#: ../../api.rst:531 +#: ../../api.rst:537 msgid "The previous relationship status." msgstr "" -#: ../../api.rst:532 +#: ../../api.rst:538 msgid "The updated relationship status." msgstr "" -#: ../../api.rst:537 +#: ../../api.rst:543 msgid "Utility Functions" msgstr "ユーティリティ関数" #: discord.utils.find:1 of msgid "" -"A helper to return the first element found in the sequence that meets the " -"predicate. For example: ::" +"A helper to return the first element found in the sequence that meets the" +" predicate. For example: ::" msgstr "" #: discord.utils.find:6 of msgid "" -"would find the first :class:`Member` whose name is 'Mighty' and return it. " -"If an entry is not found, then ``None`` is returned." +"would find the first :class:`Member` whose name is 'Mighty' and return " +"it. If an entry is not found, then ``None`` is returned." msgstr "" #: discord.utils.find:9 of @@ -2265,16 +2286,16 @@ msgstr "" #: discord.utils.get:1 of msgid "" -"A helper that returns the first element in the iterable that meets all the " -"traits passed in ``attrs``. This is an alternative for " +"A helper that returns the first element in the iterable that meets all " +"the traits passed in ``attrs``. This is an alternative for " ":func:`discord.utils.find`." msgstr "" #: discord.utils.get:5 of msgid "" -"When multiple attributes are specified, they are checked using logical AND, " -"not logical OR. Meaning they have to meet every attribute passed in and not " -"one of them." +"When multiple attributes are specified, they are checked using logical " +"AND, not logical OR. Meaning they have to meet every attribute passed in " +"and not one of them." msgstr "" #: discord.utils.get:9 of @@ -2325,8 +2346,8 @@ msgstr "" #: discord.utils.oauth_url:6 of msgid "" -"The permissions you're requesting. If not given then you won't be requesting" -" any permissions." +"The permissions you're requesting. If not given then you won't be " +"requesting any permissions." msgstr "" #: discord.utils.oauth_url:9 of @@ -2337,1008 +2358,1037 @@ msgstr "" msgid "An optional valid redirect URI." msgstr "" -#: ../../api.rst:548 +#: ../../api.rst:554 msgid "Application Info" msgstr "アプリケーション情報" -#: ../../api.rst:552 +#: ../../api.rst:558 msgid "A namedtuple representing the bot's application info." msgstr "Botのアプリケーション情報を表す名前付きタプル。" -#: ../../api.rst:556 +#: ../../api.rst:562 msgid "The application's ``client_id``." msgstr "アプリケーションの ``client_id`` 。" -#: ../../api.rst:559 +#: ../../api.rst:565 msgid "The application's name." msgstr "アプリケーションの名前。" -#: ../../api.rst:562 +#: ../../api.rst:568 msgid "The application's description" msgstr "アプリケーションの説明。" -#: ../../api.rst:565 +#: ../../api.rst:571 msgid "The application's icon hash if it exists, ``None`` otherwise." msgstr "存在する場合はアプリケーションのアイコンのハッシュを、それ以外の場合は ``None`` を返します。" -#: ../../api.rst:568 +#: ../../api.rst:574 msgid "A property that retrieves the application's icon URL if it exists." msgstr "存在する場合に、アプリケーションのアイコンのURLを返すプロパティ。" -#: ../../api.rst:570 +#: ../../api.rst:576 msgid "If it doesn't exist an empty string is returned." msgstr "存在しない場合は、空の文字列を返します。" -#: ../../api.rst:573 +#: ../../api.rst:579 msgid "" "The owner of the application. This is a :class:`User` instance with the " "owner's information at the time of the call." msgstr "アプリケーションの所有者。これはアプリケーションの所有者の情報を持った :class:`User` インスタンスが返されます。" -#: ../../api.rst:578 +#: ../../api.rst:584 msgid "" -"``True`` if the bot is considered as public, else ``False``. Determines if " -"the bot can be invited by anyone or if it is locked to the token owner. " -"Correspond to the \"Public bot\" box in the token settings." +"``True`` if the bot is considered as public, else ``False``. Determines " +"if the bot can be invited by anyone or if it is locked to the token " +"owner. Correspond to the \"Public bot\" box in the token settings." msgstr "" "Botが公開されている場合は ``True`` を、そうでない場合は ``False`` " -"を返します。Botを誰でも招待できるか、または所有者によってロックされているかを表します。これはトークンの設定画面にある \"Public bot\" " -"と対応しています。" +"を返します。Botを誰でも招待できるか、または所有者によってロックされているかを表します。これはトークンの設定画面にある \"Public " +"bot\" と対応しています。" -#: ../../api.rst:585 +#: ../../api.rst:591 msgid "" -"``True`` if the bot requires code grant, else ``False``. Correspond to the " -"\"Bot requires code grant\" box in the token settings." +"``True`` if the bot requires code grant, else ``False``. Correspond to " +"the \"Bot requires code grant\" box in the token settings." msgstr "" -#: ../../api.rst:591 +#: ../../api.rst:597 msgid "" -"Returns an array of RPC origin URL strings, if RPC is enabled. If RPC isn't " -"enabled, returns ``None``." +"Returns an array of RPC origin URL strings, if RPC is enabled. If RPC " +"isn't enabled, returns ``None``." msgstr "" -#: ../../api.rst:595 +#: ../../api.rst:601 msgid "Profile" msgstr "" -#: ../../api.rst:599 +#: ../../api.rst:605 msgid "A namedtuple representing a user's Discord public profile." msgstr "" -#: ../../api.rst:603 +#: ../../api.rst:609 msgid "The :class:`User` the profile belongs to." msgstr "" -#: ../../api.rst:606 +#: ../../api.rst:612 msgid "A boolean indicating if the user has premium (i.e. Discord Nitro)." msgstr "" -#: ../../api.rst:609 +#: ../../api.rst:615 msgid "An alias for :attr:`premium`." msgstr "" -#: ../../api.rst:612 +#: ../../api.rst:618 msgid "" -"A naive UTC datetime indicating how long the user has been premium since. " -"This could be ``None`` if not applicable." +"A naive UTC datetime indicating how long the user has been premium since." +" This could be ``None`` if not applicable." msgstr "" -#: ../../api.rst:616 +#: ../../api.rst:622 msgid "A boolean indicating if the user is Discord Staff." msgstr "" -#: ../../api.rst:619 +#: ../../api.rst:625 msgid "A boolean indicating if the user is a Discord Partner." msgstr "" -#: ../../api.rst:622 +#: ../../api.rst:628 +#, fuzzy +msgid "A boolean indicating if the user is a Bug Hunter." +msgstr ":class:`bool` -- ユーザーがBotであるかどうかを表します。" + +#: ../../api.rst:631 +msgid "A boolean indicating if the user has had premium before 10 October, 2018." +msgstr "" + +#: ../../api.rst:634 msgid "A boolean indicating if the user is in Discord HypeSquad." msgstr "" -#: ../../api.rst:625 +#: ../../api.rst:637 msgid "A list of :class:`HypeSquadHouse` that the user is in." msgstr "" -#: ../../api.rst:628 +#: ../../api.rst:640 msgid "" -"A list of :class:`Guild` that the :class:`ClientUser` shares with this user." +"A list of :class:`Guild` that the :class:`ClientUser` shares with this " +"user." msgstr "" -#: ../../api.rst:632 +#: ../../api.rst:644 msgid "A list of dict objects indicating the accounts the user has connected." msgstr "" -#: ../../api.rst:634 +#: ../../api.rst:646 msgid "An example entry can be seen below: ::" msgstr "" -#: ../../api.rst:641 +#: ../../api.rst:653 msgid "Enumerations" msgstr "列挙型" -#: ../../api.rst:643 +#: ../../api.rst:655 msgid "" -"The API provides some enumerations for certain types of strings to avoid the" -" API from being stringly typed in case the strings change in the future." +"The API provides some enumerations for certain types of strings to avoid " +"the API from being stringly typed in case the strings change in the " +"future." msgstr "" -#: ../../api.rst:646 +#: ../../api.rst:658 msgid "All enumerations are subclasses of `enum`_." msgstr "すべての列挙型が `enum`_ のサブクラスです。" -#: ../../api.rst:652 +#: ../../api.rst:664 msgid "Specifies the type of channel." msgstr "特定チャンネルのチャンネルタイプ。" -#: ../../api.rst:656 +#: ../../api.rst:668 msgid "A text channel." msgstr "テキストチャンネル。" -#: ../../api.rst:659 +#: ../../api.rst:671 msgid "A voice channel." msgstr "ボイスチャンネル。" -#: ../../api.rst:662 +#: ../../api.rst:674 msgid "A private text channel. Also called a direct message." msgstr "" -#: ../../api.rst:665 +#: ../../api.rst:677 msgid "A private group text channel." msgstr "" -#: ../../api.rst:669 +#: ../../api.rst:681 msgid "" -"Specifies the type of :class:`Message`. This is used to denote if a message " -"is to be interpreted as a system message or a regular message." +"Specifies the type of :class:`Message`. This is used to denote if a " +"message is to be interpreted as a system message or a regular message." msgstr "" -#: ../../api.rst:674 +#: ../../api.rst:686 msgid "The default message type. This is the same as regular messages." msgstr "" -#: ../../api.rst:677 +#: ../../api.rst:689 msgid "" "The system message when a recipient is added to a group private message, " "i.e. a private channel of type :attr:`ChannelType.group`." msgstr "" -#: ../../api.rst:681 +#: ../../api.rst:693 msgid "" -"The system message when a recipient is removed from a group private message," -" i.e. a private channel of type :attr:`ChannelType.group`." +"The system message when a recipient is removed from a group private " +"message, i.e. a private channel of type :attr:`ChannelType.group`." msgstr "" -#: ../../api.rst:685 +#: ../../api.rst:697 msgid "" -"The system message denoting call state, e.g. missed call, started call, etc." +"The system message denoting call state, e.g. missed call, started call, " +"etc." msgstr "" -#: ../../api.rst:689 +#: ../../api.rst:701 msgid "The system message denoting that a channel's name has been changed." msgstr "" -#: ../../api.rst:692 +#: ../../api.rst:704 msgid "The system message denoting that a channel's icon has been changed." msgstr "" -#: ../../api.rst:695 +#: ../../api.rst:707 msgid "" "The system message denoting that a pinned message has been added to a " "channel." msgstr "" -#: ../../api.rst:698 +#: ../../api.rst:710 msgid "The system message denoting that a new member has joined a Guild." msgstr "" -#: ../../api.rst:702 +#: ../../api.rst:714 msgid "" "Specifies the type of :class:`Activity`. This is used to check how to " "interpret the activity itself." msgstr "" -#: ../../api.rst:707 +#: ../../api.rst:719 msgid "An unknown activity type. This should generally not happen." msgstr "" -#: ../../api.rst:710 +#: ../../api.rst:722 msgid "A \"Playing\" activity type." msgstr "" -#: ../../api.rst:713 +#: ../../api.rst:725 msgid "A \"Streaming\" activity type." msgstr "" -#: ../../api.rst:716 +#: ../../api.rst:728 msgid "A \"Listening\" activity type." msgstr "" -#: ../../api.rst:719 +#: ../../api.rst:731 msgid "A \"Watching\" activity type." msgstr "" -#: ../../api.rst:723 +#: ../../api.rst:735 msgid "Specifies the HypeSquad house a user belongs to." msgstr "" -#: ../../api.rst:727 +#: ../../api.rst:739 msgid "The \"Bravery\" house." msgstr "" -#: ../../api.rst:730 +#: ../../api.rst:742 msgid "The \"Brilliance\" house." msgstr "" -#: ../../api.rst:733 +#: ../../api.rst:745 msgid "The \"Balance\" house." msgstr "" -#: ../../api.rst:737 +#: ../../api.rst:749 msgid "Specifies the region a voice server belongs to." msgstr "" -#: ../../api.rst:741 +#: ../../api.rst:753 msgid "The Amsterdam region." msgstr "" -#: ../../api.rst:744 +#: ../../api.rst:756 msgid "The Brazil region." msgstr "" -#: ../../api.rst:747 +#: ../../api.rst:759 msgid "The EU Central region." msgstr "" -#: ../../api.rst:750 +#: ../../api.rst:762 msgid "The EU West region." msgstr "" -#: ../../api.rst:753 +#: ../../api.rst:765 msgid "The Frankfurt region." msgstr "" -#: ../../api.rst:756 +#: ../../api.rst:768 msgid "The Hong Kong region." msgstr "" -#: ../../api.rst:759 +#: ../../api.rst:771 msgid "The Japan region." msgstr "" -#: ../../api.rst:762 +#: ../../api.rst:774 msgid "The London region." msgstr "" -#: ../../api.rst:765 +#: ../../api.rst:777 msgid "The Russia region." msgstr "" -#: ../../api.rst:768 +#: ../../api.rst:780 msgid "The Singapore region." msgstr "" -#: ../../api.rst:771 +#: ../../api.rst:783 msgid "The South Africa region." msgstr "" -#: ../../api.rst:774 +#: ../../api.rst:786 msgid "The Sydney region." msgstr "" -#: ../../api.rst:777 +#: ../../api.rst:789 msgid "The US Central region." msgstr "" -#: ../../api.rst:780 +#: ../../api.rst:792 msgid "The US East region." msgstr "" -#: ../../api.rst:783 +#: ../../api.rst:795 msgid "The US South region." msgstr "" -#: ../../api.rst:786 +#: ../../api.rst:798 msgid "The US West region." msgstr "" -#: ../../api.rst:789 +#: ../../api.rst:801 msgid "The Amsterdam region for VIP guilds." msgstr "" -#: ../../api.rst:792 +#: ../../api.rst:804 msgid "The US East region for VIP guilds." msgstr "" -#: ../../api.rst:795 +#: ../../api.rst:807 msgid "The US West region for VIP guilds." msgstr "" -#: ../../api.rst:799 +#: ../../api.rst:811 msgid "" -"Specifies a :class:`Guild`\\'s verification level, which is the criteria in " -"which a member must meet before being able to send messages to the guild." +"Specifies a :class:`Guild`\\'s verification level, which is the criteria " +"in which a member must meet before being able to send messages to the " +"guild." msgstr "" -#: ../../api.rst:806 +#: ../../api.rst:818 msgid "Checks if two verification levels are equal." msgstr "" -#: ../../api.rst:809 +#: ../../api.rst:821 msgid "Checks if two verification levels are not equal." msgstr "" -#: ../../api.rst:812 +#: ../../api.rst:824 msgid "Checks if a verification level is higher than another." msgstr "" -#: ../../api.rst:815 +#: ../../api.rst:827 msgid "Checks if a verification level is lower than another." msgstr "" -#: ../../api.rst:818 +#: ../../api.rst:830 msgid "Checks if a verification level is higher or equal to another." msgstr "" -#: ../../api.rst:821 +#: ../../api.rst:833 msgid "Checks if a verification level is lower or equal to another." msgstr "" -#: ../../api.rst:825 +#: ../../api.rst:837 msgid "No criteria set." msgstr "" -#: ../../api.rst:828 +#: ../../api.rst:840 msgid "Member must have a verified email on their Discord account." msgstr "" -#: ../../api.rst:831 +#: ../../api.rst:843 msgid "" -"Member must have a verified email and be registered on Discord for more than" -" five minutes." +"Member must have a verified email and be registered on Discord for more " +"than five minutes." msgstr "" -#: ../../api.rst:835 +#: ../../api.rst:847 msgid "" -"Member must have a verified email, be registered on Discord for more than " -"five minutes, and be a member of the guild itself for more than ten minutes." +"Member must have a verified email, be registered on Discord for more than" +" five minutes, and be a member of the guild itself for more than ten " +"minutes." msgstr "" -#: ../../api.rst:840 +#: ../../api.rst:852 msgid "An alias for :attr:`high`." msgstr "" -#: ../../api.rst:843 +#: ../../api.rst:855 msgid "Member must have a verified phone on their Discord account." msgstr "" -#: ../../api.rst:847 +#: ../../api.rst:859 msgid "An alias for :attr:`extreme`." msgstr "" -#: ../../api.rst:851 +#: ../../api.rst:863 msgid "" -"Specifies a :class:`Guild`\\'s explicit content filter, which is the machine" -" learning algorithms that Discord uses to detect if an image contains " -"pornography or otherwise explicit content." +"Specifies whether a :class:`Guild` has notifications on for all messages " +"or mentions only by default." msgstr "" -#: ../../api.rst:859 +#: ../../api.rst:867 +msgid "" +"Members receive notifications for every message regardless of them being " +"mentioned." +msgstr "" + +#: ../../api.rst:870 +msgid "Members receive notifications for messages they are mentioned in." +msgstr "" + +#: ../../api.rst:874 +msgid "" +"Specifies a :class:`Guild`\\'s explicit content filter, which is the " +"machine learning algorithms that Discord uses to detect if an image " +"contains pornography or otherwise explicit content." +msgstr "" + +#: ../../api.rst:882 msgid "Checks if two content filter levels are equal." msgstr "" -#: ../../api.rst:862 +#: ../../api.rst:885 msgid "Checks if two content filter levels are not equal." msgstr "" -#: ../../api.rst:865 +#: ../../api.rst:888 msgid "Checks if a content filter level is higher than another." msgstr "" -#: ../../api.rst:868 +#: ../../api.rst:891 msgid "Checks if a content filter level is lower than another." msgstr "" -#: ../../api.rst:871 +#: ../../api.rst:894 msgid "Checks if a content filter level is higher or equal to another." msgstr "" -#: ../../api.rst:874 +#: ../../api.rst:897 msgid "Checks if a content filter level is lower or equal to another." msgstr "" -#: ../../api.rst:878 +#: ../../api.rst:901 msgid "The guild does not have the content filter enabled." msgstr "" -#: ../../api.rst:881 +#: ../../api.rst:904 msgid "The guild has the content filter enabled for members without a role." msgstr "" -#: ../../api.rst:884 +#: ../../api.rst:907 msgid "The guild has the content filter enabled for every member." msgstr "" -#: ../../api.rst:888 +#: ../../api.rst:911 msgid "Specifies a :class:`Member` 's status." msgstr "" -#: ../../api.rst:892 +#: ../../api.rst:915 msgid "The member is online." msgstr "" -#: ../../api.rst:895 +#: ../../api.rst:918 msgid "The member is offline." msgstr "" -#: ../../api.rst:898 +#: ../../api.rst:921 msgid "The member is idle." msgstr "" -#: ../../api.rst:901 +#: ../../api.rst:924 msgid "The member is \"Do Not Disturb\"." msgstr "" -#: ../../api.rst:904 +#: ../../api.rst:927 msgid "An alias for :attr:`dnd`." msgstr "" -#: ../../api.rst:907 +#: ../../api.rst:930 msgid "" "The member is \"invisible\". In reality, this is only used in sending a " "presence a la :meth:`Client.change_presence`. When you receive a user's " "presence this will be :attr:`offline` instead." msgstr "" -#: ../../api.rst:913 +#: ../../api.rst:936 msgid "Specifies the type of :class:`Relationship`" msgstr "" -#: ../../api.rst:917 +#: ../../api.rst:940 msgid "You are friends with this user." msgstr "" -#: ../../api.rst:920 +#: ../../api.rst:943 msgid "You have blocked this user." msgstr "" -#: ../../api.rst:923 +#: ../../api.rst:946 msgid "The user has sent you a friend request." msgstr "" -#: ../../api.rst:926 +#: ../../api.rst:949 msgid "You have sent a friend request to this user." msgstr "" -#: ../../api.rst:931 +#: ../../api.rst:954 msgid "" "Represents the type of action being done for a :class:`AuditLogEntry`\\, " "which is retrievable via :meth:`Guild.audit_logs`." msgstr "" -#: ../../api.rst:936 +#: ../../api.rst:959 msgid "The guild has updated. Things that trigger this include:" msgstr "" -#: ../../api.rst:938 +#: ../../api.rst:961 msgid "Changing the guild vanity URL" msgstr "" -#: ../../api.rst:939 +#: ../../api.rst:962 msgid "Changing the guild invite splash" msgstr "" -#: ../../api.rst:940 +#: ../../api.rst:963 msgid "Changing the guild AFK channel or timeout" msgstr "" -#: ../../api.rst:941 +#: ../../api.rst:964 msgid "Changing the guild voice server region" msgstr "" -#: ../../api.rst:942 +#: ../../api.rst:965 msgid "Changing the guild icon" msgstr "" -#: ../../api.rst:943 +#: ../../api.rst:966 msgid "Changing the guild moderation settings" msgstr "" -#: ../../api.rst:944 +#: ../../api.rst:967 msgid "Changing things related to the guild widget" msgstr "" -#: ../../api.rst:946 +#: ../../api.rst:969 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Guild`." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Guild`." msgstr "" -#: ../../api.rst:949 ../../api.rst:972 ../../api.rst:991 ../../api.rst:1010 -#: ../../api.rst:1029 ../../api.rst:1045 ../../api.rst:1060 ../../api.rst:1119 -#: ../../api.rst:1133 ../../api.rst:1144 ../../api.rst:1164 ../../api.rst:1179 -#: ../../api.rst:1194 ../../api.rst:1218 ../../api.rst:1235 ../../api.rst:1251 -#: ../../api.rst:1263 ../../api.rst:1276 ../../api.rst:1287 ../../api.rst:1298 +#: ../../api.rst:972 ../../api.rst:995 ../../api.rst:1014 ../../api.rst:1033 +#: ../../api.rst:1052 ../../api.rst:1068 ../../api.rst:1083 ../../api.rst:1142 +#: ../../api.rst:1156 ../../api.rst:1167 ../../api.rst:1187 ../../api.rst:1202 +#: ../../api.rst:1217 ../../api.rst:1241 ../../api.rst:1258 ../../api.rst:1274 +#: ../../api.rst:1286 ../../api.rst:1299 ../../api.rst:1310 ../../api.rst:1321 msgid "Possible attributes for :class:`AuditLogDiff`:" msgstr "" -#: ../../api.rst:951 +#: ../../api.rst:974 msgid ":attr:`~AuditLogDiff.afk_channel`" msgstr ":attr:`~AuditLogDiff.afk_channel`" -#: ../../api.rst:952 +#: ../../api.rst:975 msgid ":attr:`~AuditLogDiff.system_channel`" msgstr ":attr:`~AuditLogDiff.system_channel`" -#: ../../api.rst:953 +#: ../../api.rst:976 msgid ":attr:`~AuditLogDiff.afk_timeout`" msgstr ":attr:`~AuditLogDiff.afk_timeout`" -#: ../../api.rst:954 +#: ../../api.rst:977 msgid ":attr:`~AuditLogDiff.default_message_notifications`" msgstr ":attr:`~AuditLogDiff.default_message_notifications`" -#: ../../api.rst:955 +#: ../../api.rst:978 msgid ":attr:`~AuditLogDiff.explicit_content_filter`" msgstr ":attr:`~AuditLogDiff.explicit_content_filter`" -#: ../../api.rst:956 +#: ../../api.rst:979 msgid ":attr:`~AuditLogDiff.mfa_level`" msgstr ":attr:`~AuditLogDiff.mfa_level`" -#: ../../api.rst:957 ../../api.rst:974 ../../api.rst:993 ../../api.rst:1012 -#: ../../api.rst:1149 ../../api.rst:1169 ../../api.rst:1184 ../../api.rst:1238 -#: ../../api.rst:1254 ../../api.rst:1266 ../../api.rst:1278 ../../api.rst:1289 -#: ../../api.rst:1300 +#: ../../api.rst:980 ../../api.rst:997 ../../api.rst:1016 ../../api.rst:1035 +#: ../../api.rst:1172 ../../api.rst:1192 ../../api.rst:1207 ../../api.rst:1261 +#: ../../api.rst:1277 ../../api.rst:1289 ../../api.rst:1301 ../../api.rst:1312 +#: ../../api.rst:1323 msgid ":attr:`~AuditLogDiff.name`" msgstr ":attr:`~AuditLogDiff.name`" -#: ../../api.rst:958 +#: ../../api.rst:981 msgid ":attr:`~AuditLogDiff.owner`" msgstr ":attr:`~AuditLogDiff.owner`" -#: ../../api.rst:959 +#: ../../api.rst:982 msgid ":attr:`~AuditLogDiff.splash`" msgstr ":attr:`~AuditLogDiff.splash`" -#: ../../api.rst:960 +#: ../../api.rst:983 msgid ":attr:`~AuditLogDiff.vanity_url_code`" msgstr ":attr:`~AuditLogDiff.vanity_url_code`" -#: ../../api.rst:964 +#: ../../api.rst:987 msgid "A new channel was created." msgstr "" -#: ../../api.rst:966 +#: ../../api.rst:989 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is either" -" a :class:`abc.GuildChannel` or :class:`Object` with an ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is " +"either a :class:`abc.GuildChannel` or :class:`Object` with an ID." msgstr "" -#: ../../api.rst:969 +#: ../../api.rst:992 msgid "" -"A more filled out object in the :class:`Object` case can be found by using " -":attr:`~AuditLogEntry.after`." +"A more filled out object in the :class:`Object` case can be found by " +"using :attr:`~AuditLogEntry.after`." msgstr "" -#: ../../api.rst:975 ../../api.rst:994 ../../api.rst:1013 ../../api.rst:1034 -#: ../../api.rst:1050 ../../api.rst:1065 +#: ../../api.rst:998 ../../api.rst:1017 ../../api.rst:1036 ../../api.rst:1057 +#: ../../api.rst:1073 ../../api.rst:1088 msgid ":attr:`~AuditLogDiff.type`" msgstr ":attr:`~AuditLogDiff.type`" -#: ../../api.rst:976 ../../api.rst:996 ../../api.rst:1014 +#: ../../api.rst:999 ../../api.rst:1019 ../../api.rst:1037 msgid ":attr:`~AuditLogDiff.overwrites`" msgstr ":attr:`~AuditLogDiff.overwrites`" -#: ../../api.rst:980 +#: ../../api.rst:1003 msgid "A channel was updated. Things that trigger this include:" msgstr "" -#: ../../api.rst:982 +#: ../../api.rst:1005 msgid "The channel name or topic was changed" msgstr "" -#: ../../api.rst:983 +#: ../../api.rst:1006 msgid "The channel bitrate was changed" msgstr "" -#: ../../api.rst:985 ../../api.rst:1020 +#: ../../api.rst:1008 ../../api.rst:1043 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`abc.GuildChannel` or :class:`Object` with an ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`abc.GuildChannel` or :class:`Object` with an ID." msgstr "" -#: ../../api.rst:988 +#: ../../api.rst:1011 msgid "" -"A more filled out object in the :class:`Object` case can be found by using " -":attr:`~AuditLogEntry.after` or :attr:`~AuditLogEntry.before`." +"A more filled out object in the :class:`Object` case can be found by " +"using :attr:`~AuditLogEntry.after` or :attr:`~AuditLogEntry.before`." msgstr "" -#: ../../api.rst:995 +#: ../../api.rst:1018 msgid ":attr:`~AuditLogDiff.position`" msgstr ":attr:`~AuditLogDiff.position`" -#: ../../api.rst:997 +#: ../../api.rst:1020 msgid ":attr:`~AuditLogDiff.topic`" msgstr ":attr:`~AuditLogDiff.topic`" -#: ../../api.rst:998 +#: ../../api.rst:1021 msgid ":attr:`~AuditLogDiff.bitrate`" msgstr ":attr:`~AuditLogDiff.bitrate`" -#: ../../api.rst:1002 +#: ../../api.rst:1025 msgid "A channel was deleted." msgstr "" -#: ../../api.rst:1004 +#: ../../api.rst:1027 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is an " ":class:`Object` with an ID." msgstr "" -#: ../../api.rst:1007 +#: ../../api.rst:1030 msgid "" "A more filled out object can be found by using the " ":attr:`~AuditLogEntry.before` object." msgstr "" -#: ../../api.rst:1018 +#: ../../api.rst:1041 msgid "A channel permission overwrite was created." msgstr "" -#: ../../api.rst:1023 +#: ../../api.rst:1046 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.extra` is either " -"a :class:`Role` or :class:`Member`. If the object is not found then it is a " -":class:`Object` with an ID being filled, a name, and a ``type`` attribute " -"set to either ``'role'`` or ``'member'`` to help dictate what type of ID it " -"is." +"When this is the action, the type of :attr:`~AuditLogEntry.extra` is " +"either a :class:`Role` or :class:`Member`. If the object is not found " +"then it is a :class:`Object` with an ID being filled, a name, and a " +"``type`` attribute set to either ``'role'`` or ``'member'`` to help " +"dictate what type of ID it is." msgstr "" -#: ../../api.rst:1031 ../../api.rst:1047 ../../api.rst:1062 +#: ../../api.rst:1054 ../../api.rst:1070 ../../api.rst:1085 msgid ":attr:`~AuditLogDiff.deny`" msgstr ":attr:`~AuditLogDiff.deny`" -#: ../../api.rst:1032 ../../api.rst:1048 ../../api.rst:1063 +#: ../../api.rst:1055 ../../api.rst:1071 ../../api.rst:1086 msgid ":attr:`~AuditLogDiff.allow`" msgstr ":attr:`~AuditLogDiff.allow`" -#: ../../api.rst:1033 ../../api.rst:1049 ../../api.rst:1064 +#: ../../api.rst:1056 ../../api.rst:1072 ../../api.rst:1087 msgid ":attr:`~AuditLogDiff.id`" msgstr ":attr:`~AuditLogDiff.id`" -#: ../../api.rst:1038 +#: ../../api.rst:1061 msgid "" "A channel permission overwrite was changed, this is typically when the " "permission values change." msgstr "" -#: ../../api.rst:1041 ../../api.rst:1056 +#: ../../api.rst:1064 ../../api.rst:1079 msgid "" "See :attr:`overwrite_create` for more information on how the " -":attr:`~AuditLogEntry.target` and :attr:`~AuditLogEntry.extra` fields are " -"set." +":attr:`~AuditLogEntry.target` and :attr:`~AuditLogEntry.extra` fields are" +" set." msgstr "" -#: ../../api.rst:1054 +#: ../../api.rst:1077 msgid "A channel permission overwrite was deleted." msgstr "" -#: ../../api.rst:1069 +#: ../../api.rst:1092 msgid "A member was kicked." msgstr "" -#: ../../api.rst:1071 +#: ../../api.rst:1094 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`User` who got kicked." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`User` who got kicked." msgstr "" -#: ../../api.rst:1074 ../../api.rst:1089 ../../api.rst:1098 ../../api.rst:1107 +#: ../../api.rst:1097 ../../api.rst:1112 ../../api.rst:1121 ../../api.rst:1130 msgid "When this is the action, :attr:`~AuditLogEntry.changes` is empty." msgstr "" -#: ../../api.rst:1078 +#: ../../api.rst:1101 msgid "A member prune was triggered." msgstr "" -#: ../../api.rst:1080 +#: ../../api.rst:1103 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is set to" -" `None`." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is set" +" to `None`." msgstr "" -#: ../../api.rst:1083 ../../api.rst:1311 +#: ../../api.rst:1106 ../../api.rst:1334 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.extra` is set to " -"an unspecified proxy object with two attributes:" +"When this is the action, the type of :attr:`~AuditLogEntry.extra` is set " +"to an unspecified proxy object with two attributes:" msgstr "" -#: ../../api.rst:1086 +#: ../../api.rst:1109 msgid "``delete_members_days``: An integer specifying how far the prune was." msgstr "" -#: ../../api.rst:1087 -msgid "" -"``members_removed``: An integer specifying how many members were removed." +#: ../../api.rst:1110 +msgid "``members_removed``: An integer specifying how many members were removed." msgstr "" -#: ../../api.rst:1093 +#: ../../api.rst:1116 msgid "A member was banned." msgstr "" -#: ../../api.rst:1095 +#: ../../api.rst:1118 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`User` who got banned." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`User` who got banned." msgstr "" -#: ../../api.rst:1102 +#: ../../api.rst:1125 msgid "A member was unbanned." msgstr "" -#: ../../api.rst:1104 +#: ../../api.rst:1127 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`User` who got unbanned." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`User` who got unbanned." msgstr "" -#: ../../api.rst:1111 +#: ../../api.rst:1134 msgid "A member has updated. This triggers in the following situations:" msgstr "" -#: ../../api.rst:1113 +#: ../../api.rst:1136 msgid "A nickname was changed" msgstr "" -#: ../../api.rst:1114 +#: ../../api.rst:1137 msgid "They were server muted or deafened (or it was undo'd)" msgstr "" -#: ../../api.rst:1116 +#: ../../api.rst:1139 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Member` or :class:`User` who got updated." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` who got updated." msgstr "" -#: ../../api.rst:1121 +#: ../../api.rst:1144 msgid ":attr:`~AuditLogDiff.nick`" msgstr ":attr:`~AuditLogDiff.nick`" -#: ../../api.rst:1122 +#: ../../api.rst:1145 msgid ":attr:`~AuditLogDiff.mute`" msgstr ":attr:`~AuditLogDiff.mute`" -#: ../../api.rst:1123 +#: ../../api.rst:1146 msgid ":attr:`~AuditLogDiff.deaf`" msgstr ":attr:`~AuditLogDiff.deaf`" -#: ../../api.rst:1127 +#: ../../api.rst:1150 msgid "" -"A member's role has been updated. This triggers when a member either gains a" -" role or losses a role." +"A member's role has been updated. This triggers when a member either " +"gains a role or losses a role." msgstr "" -#: ../../api.rst:1130 +#: ../../api.rst:1153 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Member` or :class:`User` who got the role." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` who got the role." msgstr "" -#: ../../api.rst:1135 +#: ../../api.rst:1158 msgid ":attr:`~AuditLogDiff.roles`" msgstr ":attr:`~AuditLogDiff.roles`" -#: ../../api.rst:1139 +#: ../../api.rst:1162 msgid "A new role was created." msgstr "" -#: ../../api.rst:1141 ../../api.rst:1161 ../../api.rst:1176 +#: ../../api.rst:1164 ../../api.rst:1184 ../../api.rst:1199 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Role` or a :class:`Object` with the ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Role` or a :class:`Object` with the ID." msgstr "" -#: ../../api.rst:1146 ../../api.rst:1166 ../../api.rst:1181 +#: ../../api.rst:1169 ../../api.rst:1189 ../../api.rst:1204 msgid ":attr:`~AuditLogDiff.colour`" msgstr ":attr:`~AuditLogDiff.colour`" -#: ../../api.rst:1147 ../../api.rst:1167 ../../api.rst:1182 +#: ../../api.rst:1170 ../../api.rst:1190 ../../api.rst:1205 msgid ":attr:`~AuditLogDiff.mentionable`" msgstr ":attr:`~AuditLogDiff.mentionable`" -#: ../../api.rst:1148 ../../api.rst:1168 ../../api.rst:1183 +#: ../../api.rst:1171 ../../api.rst:1191 ../../api.rst:1206 msgid ":attr:`~AuditLogDiff.hoist`" msgstr ":attr:`~AuditLogDiff.hoist`" -#: ../../api.rst:1150 ../../api.rst:1170 ../../api.rst:1185 +#: ../../api.rst:1173 ../../api.rst:1193 ../../api.rst:1208 msgid ":attr:`~AuditLogDiff.permissions`" msgstr ":attr:`~AuditLogDiff.permissions`" -#: ../../api.rst:1154 +#: ../../api.rst:1177 msgid "A role was updated. This triggers in the following situations:" msgstr "" -#: ../../api.rst:1156 +#: ../../api.rst:1179 msgid "The name has changed" msgstr "" -#: ../../api.rst:1157 +#: ../../api.rst:1180 msgid "The permissions have changed" msgstr "" -#: ../../api.rst:1158 +#: ../../api.rst:1181 msgid "The colour has changed" msgstr "" -#: ../../api.rst:1159 +#: ../../api.rst:1182 msgid "Its hoist/mentionable state has changed" msgstr "" -#: ../../api.rst:1174 +#: ../../api.rst:1197 msgid "A role was deleted." msgstr "" -#: ../../api.rst:1189 +#: ../../api.rst:1212 msgid "An invite was created." msgstr "" -#: ../../api.rst:1191 +#: ../../api.rst:1214 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Invite` that was created." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Invite` that was created." msgstr "" -#: ../../api.rst:1196 ../../api.rst:1220 +#: ../../api.rst:1219 ../../api.rst:1243 msgid ":attr:`~AuditLogDiff.max_age`" msgstr ":attr:`~AuditLogDiff.max_age`" -#: ../../api.rst:1197 ../../api.rst:1221 +#: ../../api.rst:1220 ../../api.rst:1244 msgid ":attr:`~AuditLogDiff.code`" msgstr ":attr:`~AuditLogDiff.code`" -#: ../../api.rst:1198 ../../api.rst:1222 +#: ../../api.rst:1221 ../../api.rst:1245 msgid ":attr:`~AuditLogDiff.temporary`" msgstr ":attr:`~AuditLogDiff.temporary`" -#: ../../api.rst:1199 ../../api.rst:1223 +#: ../../api.rst:1222 ../../api.rst:1246 msgid ":attr:`~AuditLogDiff.inviter`" msgstr ":attr:`~AuditLogDiff.inviter`" -#: ../../api.rst:1200 ../../api.rst:1224 ../../api.rst:1237 ../../api.rst:1253 -#: ../../api.rst:1265 +#: ../../api.rst:1223 ../../api.rst:1247 ../../api.rst:1260 ../../api.rst:1276 +#: ../../api.rst:1288 msgid ":attr:`~AuditLogDiff.channel`" msgstr ":attr:`~AuditLogDiff.channel`" -#: ../../api.rst:1201 ../../api.rst:1225 +#: ../../api.rst:1224 ../../api.rst:1248 msgid ":attr:`~AuditLogDiff.uses`" msgstr ":attr:`~AuditLogDiff.uses`" -#: ../../api.rst:1202 ../../api.rst:1226 +#: ../../api.rst:1225 ../../api.rst:1249 msgid ":attr:`~AuditLogDiff.max_uses`" msgstr ":attr:`~AuditLogDiff.max_uses`" -#: ../../api.rst:1206 +#: ../../api.rst:1229 msgid "An invite was updated." msgstr "" -#: ../../api.rst:1208 +#: ../../api.rst:1231 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Invite` that was updated." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Invite` that was updated." msgstr "" -#: ../../api.rst:1213 +#: ../../api.rst:1236 msgid "An invite was deleted." msgstr "" -#: ../../api.rst:1215 +#: ../../api.rst:1238 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Invite` that was deleted." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Invite` that was deleted." msgstr "" -#: ../../api.rst:1230 +#: ../../api.rst:1253 msgid "A webhook was created." msgstr "" -#: ../../api.rst:1232 ../../api.rst:1248 ../../api.rst:1260 +#: ../../api.rst:1255 ../../api.rst:1271 ../../api.rst:1283 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Object` with the webhook ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Object` with the webhook ID." msgstr "" -#: ../../api.rst:1239 ../../api.rst:1267 +#: ../../api.rst:1262 ../../api.rst:1290 msgid ":attr:`~AuditLogDiff.type` (always set to ``1`` if so)" msgstr "" -#: ../../api.rst:1243 +#: ../../api.rst:1266 msgid "A webhook was updated. This trigger in the following situations:" msgstr "" -#: ../../api.rst:1245 +#: ../../api.rst:1268 msgid "The webhook name changed" msgstr "" -#: ../../api.rst:1246 +#: ../../api.rst:1269 msgid "The webhook channel changed" msgstr "" -#: ../../api.rst:1258 +#: ../../api.rst:1281 msgid "A webhook was deleted." msgstr "" -#: ../../api.rst:1271 +#: ../../api.rst:1294 msgid "An emoji was created." msgstr "" -#: ../../api.rst:1273 ../../api.rst:1284 +#: ../../api.rst:1296 ../../api.rst:1307 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Emoji` or :class:`Object` with the emoji ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Emoji` or :class:`Object` with the emoji ID." msgstr "" -#: ../../api.rst:1282 +#: ../../api.rst:1305 msgid "An emoji was updated. This triggers when the name has changed." msgstr "" -#: ../../api.rst:1293 +#: ../../api.rst:1316 msgid "An emoji was deleted." msgstr "" -#: ../../api.rst:1295 +#: ../../api.rst:1318 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Object` with the emoji ID." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Object` with the emoji ID." msgstr "" -#: ../../api.rst:1304 +#: ../../api.rst:1327 msgid "" -"A message was deleted by a moderator. Note that this only triggers if the " -"message was deleted by either bulk delete or deletion by someone other than " -"the author." +"A message was deleted by a moderator. Note that this only triggers if the" +" message was deleted by either bulk delete or deletion by someone other " +"than the author." msgstr "" -#: ../../api.rst:1308 +#: ../../api.rst:1331 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the " -":class:`Member` or :class:`User` who had their message deleted." +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` who had their message deleted." msgstr "" -#: ../../api.rst:1314 +#: ../../api.rst:1337 msgid "``count``: An integer specifying how many messages were deleted." msgstr "" -#: ../../api.rst:1315 +#: ../../api.rst:1338 msgid "" -"``channel``: A :class:`TextChannel` or :class:`Object` with the channel ID " -"where the message got deleted." +"``channel``: A :class:`TextChannel` or :class:`Object` with the channel " +"ID where the message got deleted." msgstr "" -#: ../../api.rst:1320 +#: ../../api.rst:1343 msgid "Represents the category that the :class:`AuditLogAction` belongs to." msgstr "" -#: ../../api.rst:1322 +#: ../../api.rst:1345 msgid "This can be retrieved via :attr:`AuditLogEntry.category`." msgstr "" -#: ../../api.rst:1326 +#: ../../api.rst:1349 msgid "The action is the creation of something." msgstr "" -#: ../../api.rst:1330 +#: ../../api.rst:1353 msgid "The action is the deletion of something." msgstr "" -#: ../../api.rst:1334 +#: ../../api.rst:1357 msgid "The action is the update of something." msgstr "" -#: ../../api.rst:1339 +#: ../../api.rst:1362 msgid "Async Iterator" msgstr "非同期イテレータ" -#: ../../api.rst:1341 +#: ../../api.rst:1364 msgid "" "Some API functions return an \"async iterator\". An async iterator is " "something that is capable of being used in an `async for " @@ -3346,115 +3396,115 @@ msgid "" "statement>`_ statement." msgstr "" -#: ../../api.rst:1345 +#: ../../api.rst:1368 msgid "These async iterators can be used as follows: ::" msgstr "" -#: ../../api.rst:1350 +#: ../../api.rst:1373 msgid "" -"Certain utilities make working with async iterators easier, detailed below." +"Certain utilities make working with async iterators easier, detailed " +"below." msgstr "" -#: ../../api.rst:1354 +#: ../../api.rst:1377 msgid "" -"Represents the \"AsyncIterator\" concept. Note that no such class exists, it" -" is purely abstract." +"Represents the \"AsyncIterator\" concept. Note that no such class exists," +" it is purely abstract." msgstr "" -#: ../../api.rst:1361 +#: ../../api.rst:1384 msgid "" "Iterates over the contents of the async iterator. Note that this is only " "available in Python 3.5 or higher." msgstr "" -#: ../../api.rst:1369 +#: ../../api.rst:1392 msgid "" -"Advances the iterator by one, if possible. If no more items are found then " -"this raises :exc:`NoMoreItems`." +"Advances the iterator by one, if possible. If no more items are found " +"then this raises :exc:`NoMoreItems`." msgstr "" -#: ../../api.rst:1376 +#: ../../api.rst:1399 msgid "Similar to :func:`utils.get` except run over the async iterator." msgstr "" -#: ../../api.rst:1378 +#: ../../api.rst:1401 msgid "Getting the last message by a user named 'Dave' or ``None``: ::" msgstr "" -#: ../../api.rst:1386 +#: ../../api.rst:1409 msgid "Similar to :func:`utils.find` except run over the async iterator." msgstr "" -#: ../../api.rst:1388 +#: ../../api.rst:1411 msgid "Unlike :func:`utils.find`\\, the predicate provided can be a coroutine." msgstr "" -#: ../../api.rst:1391 +#: ../../api.rst:1414 msgid "Getting the last audit log with a reason or ``None``: ::" msgstr "" -#: ../../api.rst:1398 +#: ../../api.rst:1421 msgid "The predicate to use. Can be a coroutine." msgstr "" -#: ../../api.rst:1399 +#: ../../api.rst:1422 msgid "The first element that returns ``True`` for the predicate or ``None``." msgstr "" -#: ../../api.rst:1405 -msgid "" -"Flattens the async iterator into a :class:`list` with all the elements." +#: ../../api.rst:1428 +msgid "Flattens the async iterator into a :class:`list` with all the elements." msgstr "" -#: ../../api.rst:1407 +#: ../../api.rst:1430 msgid "A list of every element in the async iterator." msgstr "" -#: ../../api.rst:1412 +#: ../../api.rst:1435 msgid "" -"This is similar to the built-in :func:`map ` function. Another " -":class:`AsyncIterator` is returned that executes the function on every " -"element it is iterating over. This function can either be a regular function" -" or a coroutine." +"This is similar to the built-in :func:`map ` function. " +"Another :class:`AsyncIterator` is returned that executes the function on " +"every element it is iterating over. This function can either be a regular" +" function or a coroutine." msgstr "" -#: ../../api.rst:1417 +#: ../../api.rst:1440 msgid "Creating a content iterator: ::" msgstr "" -#: ../../api.rst:1425 +#: ../../api.rst:1448 msgid "The function to call on every element. Could be a coroutine." msgstr "" -#: ../../api.rst:1426 ../../api.rst:1443 +#: ../../api.rst:1449 ../../api.rst:1466 msgid "An async iterator." msgstr "" -#: ../../api.rst:1430 +#: ../../api.rst:1453 msgid "" "This is similar to the built-in :func:`filter ` function. " -"Another :class:`AsyncIterator` is returned that filters over the original " -"async iterator. This predicate can be a regular function or a coroutine." +"Another :class:`AsyncIterator` is returned that filters over the original" +" async iterator. This predicate can be a regular function or a coroutine." msgstr "" -#: ../../api.rst:1434 +#: ../../api.rst:1457 msgid "Getting messages by non-bot accounts: ::" msgstr "" -#: ../../api.rst:1442 +#: ../../api.rst:1465 msgid "The predicate to call on every element. Could be a coroutine." msgstr "" -#: ../../api.rst:1447 +#: ../../api.rst:1470 msgid "Audit Log Data" msgstr "サーバーログデータ" -#: ../../api.rst:1449 +#: ../../api.rst:1472 msgid "" -"Working with :meth:`Guild.audit_logs` is a complicated process with a lot of" -" machinery involved. The library attempts to make it easy to use and " -"friendly. In order to accomplish this goal, it must make use of a couple of " -"data classes that aid in this goal." +"Working with :meth:`Guild.audit_logs` is a complicated process with a lot" +" of machinery involved. The library attempts to make it easy to use and " +"friendly. In order to accomplish this goal, it must make use of a couple " +"of data classes that aid in this goal." msgstr "" #: discord.AuditLogEntry:1 of @@ -3481,8 +3531,8 @@ msgstr "" #: discord.AuditLogEntry:20 of msgid "" -"*Any* -- The target that got changed. The exact type of this depends on the " -"action being done." +"*Any* -- The target that got changed. The exact type of this depends on " +"the action being done." msgstr "" #: discord.AuditLogEntry:25 of @@ -3493,8 +3543,8 @@ msgstr "" msgid "" "*Any* -- Extra information that this entry has that might be useful. For " "most actions, this is ``None``. However in some cases it contains extra " -"information. See :class:`AuditLogAction` for which actions have this field " -"filled out." +"information. See :class:`AuditLogAction` for which actions have this " +"field filled out." msgstr "" #: discord.AuditLogEntry.created_at:1 of @@ -3503,8 +3553,8 @@ msgstr "" #: discord.AuditLogEntry.category:1 of msgid "" -"Optional[:class:`AuditLogActionCategory`] -- The category of the action, if " -"applicable." +"Optional[:class:`AuditLogActionCategory`] -- The category of the action, " +"if applicable." msgstr "" #: discord.AuditLogEntry.changes:1 of @@ -3519,406 +3569,424 @@ msgstr "" msgid ":class:`AuditLogDiff` -- The target's subsequent state." msgstr "" -#: ../../api.rst:1458 +#: ../../api.rst:1481 msgid "An audit log change set." msgstr "" -#: ../../api.rst:1462 +#: ../../api.rst:1485 msgid "The old value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1464 ../../api.rst:1484 +#: ../../api.rst:1487 ../../api.rst:1507 msgid "" "Depending on the :class:`AuditLogActionCategory` retrieved by " ":attr:`~AuditLogEntry.category`\\, the data retrieved by this attribute " "differs:" msgstr "" -#: ../../api.rst:1469 ../../api.rst:1489 +#: ../../api.rst:1492 ../../api.rst:1512 msgid "Category" msgstr "" -#: ../../api.rst:1469 ../../api.rst:1489 discord.PermissionOverwrite:15 of +#: ../../api.rst:1492 ../../api.rst:1512 discord.PermissionOverwrite:15 of msgid "Description" msgstr "" -#: ../../api.rst:1471 ../../api.rst:1491 +#: ../../api.rst:1494 ../../api.rst:1514 msgid ":attr:`~AuditLogActionCategory.create`" msgstr ":attr:`~AuditLogActionCategory.create`" -#: ../../api.rst:1471 +#: ../../api.rst:1494 msgid "All attributes are set to ``None``." msgstr "" -#: ../../api.rst:1473 ../../api.rst:1493 +#: ../../api.rst:1496 ../../api.rst:1516 msgid ":attr:`~AuditLogActionCategory.delete`" msgstr ":attr:`~AuditLogActionCategory.delete`" -#: ../../api.rst:1473 +#: ../../api.rst:1496 msgid "All attributes are set the value before deletion." msgstr "" -#: ../../api.rst:1475 ../../api.rst:1495 +#: ../../api.rst:1498 ../../api.rst:1518 msgid ":attr:`~AuditLogActionCategory.update`" msgstr ":attr:`~AuditLogActionCategory.update`" -#: ../../api.rst:1475 +#: ../../api.rst:1498 msgid "All attributes are set the value before updating." msgstr "" -#: ../../api.rst:1477 ../../api.rst:1497 +#: ../../api.rst:1500 ../../api.rst:1520 msgid "``None``" msgstr "``None``" -#: ../../api.rst:1477 ../../api.rst:1497 +#: ../../api.rst:1500 ../../api.rst:1520 msgid "No attributes are set." msgstr "" -#: ../../api.rst:1482 +#: ../../api.rst:1505 msgid "The new value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1491 +#: ../../api.rst:1514 msgid "All attributes are set to the created value" msgstr "" -#: ../../api.rst:1493 +#: ../../api.rst:1516 msgid "All attributes are set to ``None``" msgstr "" -#: ../../api.rst:1495 +#: ../../api.rst:1518 msgid "All attributes are set the value after updating." msgstr "" -#: ../../api.rst:1502 +#: ../../api.rst:1525 msgid "" "Represents an audit log \"change\" object. A change object has dynamic " -"attributes that depend on the type of action being done. Certain actions map" -" to certain attributes being set." +"attributes that depend on the type of action being done. Certain actions " +"map to certain attributes being set." msgstr "" -#: ../../api.rst:1506 +#: ../../api.rst:1529 msgid "" -"Note that accessing an attribute that does not match the specified action " -"will lead to an attribute error." +"Note that accessing an attribute that does not match the specified action" +" will lead to an attribute error." msgstr "" -#: ../../api.rst:1509 +#: ../../api.rst:1532 msgid "" -"To get a list of attributes that have been set, you can iterate over them. " -"To see a list of all possible attributes that could be set based on the " -"action being done, check the documentation for :class:`AuditLogAction`, " -"otherwise check the documentation below for all attributes that are " -"possible." +"To get a list of attributes that have been set, you can iterate over " +"them. To see a list of all possible attributes that could be set based on" +" the action being done, check the documentation for " +":class:`AuditLogAction`, otherwise check the documentation below for all " +"attributes that are possible." msgstr "" -#: ../../api.rst:1516 +#: ../../api.rst:1539 msgid "Return an iterator over (attribute, value) tuple of this diff." msgstr "" -#: ../../api.rst:1520 +#: ../../api.rst:1543 msgid ":class:`str` – A name of something." msgstr "" -#: ../../api.rst:1524 +#: ../../api.rst:1547 msgid ":class:`str` – A guild's icon hash. See also :attr:`Guild.icon`." msgstr "" -#: ../../api.rst:1528 +#: ../../api.rst:1551 msgid "" ":class:`str` – The guild's invite splash hash. See also " ":attr:`Guild.splash`." msgstr "" -#: ../../api.rst:1532 +#: ../../api.rst:1555 msgid "" "Union[:class:`Member`, :class:`User`] – The guild's owner. See also " ":attr:`Guild.owner`" msgstr "" -#: ../../api.rst:1536 +#: ../../api.rst:1559 msgid "" ":class:`GuildRegion` – The guild's voice region. See also " ":attr:`Guild.region`." msgstr "" -#: ../../api.rst:1540 -msgid "" -"Union[:class:`VoiceChannel`, :class:`Object`] – The guild's AFK channel." +#: ../../api.rst:1563 +msgid "Union[:class:`VoiceChannel`, :class:`Object`] – The guild's AFK channel." msgstr "" -#: ../../api.rst:1542 ../../api.rst:1551 +#: ../../api.rst:1565 ../../api.rst:1574 msgid "" -"If this could not be found, then it falls back to a :class:`Object` with the" -" ID being set." +"If this could not be found, then it falls back to a :class:`Object` with " +"the ID being set." msgstr "" -#: ../../api.rst:1545 +#: ../../api.rst:1568 msgid "See :attr:`Guild.afk_channel`." msgstr "" -#: ../../api.rst:1549 -msgid "" -"Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel." +#: ../../api.rst:1572 +msgid "Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel." msgstr "" -#: ../../api.rst:1554 +#: ../../api.rst:1577 msgid "See :attr:`Guild.system_channel`." msgstr "" -#: ../../api.rst:1558 +#: ../../api.rst:1581 msgid ":class:`int` – The guild's AFK timeout. See :attr:`Guild.afk_timeout`." msgstr "" -#: ../../api.rst:1562 +#: ../../api.rst:1585 msgid ":class:`int` - The guild's MFA level. See :attr:`Guild.mfa_level`." msgstr "" -#: ../../api.rst:1566 +#: ../../api.rst:1589 msgid ":class:`bool` – The guild's widget has been enabled or disabled." msgstr "" -#: ../../api.rst:1570 +#: ../../api.rst:1593 msgid "Union[:class:`TextChannel`, :class:`Object`] – The widget's channel." msgstr "" -#: ../../api.rst:1572 +#: ../../api.rst:1595 msgid "" -"If this could not be found then it falls back to a :class:`Object` with the " -"ID being set." +"If this could not be found then it falls back to a :class:`Object` with " +"the ID being set." msgstr "" -#: ../../api.rst:1577 +#: ../../api.rst:1600 msgid ":class:`VerificationLevel` – The guild's verification level." msgstr "" -#: ../../api.rst:1579 +#: ../../api.rst:1602 msgid "See also :attr:`Guild.verification_level`." msgstr "" -#: ../../api.rst:1583 +#: ../../api.rst:1606 +msgid ":class:`NotificationLevel` – The guild's default notification level." +msgstr "" + +#: ../../api.rst:1608 +#, fuzzy +msgid "See also :attr:`Guild.default_notifications`." +msgstr ":attr:`~AuditLogDiff.default_message_notifications`" + +#: ../../api.rst:1612 msgid ":class:`ContentFilter` – The guild's content filter." msgstr "" -#: ../../api.rst:1585 +#: ../../api.rst:1614 msgid "See also :attr:`Guild.explicit_content_filter`." msgstr "" -#: ../../api.rst:1589 +#: ../../api.rst:1618 msgid ":class:`int` – The guild's default message notification setting." msgstr "" -#: ../../api.rst:1593 +#: ../../api.rst:1622 msgid ":class:`str` – The guild's vanity URL." msgstr "" -#: ../../api.rst:1595 +#: ../../api.rst:1624 msgid "" -"See also :meth:`Guild.vanity_invite` and :meth:`Guild.change_vanity_invite`." +"See also :meth:`Guild.vanity_invite` and " +":meth:`Guild.change_vanity_invite`." msgstr "" -#: ../../api.rst:1599 +#: ../../api.rst:1628 msgid "" -":class:`int` – The position of a :class:`Role` or :class:`abc.GuildChannel`." +":class:`int` – The position of a :class:`Role` or " +":class:`abc.GuildChannel`." msgstr "" -#: ../../api.rst:1603 -msgid "" -"*Union[int, str]* – The type of channel or channel permission overwrite." +#: ../../api.rst:1632 +msgid "*Union[int, str]* – The type of channel or channel permission overwrite." msgstr "" -#: ../../api.rst:1605 +#: ../../api.rst:1634 msgid "" -"If the type is an :class:`int`, then it is a type of channel which can be " -"either ``0`` to indicate a text channel or ``1`` to indicate a voice " +"If the type is an :class:`int`, then it is a type of channel which can be" +" either ``0`` to indicate a text channel or ``1`` to indicate a voice " "channel." msgstr "" -#: ../../api.rst:1608 +#: ../../api.rst:1637 msgid "" "If the type is a :class:`str`, then it is a type of permission overwrite " "which can be either ``'role'`` or ``'member'``." msgstr "" -#: ../../api.rst:1613 +#: ../../api.rst:1642 msgid ":class:`str` – The topic of a :class:`TextChannel`." msgstr ":class:`str` – :class:`TextChannel` のトピック。" -#: ../../api.rst:1615 +#: ../../api.rst:1644 msgid "See also :attr:`TextChannel.topic`." msgstr "" -#: ../../api.rst:1619 +#: ../../api.rst:1648 msgid ":class:`int` – The bitrate of a :class:`VoiceChannel`." msgstr "" -#: ../../api.rst:1621 +#: ../../api.rst:1650 msgid "See also :attr:`VoiceChannel.bitrate`." msgstr "" -#: ../../api.rst:1625 +#: ../../api.rst:1654 msgid "" "List[Tuple[target, :class:`PermissionOverwrite`]] – A list of permission " -"overwrite tuples that represents a target and a :class:`PermissionOverwrite`" -" for said target." +"overwrite tuples that represents a target and a " +":class:`PermissionOverwrite` for said target." msgstr "" -#: ../../api.rst:1629 +#: ../../api.rst:1658 msgid "" "The first element is the object being targeted, which can either be a " ":class:`Member` or :class:`User` or :class:`Role`. If this object is not " -"found then it is a :class:`Object` with an ID being filled and a ``type`` " -"attribute set to either ``'role'`` or ``'member'`` to help decide what type " -"of ID it is." +"found then it is a :class:`Object` with an ID being filled and a ``type``" +" attribute set to either ``'role'`` or ``'member'`` to help decide what " +"type of ID it is." msgstr "" -#: ../../api.rst:1637 +#: ../../api.rst:1666 msgid "" -"List[Union[:class:`Role`, :class:`Object`]] – A list of roles being added or" -" removed from a member." +"List[Union[:class:`Role`, :class:`Object`]] – A list of roles being added" +" or removed from a member." msgstr "" -#: ../../api.rst:1640 +#: ../../api.rst:1669 msgid "" "If a role is not found then it is a :class:`Object` with the ID and name " "being filled in." msgstr "" -#: ../../api.rst:1645 +#: ../../api.rst:1674 msgid "*Optional[str]* – The nickname of a member." msgstr "" -#: ../../api.rst:1647 +#: ../../api.rst:1676 msgid "See also :attr:`Member.nick`" msgstr "" -#: ../../api.rst:1651 +#: ../../api.rst:1680 msgid ":class:`bool` – Whether the member is being server deafened." msgstr "" -#: ../../api.rst:1653 +#: ../../api.rst:1682 msgid "See also :attr:`VoiceState.deaf`." msgstr "" -#: ../../api.rst:1657 +#: ../../api.rst:1686 msgid ":class:`bool` – Whether the member is being server muted." msgstr "" -#: ../../api.rst:1659 +#: ../../api.rst:1688 msgid "See also :attr:`VoiceState.mute`." msgstr "" -#: ../../api.rst:1663 +#: ../../api.rst:1692 msgid ":class:`Permissions` – The permissions of a role." msgstr ":class:`Permissions` – 役割の権限。" -#: ../../api.rst:1665 +#: ../../api.rst:1694 msgid "See also :attr:`Role.permissions`." msgstr "" -#: ../../api.rst:1670 +#: ../../api.rst:1699 msgid ":class:`Colour` – The colour of a role." msgstr ":class:`Colour` – 役割の色。" -#: ../../api.rst:1672 +#: ../../api.rst:1701 msgid "See also :attr:`Role.colour`" msgstr "" -#: ../../api.rst:1676 +#: ../../api.rst:1705 msgid ":class:`bool` – Whether the role is being hoisted or not." msgstr "" -#: ../../api.rst:1678 +#: ../../api.rst:1707 msgid "See also :attr:`Role.hoist`" msgstr "" -#: ../../api.rst:1682 +#: ../../api.rst:1711 msgid ":class:`bool` – Whether the role is mentionable or not." msgstr "" -#: ../../api.rst:1684 +#: ../../api.rst:1713 msgid "See also :attr:`Role.mentionable`" msgstr "" -#: ../../api.rst:1688 +#: ../../api.rst:1717 msgid ":class:`str` – The invite's code." msgstr "" -#: ../../api.rst:1690 +#: ../../api.rst:1719 msgid "See also :attr:`Invite.code`" msgstr "" -#: ../../api.rst:1694 +#: ../../api.rst:1723 msgid "Union[:class:`abc.GuildChannel`, :class:`Object`] – A guild channel." msgstr "" -#: ../../api.rst:1696 +#: ../../api.rst:1725 msgid "" -"If the channel is not found then it is a :class:`Object` with the ID being " -"set. In some cases the channel name is also set." +"If the channel is not found then it is a :class:`Object` with the ID " +"being set. In some cases the channel name is also set." msgstr "" -#: ../../api.rst:1701 +#: ../../api.rst:1730 msgid ":class:`User` – The user who created the invite." msgstr ":class:`User` – 招待を作成したユーザー。" -#: ../../api.rst:1703 +#: ../../api.rst:1732 msgid "See also :attr:`Invite.inviter`." msgstr "" -#: ../../api.rst:1707 +#: ../../api.rst:1736 msgid ":class:`int` – The invite's max uses." msgstr ":class:`int` – 招待の最大使用可能回数。" -#: ../../api.rst:1709 +#: ../../api.rst:1738 msgid "See also :attr:`Invite.max_uses`." msgstr "" -#: ../../api.rst:1713 +#: ../../api.rst:1742 msgid ":class:`int` – The invite's current uses." msgstr ":class:`int` – 招待の現在までの使用回数。" -#: ../../api.rst:1715 +#: ../../api.rst:1744 msgid "See also :attr:`Invite.uses`." msgstr "" -#: ../../api.rst:1719 +#: ../../api.rst:1748 msgid ":class:`int` – The invite's max age in seconds." msgstr "" -#: ../../api.rst:1721 +#: ../../api.rst:1750 msgid "See also :attr:`Invite.max_age`." msgstr "" -#: ../../api.rst:1725 +#: ../../api.rst:1754 msgid ":class:`bool` – If the invite is a temporary invite." msgstr "" -#: ../../api.rst:1727 +#: ../../api.rst:1756 msgid "See also :attr:`Invite.temporary`." msgstr "" -#: ../../api.rst:1732 +#: ../../api.rst:1761 msgid ":class:`Permissions` – The permissions being allowed or denied." msgstr "" -#: ../../api.rst:1736 +#: ../../api.rst:1765 msgid ":class:`int` – The ID of the object being changed." msgstr "" -#: ../../api.rst:1740 +#: ../../api.rst:1769 msgid ":class:`str` – The avatar hash of a member." msgstr "" -#: ../../api.rst:1742 +#: ../../api.rst:1771 msgid "See also :attr:`User.avatar`." msgstr "" -#: ../../api.rst:1748 +#: ../../api.rst:1775 +msgid "" +":class:`int` – The number of seconds members have to wait before sending " +"another message in the channel." +msgstr "" + +#: ../../api.rst:1778 +msgid "See also :attr:`TextChannel.slowmode_delay`." +msgstr "" + +#: ../../api.rst:1784 msgid "Webhook Support" msgstr "Webhookサポート" -#: ../../api.rst:1750 +#: ../../api.rst:1786 msgid "" "discord.py offers support for creating, editing, and executing webhooks " "through the :class:`Webhook` class." @@ -3930,8 +3998,8 @@ msgstr "" #: discord.Webhook:3 of msgid "" -"Webhooks are a form to send messages to channels in Discord without a bot " -"user or authentication." +"Webhooks are a form to send messages to channels in Discord without a bot" +" user or authentication." msgstr "" #: discord.Webhook:6 of @@ -3939,18 +4007,19 @@ msgid "" "There are two main ways to use Webhooks. The first is through the ones " "received by the library such as :meth:`.Guild.webhooks` and " ":meth:`.TextChannel.webhooks`. The ones received by the library will " -"automatically have an adapter bound using the library's HTTP session. Those " -"webhooks will have :meth:`~.Webhook.send`, :meth:`~.Webhook.delete` and " -":meth:`~.Webhook.edit` as coroutines." +"automatically have an adapter bound using the library's HTTP session. " +"Those webhooks will have :meth:`~.Webhook.send`, :meth:`~.Webhook.delete`" +" and :meth:`~.Webhook.edit` as coroutines." msgstr "" #: discord.Webhook:13 of msgid "" -"The second form involves creating a webhook object manually without having " -"it bound to a websocket connection using the :meth:`~.Webhook.from_url` or " -":meth:`~.Webhook.partial` classmethods. This form allows finer grained " -"control over how requests are done, allowing you to mix async and sync code " -"using either ``aiohttp`` or ``requests``." +"The second form involves creating a webhook object manually without " +"having it bound to a websocket connection using the " +":meth:`~.Webhook.from_url` or :meth:`~.Webhook.partial` classmethods. " +"This form allows finer grained control over how requests are done, " +"allowing you to mix async and sync code using either ``aiohttp`` or " +"``requests``." msgstr "" #: discord.Webhook:19 of @@ -3979,8 +4048,9 @@ msgstr "" #: discord.Webhook:59 of msgid "" -"Optional[:class:`abc.User`] -- The user this webhook was created by. If the " -"webhook was received without authentication then this will be ``None``." +"Optional[:class:`abc.User`] -- The user this webhook was created by. If " +"the webhook was received without authentication then this will be " +"``None``." msgstr "" #: discord.Webhook:64 of @@ -4040,7 +4110,8 @@ msgstr "" #: discord.Webhook.channel:1 of msgid "" -"Optional[:class:`TextChannel`] -- The text channel this webhook belongs to." +"Optional[:class:`TextChannel`] -- The text channel this webhook belongs " +"to." msgstr "" #: discord.Webhook.created_at:1 of @@ -4053,8 +4124,8 @@ msgstr "" #: discord.Webhook.avatar_url:3 discord.Webhook.avatar_url_as:3 of msgid "" -"If the webhook does not have a traditional avatar, their default avatar URL " -"is returned instead." +"If the webhook does not have a traditional avatar, their default avatar " +"URL is returned instead." msgstr "" #: discord.Webhook.avatar_url:6 of @@ -4065,32 +4136,33 @@ msgstr "" #: discord.Webhook.avatar_url_as:6 of msgid "" -"The format must be one of 'jpeg', 'jpg', or 'png'. The size must be a power " -"of 2 between 16 and 1024." +"The format must be one of 'jpeg', 'jpg', or 'png'. The size must be a " +"power of 2 between 16 and 1024." msgstr "" #: discord.Webhook.avatar_url_as:9 of msgid "" -"The format to attempt to convert the avatar to. If the format is ``None``, " -"then it is equivalent to png." +"The format to attempt to convert the avatar to. If the format is " +"``None``, then it is equivalent to png." msgstr "" #: discord.ClientUser.avatar_url_as:18 discord.Guild.icon_url_as:8 -#: discord.Member.avatar_url_as:18 discord.User.avatar_url_as:18 -#: discord.Webhook.avatar_url_as:12 of +#: discord.Guild.splash_url_as:8 discord.Member.avatar_url_as:18 +#: discord.User.avatar_url_as:18 discord.Webhook.avatar_url_as:12 of msgid "The size of the image to display." msgstr "" #: discord.ClientUser.avatar_url_as:21 discord.Guild.icon_url_as:11 -#: discord.Member.avatar_url_as:21 discord.User.avatar_url_as:21 -#: discord.Webhook.avatar_url_as:15 of +#: discord.Guild.splash_url_as:11 discord.Member.avatar_url_as:21 +#: discord.User.avatar_url_as:21 discord.Webhook.avatar_url_as:15 of msgid "The resulting CDN URL." msgstr "" -#: discord.Guild.icon_url_as:14 discord.Webhook.avatar_url_as:18 of +#: discord.Guild.icon_url_as:14 discord.Guild.splash_url_as:14 +#: discord.Webhook.avatar_url_as:18 of msgid "" -":exc:`InvalidArgument` -- Bad image format passed to ``format`` or invalid " -"``size``." +":exc:`InvalidArgument` -- Bad image format passed to ``format`` or " +"invalid ``size``." msgstr "" #: discord.Webhook.delete:1 discord.Webhook.edit:1 discord.Webhook.send:1 of @@ -4103,8 +4175,8 @@ msgstr "" #: discord.Webhook.delete:5 discord.Webhook.edit:5 discord.Webhook.send:5 of msgid "" -"If the webhook is constructed with a :class:`RequestsWebhookAdapter` then " -"this is not a coroutine." +"If the webhook is constructed with a :class:`RequestsWebhookAdapter` then" +" this is not a coroutine." msgstr "" #: discord.Webhook.delete:8 of @@ -4116,8 +4188,7 @@ msgid ":exc:`NotFound` -- This webhook does not exist." msgstr "" #: discord.Webhook.delete:10 of -msgid "" -":exc:`Forbidden` -- You do not have permissions to delete this webhook." +msgid ":exc:`Forbidden` -- You do not have permissions to delete this webhook." msgstr "" #: discord.Webhook.edit:3 of @@ -4154,15 +4225,15 @@ msgstr "" #: discord.Webhook.send:10 of msgid "" -"To upload a single file, the ``file`` parameter should be used with a single" -" :class:`File` object." +"To upload a single file, the ``file`` parameter should be used with a " +"single :class:`File` object." msgstr "" #: discord.Webhook.send:13 of msgid "" -"If the ``embed`` parameter is provided, it must be of type :class:`Embed` " -"and it must be a rich embed type. You cannot mix the ``embed`` parameter " -"with the ``embeds`` parameter, which must be a :class:`list` of " +"If the ``embed`` parameter is provided, it must be of type :class:`Embed`" +" and it must be a rich embed type. You cannot mix the ``embed`` parameter" +" with the ``embeds`` parameter, which must be a :class:`list` of " ":class:`Embed` objects to send." msgstr "" @@ -4174,21 +4245,21 @@ msgstr "" #: discord.Webhook.send:18 of msgid "" -"Whether the server should wait before sending a response. This essentially " -"means that the return type of this function changes from ``None`` to a " -":class:`Message` if set to ``True``." +"Whether the server should wait before sending a response. This " +"essentially means that the return type of this function changes from " +"``None`` to a :class:`Message` if set to ``True``." msgstr "" #: discord.Webhook.send:22 of msgid "" -"The username to send with this message. If no username is provided then the " -"default username for the webhook is used." +"The username to send with this message. If no username is provided then " +"the default username for the webhook is used." msgstr "" #: discord.Webhook.send:25 of msgid "" -"The avatar URL to send with this message. If no avatar URL is provided then " -"the default avatar for the webhook is used." +"The avatar URL to send with this message. If no avatar URL is provided " +"then the default avatar for the webhook is used." msgstr "" #: discord.DMChannel.send:18 discord.GroupChannel.send:18 @@ -4197,52 +4268,55 @@ msgstr "" msgid "Indicates if the message should be sent using text-to-speech." msgstr "" -#: discord.DMChannel.send:22 discord.GroupChannel.send:22 -#: discord.Member.send:22 discord.TextChannel.send:22 discord.User.send:22 -#: discord.Webhook.send:30 discord.abc.Messageable.send:22 of -msgid "The file to upload." +#: discord.Webhook.send:30 of +msgid "The file to upload. This cannot be mixed with ``files`` parameter." msgstr "" #: discord.Webhook.send:32 of msgid "" -"The rich embed for the content to send. This cannot be mixed with ``embeds``" -" parameter." +"A list of files to send with the content. This cannot be mixed with the " +"``file`` parameter." msgstr "" #: discord.Webhook.send:35 of msgid "" +"The rich embed for the content to send. This cannot be mixed with " +"``embeds`` parameter." +msgstr "" + +#: discord.Webhook.send:38 of +msgid "" "A list of embeds to send with the content. Maximum of 10. This cannot be " "mixed with the ``embed`` parameter." msgstr "" #: discord.DMChannel.send:34 discord.GroupChannel.send:34 #: discord.Member.send:34 discord.TextChannel.send:34 discord.User.send:34 -#: discord.Webhook.send:39 discord.abc.Messageable.send:34 of +#: discord.Webhook.send:42 discord.abc.Messageable.send:34 of msgid ":exc:`HTTPException` -- Sending the message failed." msgstr "" -#: discord.Webhook.send:40 of +#: discord.Webhook.send:43 of msgid ":exc:`NotFound` -- This webhook was not found." msgstr "" -#: discord.Webhook.send:41 of -msgid "" -":exc:`Forbidden` -- The authorization token for the webhook is incorrect." +#: discord.Webhook.send:44 of +msgid ":exc:`Forbidden` -- The authorization token for the webhook is incorrect." msgstr "" -#: discord.Webhook.send:42 of +#: discord.Webhook.send:45 of msgid "" -":exc:`InvalidArgument` -- You specified both ``embed`` and ``embeds`` or the" -" length of ``embeds`` was invalid." +":exc:`InvalidArgument` -- You specified both ``embed`` and ``embeds`` or " +"the length of ``embeds`` was invalid." msgstr "" #: discord.DMChannel.send:39 discord.GroupChannel.send:39 #: discord.Member.send:39 discord.TextChannel.send:39 discord.User.send:39 -#: discord.Webhook.send:45 discord.abc.Messageable.send:39 of +#: discord.Webhook.send:48 discord.abc.Messageable.send:39 of msgid "The message that was sent." msgstr "" -#: discord.Webhook.send:46 of +#: discord.Webhook.send:49 of msgid "Optional[:class:`Message`]" msgstr "" @@ -4250,11 +4324,11 @@ msgstr "" msgid "An alias for :meth:`~.Webhook.send`." msgstr "" -#: ../../api.rst:1756 +#: ../../api.rst:1792 msgid "Adapters" msgstr "" -#: ../../api.rst:1758 +#: ../../api.rst:1794 msgid "" "Adapters allow you to change how the request should be handled. They all " "build on a single interface, :meth:`WebhookAdapter.request`." @@ -4269,23 +4343,20 @@ msgid ":class:`Webhook` -- The webhook that owns this adapter." msgstr "" #: discord.AsyncWebhookAdapter.request:1 -#: discord.RequestsWebhookAdapter.request:1 discord.WebhookAdapter.request:1 -#: of +#: discord.RequestsWebhookAdapter.request:1 discord.WebhookAdapter.request:1 of msgid "Actually does the request." msgstr "" #: discord.AsyncWebhookAdapter.request:5 -#: discord.RequestsWebhookAdapter.request:5 discord.WebhookAdapter.request:5 -#: of +#: discord.RequestsWebhookAdapter.request:5 discord.WebhookAdapter.request:5 of msgid "The HTTP verb to use for the request." msgstr "" #: discord.AsyncWebhookAdapter.request:7 -#: discord.RequestsWebhookAdapter.request:7 discord.WebhookAdapter.request:7 -#: of +#: discord.RequestsWebhookAdapter.request:7 discord.WebhookAdapter.request:7 of msgid "" -"The URL to send the request to. This will have the query parameters already " -"added to it, if any." +"The URL to send the request to. This will have the query parameters " +"already added to it, if any." msgstr "" #: discord.AsyncWebhookAdapter.request:10 @@ -4293,8 +4364,9 @@ msgstr "" #: of msgid "" "A dict containing multipart form data to send with the request. If a " -"filename is being uploaded, then it will be under a ``file`` key which will " -"have a 3-element :class:`tuple` denoting ``(filename, file, content_type)``." +"filename is being uploaded, then it will be under a ``file`` key which " +"will have a 3-element :class:`tuple` denoting ``(filename, file, " +"content_type)``." msgstr "" #: discord.AsyncWebhookAdapter.request:15 @@ -4306,8 +4378,7 @@ msgstr "" #: discord.AsyncWebhookAdapter.handle_execution_response:1 #: discord.RequestsWebhookAdapter.handle_execution_response:1 #: discord.WebhookAdapter.handle_execution_response:1 of -msgid "" -"Transforms the webhook execution response into something more meaningful." +msgid "Transforms the webhook execution response into something more meaningful." msgstr "" #: discord.AsyncWebhookAdapter.handle_execution_response:4 @@ -4353,36 +4424,36 @@ msgstr "" #: discord.RequestsWebhookAdapter:5 of msgid "" "The requests session to use for sending requests. If not given then each " -"request will create a new session. Note if a session is given, the webhook " -"adapter **will not** clean it up for you. You must close the session " -"yourself." +"request will create a new session. Note if a session is given, the " +"webhook adapter **will not** clean it up for you. You must close the " +"session yourself." msgstr "" #: discord.RequestsWebhookAdapter:10 of msgid "" "Whether to sleep the thread when encountering a 429 or pre-emptive rate " -"limit or a 5xx status code. Defaults to ``True``. If set to ``False`` then " -"this will raise an :exc:`HTTPException` instead." +"limit or a 5xx status code. Defaults to ``True``. If set to ``False`` " +"then this will raise an :exc:`HTTPException` instead." msgstr "" -#: ../../api.rst:1773 +#: ../../api.rst:1809 msgid "Abstract Base Classes" msgstr "抽象基底クラス" -#: ../../api.rst:1775 +#: ../../api.rst:1811 msgid "" -"An abstract base class (also known as an ``abc``) is a class that models can" -" inherit to get their behaviour. The Python implementation of an `abc " -"`_ is slightly different in that" -" you can register them at run-time. **Abstract base classes cannot be " -"instantiated**. They are mainly there for usage with ``isinstance`` and " +"An abstract base class (also known as an ``abc``) is a class that models " +"can inherit to get their behaviour. The Python implementation of an `abc " +"`_ is slightly different in " +"that you can register them at run-time. **Abstract base classes cannot be" +" instantiated**. They are mainly there for usage with ``isinstance`` and " "``issubclass``\\." msgstr "" -#: ../../api.rst:1780 +#: ../../api.rst:1816 msgid "" -"This library has a module related to abstract base classes, some of which " -"are actually from the ``abc`` standard module, others which are not." +"This library has a module related to abstract base classes, some of which" +" are actually from the ``abc`` standard module, others which are not." msgstr "" #: discord.abc.Snowflake:1 of @@ -4408,8 +4479,7 @@ msgid "An ABC that details the common operations on a Discord user." msgstr "" #: discord.abc.Connectable:4 discord.abc.GuildChannel:3 -#: discord.abc.Messageable:3 discord.abc.PrivateChannel:3 discord.abc.User:3 -#: of +#: discord.abc.Messageable:3 discord.abc.PrivateChannel:3 discord.abc.User:3 of msgid "The following implement this ABC:" msgstr "" @@ -4454,8 +4524,7 @@ msgid "Returns a string that allows you to mention the given user." msgstr "" #: discord.abc.PrivateChannel:1 of -msgid "" -"An ABC that details the common operations on a private Discord channel." +msgid "An ABC that details the common operations on a private Discord channel." msgstr "" #: discord.abc.Messageable:6 discord.abc.PrivateChannel:5 of @@ -4476,7 +4545,7 @@ msgstr "" msgid "An ABC that details the common operations on a Discord guild channel." msgstr "" -#: discord.Guild.create_text_channel:49 discord.abc.GuildChannel:5 +#: discord.Guild.create_text_channel:65 discord.abc.GuildChannel:5 #: discord.abc.Messageable:5 of msgid ":class:`TextChannel`" msgstr ":class:`TextChannel`" @@ -4514,14 +4583,15 @@ msgid "" "their default values in the :attr:`Guild.roles` attribute." msgstr "" -#: discord.CategoryChannel.mention:1 discord.TextChannel.mention:1 -#: discord.VoiceChannel.mention:1 discord.abc.GuildChannel.mention:1 of +#: discord.CategoryChannel.mention:1 discord.PartialInviteChannel.mention:1 +#: discord.TextChannel.mention:1 discord.VoiceChannel.mention:1 +#: discord.abc.GuildChannel.mention:1 of msgid ":class:`str` -- The string that allows you to mention the channel." msgstr "" #: discord.CategoryChannel.created_at:1 discord.GroupChannel.created_at:1 -#: discord.TextChannel.created_at:1 discord.VoiceChannel.created_at:1 -#: discord.abc.GuildChannel.created_at:1 of +#: discord.PartialInviteChannel.created_at:1 discord.TextChannel.created_at:1 +#: discord.VoiceChannel.created_at:1 discord.abc.GuildChannel.created_at:1 of msgid "Returns the channel's creation time in UTC." msgstr "" @@ -4534,8 +4604,7 @@ msgstr "" #: discord.CategoryChannel.overwrites_for:3 #: discord.TextChannel.overwrites_for:3 discord.VoiceChannel.overwrites_for:3 #: discord.abc.GuildChannel.overwrites_for:3 of -msgid "" -"The :class:`Role` or :class:`abc.User` denoting whose overwrite to get." +msgid "The :class:`Role` or :class:`abc.User` denoting whose overwrite to get." msgstr "" #: discord.CategoryChannel.overwrites_for:6 @@ -4559,8 +4628,8 @@ msgstr "" #: discord.VoiceChannel.overwrites:3 discord.abc.GuildChannel.overwrites:3 of msgid "" "This is returned as a list of two-element tuples containing the target, " -"which can be either a :class:`Role` or a :class:`Member` and the overwrite " -"as the second element as a :class:`PermissionOverwrite`." +"which can be either a :class:`Role` or a :class:`Member` and the " +"overwrite as the second element as a :class:`PermissionOverwrite`." msgstr "" #: discord.CategoryChannel.overwrites:7 discord.TextChannel.overwrites:7 @@ -4578,7 +4647,8 @@ msgstr "" #: discord.CategoryChannel.category:1 discord.TextChannel.category:1 #: discord.VoiceChannel.category:1 discord.abc.GuildChannel.category:1 of msgid "" -"Optional[:class:`CategoryChannel`] -- The category this channel belongs to." +"Optional[:class:`CategoryChannel`] -- The category this channel belongs " +"to." msgstr "" #: discord.CategoryChannel.category:3 discord.TextChannel.category:3 @@ -4587,43 +4657,37 @@ msgid "If there is no category then this is ``None``." msgstr "" #: discord.CategoryChannel.permissions_for:1 -#: discord.TextChannel.permissions_for:1 -#: discord.VoiceChannel.permissions_for:1 +#: discord.TextChannel.permissions_for:1 discord.VoiceChannel.permissions_for:1 #: discord.abc.GuildChannel.permissions_for:1 of msgid "Handles permission resolution for the current :class:`Member`." msgstr "" #: discord.CategoryChannel.permissions_for:3 -#: discord.TextChannel.permissions_for:3 -#: discord.VoiceChannel.permissions_for:3 +#: discord.TextChannel.permissions_for:3 discord.VoiceChannel.permissions_for:3 #: discord.abc.GuildChannel.permissions_for:3 of msgid "This function takes into consideration the following cases:" msgstr "" #: discord.CategoryChannel.permissions_for:5 -#: discord.TextChannel.permissions_for:5 -#: discord.VoiceChannel.permissions_for:5 +#: discord.TextChannel.permissions_for:5 discord.VoiceChannel.permissions_for:5 #: discord.abc.GuildChannel.permissions_for:5 of msgid "Guild owner" msgstr "" #: discord.CategoryChannel.permissions_for:6 -#: discord.TextChannel.permissions_for:6 -#: discord.VoiceChannel.permissions_for:6 +#: discord.TextChannel.permissions_for:6 discord.VoiceChannel.permissions_for:6 #: discord.abc.GuildChannel.permissions_for:6 of msgid "Guild roles" msgstr "" #: discord.CategoryChannel.permissions_for:7 -#: discord.TextChannel.permissions_for:7 -#: discord.VoiceChannel.permissions_for:7 +#: discord.TextChannel.permissions_for:7 discord.VoiceChannel.permissions_for:7 #: discord.abc.GuildChannel.permissions_for:7 of msgid "Channel overrides" msgstr "" #: discord.CategoryChannel.permissions_for:8 -#: discord.TextChannel.permissions_for:8 -#: discord.VoiceChannel.permissions_for:8 +#: discord.TextChannel.permissions_for:8 discord.VoiceChannel.permissions_for:8 #: discord.abc.GuildChannel.permissions_for:8 of msgid "Member overrides" msgstr "" @@ -4643,8 +4707,7 @@ msgid "The resolved permissions for the member." msgstr "" #: discord.CategoryChannel.permissions_for:14 -#: discord.DMChannel.permissions_for:17 -#: discord.GroupChannel.permissions_for:18 +#: discord.DMChannel.permissions_for:17 discord.GroupChannel.permissions_for:18 #: discord.TextChannel.permissions_for:14 #: discord.VoiceChannel.permissions_for:14 #: discord.abc.GuildChannel.permissions_for:14 of @@ -4661,16 +4724,16 @@ msgstr "" #: discord.VoiceChannel.create_invite:5 #: discord.abc.GuildChannel.create_invite:5 of msgid "" -"You must have :attr:`~.Permissions.create_instant_invite` permission to do " -"this." +"You must have :attr:`~.Permissions.create_instant_invite` permission to " +"do this." msgstr "" #: discord.CategoryChannel.create_invite:8 discord.TextChannel.create_invite:8 #: discord.VoiceChannel.create_invite:8 #: discord.abc.GuildChannel.create_invite:8 of msgid "" -"How long the invite should last. If it's 0 then the invite doesn't expire. " -"Defaults to 0." +"How long the invite should last. If it's 0 then the invite doesn't " +"expire. Defaults to 0." msgstr "" #: discord.CategoryChannel.create_invite:11 @@ -4685,8 +4748,8 @@ msgstr "" #: discord.TextChannel.create_invite:14 discord.VoiceChannel.create_invite:14 #: discord.abc.GuildChannel.create_invite:14 of msgid "" -"Denotes that the invite grants temporary membership (i.e. they get kicked " -"after they disconnect). Defaults to False." +"Denotes that the invite grants temporary membership (i.e. they get kicked" +" after they disconnect). Defaults to False." msgstr "" #: discord.CategoryChannel.create_invite:17 @@ -4723,7 +4786,8 @@ msgstr "" #: discord.CategoryChannel.delete:5 discord.TextChannel.delete:5 #: discord.VoiceChannel.delete:5 discord.abc.GuildChannel.delete:5 of msgid "" -"You must have :attr:`~.Permissions.manage_channels` permission to use this." +"You must have :attr:`~.Permissions.manage_channels` permission to use " +"this." msgstr "" #: discord.CategoryChannel.delete:7 discord.TextChannel.delete:7 @@ -4755,8 +4819,7 @@ msgstr "" #: discord.CategoryChannel.invites:5 discord.TextChannel.invites:5 #: discord.VoiceChannel.invites:5 discord.abc.GuildChannel.invites:5 of -msgid "" -"You must have :attr:`~.Permissions.manage_guild` to get this information." +msgid "You must have :attr:`~.Permissions.manage_guild` to get this information." msgstr "" #: discord.CategoryChannel.invites:7 discord.Guild.bans:13 @@ -4772,8 +4835,7 @@ msgstr "" #: discord.Guild.get_ban:15 discord.Guild.invites:9 #: discord.TextChannel.invites:8 discord.VoiceChannel.invites:8 #: discord.abc.GuildChannel.invites:8 of -msgid "" -":exc:`HTTPException` -- An error occurred while fetching the information." +msgid ":exc:`HTTPException` -- An error occurred while fetching the information." msgstr "" #: discord.CategoryChannel.invites:10 discord.Guild.invites:11 @@ -4789,16 +4851,15 @@ msgid "List[:class:`Invite`]" msgstr "List[:class:`Invite`]" #: discord.CategoryChannel.set_permissions:3 -#: discord.TextChannel.set_permissions:3 -#: discord.VoiceChannel.set_permissions:3 +#: discord.TextChannel.set_permissions:3 discord.VoiceChannel.set_permissions:3 #: discord.abc.GuildChannel.set_permissions:3 of msgid "" -"Sets the channel specific permission overwrites for a target in the channel." +"Sets the channel specific permission overwrites for a target in the " +"channel." msgstr "" #: discord.CategoryChannel.set_permissions:6 -#: discord.TextChannel.set_permissions:6 -#: discord.VoiceChannel.set_permissions:6 +#: discord.TextChannel.set_permissions:6 discord.VoiceChannel.set_permissions:6 #: discord.abc.GuildChannel.set_permissions:6 of msgid "" "The ``target`` parameter should either be a :class:`Member` or a " @@ -4806,14 +4867,13 @@ msgid "" msgstr "" #: discord.CategoryChannel.set_permissions:9 -#: discord.TextChannel.set_permissions:9 -#: discord.VoiceChannel.set_permissions:9 +#: discord.TextChannel.set_permissions:9 discord.VoiceChannel.set_permissions:9 #: discord.abc.GuildChannel.set_permissions:9 of msgid "" "The ``overwrite`` parameter, if given, must either be ``None`` or " ":class:`PermissionOverwrite`. For convenience, you can pass in keyword " -"arguments denoting :class:`Permissions` attributes. If this is done, then " -"you cannot mix the keyword arguments with the ``overwrite`` parameter." +"arguments denoting :class:`Permissions` attributes. If this is done, then" +" you cannot mix the keyword arguments with the ``overwrite`` parameter." msgstr "" #: discord.CategoryChannel.set_permissions:15 @@ -4821,8 +4881,8 @@ msgstr "" #: discord.VoiceChannel.set_permissions:15 #: discord.abc.GuildChannel.set_permissions:15 of msgid "" -"If the ``overwrite`` parameter is ``None``, then the permission overwrites " -"are deleted." +"If the ``overwrite`` parameter is ``None``, then the permission " +"overwrites are deleted." msgstr "" #: discord.CategoryChannel.set_permissions:18 discord.Member.add_roles:5 @@ -4831,7 +4891,8 @@ msgstr "" #: discord.VoiceChannel.set_permissions:18 #: discord.abc.GuildChannel.set_permissions:18 of msgid "" -"You must have the :attr:`~Permissions.manage_roles` permission to use this." +"You must have the :attr:`~Permissions.manage_roles` permission to use " +"this." msgstr "" #: discord.CategoryChannel.set_permissions:22 @@ -4907,7 +4968,8 @@ msgstr "" #: discord.VoiceChannel.set_permissions:48 #: discord.abc.GuildChannel.set_permissions:48 of msgid "" -":exc:`NotFound` -- The role or member being edited is not part of the guild." +":exc:`NotFound` -- The role or member being edited is not part of the " +"guild." msgstr "" #: discord.CategoryChannel.set_permissions:49 @@ -4915,13 +4977,14 @@ msgstr "" #: discord.VoiceChannel.set_permissions:49 #: discord.abc.GuildChannel.set_permissions:49 of msgid "" -":exc:`InvalidArgument` -- The overwrite parameter invalid or the target type" -" was not :class:`Role` or :class:`Member`." +":exc:`InvalidArgument` -- The overwrite parameter invalid or the target " +"type was not :class:`Role` or :class:`Member`." msgstr "" #: discord.abc.Messageable:1 of msgid "" -"An ABC that details the common operations on a model that can send messages." +"An ABC that details the common operations on a model that can send " +"messages." msgstr "" #: discord.abc.Messageable:10 of @@ -4932,16 +4995,16 @@ msgstr ":class:`~ext.commands.Context`" #: discord.Member.history:1 discord.TextChannel.history:1 #: discord.User.history:1 discord.abc.Messageable.history:1 of msgid "" -"Return an :class:`AsyncIterator` that enables receiving the destination's " -"message history." +"Return an :class:`AsyncIterator` that enables receiving the destination's" +" message history." msgstr "チャンネルのメッセージ履歴を取得する :class:`AsyncIterator` を返します。" #: discord.DMChannel.history:3 discord.GroupChannel.history:3 #: discord.Member.history:3 discord.TextChannel.history:3 #: discord.User.history:3 discord.abc.Messageable.history:3 of msgid "" -"You must have :attr:`~.Permissions.read_message_history` permissions to use " -"this." +"You must have :attr:`~.Permissions.read_message_history` permissions to " +"use this." msgstr "これを行うためには、そのチャンネルの :attr:`~.Permissions.read_message_history` 権限が必要です。" #: discord.DMChannel.history:5 discord.GroupChannel.history:5 @@ -4955,34 +5018,34 @@ msgstr "" #: discord.Member.history:7 discord.TextChannel.history:7 #: discord.User.history:7 discord.abc.Messageable.history:7 of msgid "" -"The number of messages to retrieve. If ``None``, retrieves every message in " -"the channel. Note, however, that this would make it a slow operation." +"The number of messages to retrieve. If ``None``, retrieves every message " +"in the channel. Note, however, that this would make it a slow operation." msgstr "" #: discord.DMChannel.history:11 discord.GroupChannel.history:11 #: discord.Member.history:11 discord.TextChannel.history:11 #: discord.User.history:11 discord.abc.Messageable.history:11 of msgid "" -"Retrieve messages before this date or message. If a date is provided it must" -" be a timezone-naive datetime representing UTC time." +"Retrieve messages before this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time." msgstr "" #: discord.DMChannel.history:14 discord.GroupChannel.history:14 #: discord.Member.history:14 discord.TextChannel.history:14 #: discord.User.history:14 discord.abc.Messageable.history:14 of msgid "" -"Retrieve messages after this date or message. If a date is provided it must " -"be a timezone-naive datetime representing UTC time." +"Retrieve messages after this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time." msgstr "" #: discord.DMChannel.history:17 discord.GroupChannel.history:17 #: discord.Member.history:17 discord.TextChannel.history:17 #: discord.User.history:17 discord.abc.Messageable.history:17 of msgid "" -"Retrieve messages around this date or message. If a date is provided it must" -" be a timezone-naive datetime representing UTC time. When using this " -"argument, the maximum limit is 101. Note that if the limit is an even number" -" then this will return at most limit + 1 messages." +"Retrieve messages around this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time. When using this " +"argument, the maximum limit is 101. Note that if the limit is an even " +"number then this will return at most limit + 1 messages." msgstr "" #: discord.DMChannel.history:22 discord.GroupChannel.history:22 @@ -4990,9 +5053,9 @@ msgstr "" #: discord.User.history:22 discord.abc.Messageable.history:22 of msgid "" "If set to true, return messages in oldest->newest order. If unspecified, " -"this defaults to ``False`` for most cases. However if passing in a ``after``" -" parameter then this is set to ``True``. This avoids getting messages out of" -" order in the ``after`` case." +"this defaults to ``False`` for most cases. However if passing in a " +"``after`` parameter then this is set to ``True``. This avoids getting " +"messages out of order in the ``after`` case." msgstr "" #: discord.DMChannel.history:28 discord.GroupChannel.history:28 @@ -5040,8 +5103,8 @@ msgstr "" #: discord.Member.typing:1 discord.TextChannel.typing:1 discord.User.typing:1 #: discord.abc.Messageable.typing:1 of msgid "" -"Returns a context manager that allows you to type for an indefinite period " -"of time." +"Returns a context manager that allows you to type for an indefinite " +"period of time." msgstr "" #: discord.DMChannel.typing:3 discord.GroupChannel.typing:3 @@ -5054,8 +5117,8 @@ msgstr "" #: discord.Member.typing:7 discord.TextChannel.typing:7 discord.User.typing:7 #: discord.abc.Messageable.typing:7 of msgid "" -"This is both a regular context manager and an async context manager. This " -"means that both ``with`` and ``async with`` work with this." +"This is both a regular context manager and an async context manager. This" +" means that both ``with`` and ``async with`` work with this." msgstr "" #: discord.DMChannel.typing:10 discord.GroupChannel.typing:10 @@ -5140,26 +5203,26 @@ msgstr "" #: discord.abc.Messageable.send:5 of msgid "" "The content must be a type that can convert to a string through " -"``str(content)``. If the content is set to ``None`` (the default), then the " -"``embed`` parameter must be provided." +"``str(content)``. If the content is set to ``None`` (the default), then " +"the ``embed`` parameter must be provided." msgstr "" #: discord.DMChannel.send:9 discord.GroupChannel.send:9 discord.Member.send:9 #: discord.TextChannel.send:9 discord.User.send:9 #: discord.abc.Messageable.send:9 of msgid "" -"To upload a single file, the ``file`` parameter should be used with a single" -" :class:`File` object. To upload multiple files, the ``files`` parameter " -"should be used with a :class:`list` of :class:`File` objects. **Specifying " -"both parameters will lead to an exception**." +"To upload a single file, the ``file`` parameter should be used with a " +"single :class:`File` object. To upload multiple files, the ``files`` " +"parameter should be used with a :class:`list` of :class:`File` objects. " +"**Specifying both parameters will lead to an exception**." msgstr "" #: discord.DMChannel.send:14 discord.GroupChannel.send:14 #: discord.Member.send:14 discord.TextChannel.send:14 discord.User.send:14 #: discord.abc.Messageable.send:14 of msgid "" -"If the ``embed`` parameter is provided, it must be of type :class:`Embed` " -"and it must be a rich embed type." +"If the ``embed`` parameter is provided, it must be of type :class:`Embed`" +" and it must be a rich embed type." msgstr "" #: discord.DMChannel.send:20 discord.GroupChannel.send:20 @@ -5168,6 +5231,12 @@ msgstr "" msgid "The rich embed for the content." msgstr "" +#: discord.DMChannel.send:22 discord.GroupChannel.send:22 +#: discord.Member.send:22 discord.TextChannel.send:22 discord.User.send:22 +#: discord.abc.Messageable.send:22 of +msgid "The file to upload." +msgstr "" + #: discord.DMChannel.send:24 discord.GroupChannel.send:24 #: discord.Member.send:24 discord.TextChannel.send:24 discord.User.send:24 #: discord.abc.Messageable.send:24 of @@ -5178,17 +5247,17 @@ msgstr "" #: discord.Member.send:26 discord.TextChannel.send:26 discord.User.send:26 #: discord.abc.Messageable.send:26 of msgid "" -"The nonce to use for sending this message. If the message was successfully " -"sent, then the message will have a nonce with this value." +"The nonce to use for sending this message. If the message was " +"successfully sent, then the message will have a nonce with this value." msgstr "" #: discord.DMChannel.send:29 discord.GroupChannel.send:29 #: discord.Member.send:29 discord.TextChannel.send:29 discord.User.send:29 #: discord.abc.Messageable.send:29 of msgid "" -"If provided, the number of seconds to wait in the background before deleting" -" the message we just sent. If the deletion fails, then it is silently " -"ignored." +"If provided, the number of seconds to wait in the background before " +"deleting the message we just sent. If the deletion fails, then it is " +"silently ignored." msgstr "" #: discord.DMChannel.send:35 discord.GroupChannel.send:35 @@ -5203,8 +5272,8 @@ msgstr "" #: discord.Member.send:36 discord.TextChannel.send:36 discord.User.send:36 #: discord.abc.Messageable.send:36 of msgid "" -":exc:`InvalidArgument` -- The ``files`` list is not of the appropriate size " -"or you specified both ``file`` and ``files``." +":exc:`InvalidArgument` -- The ``files`` list is not of the appropriate " +"size or you specified both ``file`` and ``files``." msgstr "" #: discord.DMChannel.trigger_typing:3 discord.GroupChannel.trigger_typing:3 @@ -5223,27 +5292,27 @@ msgstr "" #: discord.abc.Connectable:1 of msgid "" -"An ABC that details the common operations on a channel that can connect to a" -" voice server." +"An ABC that details the common operations on a channel that can connect " +"to a voice server." msgstr "" -#: ../../api.rst:1810 +#: ../../api.rst:1846 msgid "Discord Models" msgstr "Discordモデル" -#: ../../api.rst:1812 +#: ../../api.rst:1848 msgid "" -"Models are classes that are received from Discord and are not meant to be " -"created by the user of the library." +"Models are classes that are received from Discord and are not meant to be" +" created by the user of the library." msgstr "モデルはDiscordから受け取るクラスであり、ユーザーによって作成されることを想定していません。" -#: ../../api.rst:1817 +#: ../../api.rst:1853 msgid "" -"The classes listed below are **not intended to be created by users** and are" -" also **read-only**." +"The classes listed below are **not intended to be created by users** and " +"are also **read-only**." msgstr "下記のクラスは、 **ユーザーによって作成されることを想定しておらず** 、中には **読み取り専用** のものもあります。" -#: ../../api.rst:1820 +#: ../../api.rst:1856 msgid "" "For example, this means that you should not make your own :class:`User` " "instances nor should you modify the :class:`User` instance yourself." @@ -5251,32 +5320,34 @@ msgstr "" "つまり、独自の :class:`User` を作成は行うべきではなく、また、 :class:`User` " "インスタンスの値の変更もするべきではありません。" -#: ../../api.rst:1823 +#: ../../api.rst:1859 msgid "" -"If you want to get one of these model classes instances they'd have to be " -"through the cache, and a common way of doing so is through the " -":func:`utils.find` function or attributes of model classes that you receive " -"from the events specified in the :ref:`discord-api-events`." +"If you want to get one of these model classes instances they'd have to be" +" through the cache, and a common way of doing so is through the " +":func:`utils.find` function or attributes of model classes that you " +"receive from the events specified in the :ref:`discord-api-events`." msgstr "" "このようなモデルクラスのインスタンスを取得したい場合は、 キャッシュを経由して取得する必要があります。一般的な方法としては " ":func:`utils.find` 関数を用いるか、 :ref:`discord-api-events` " "の特定のイベントから受け取る方法が挙げられます。" -#: ../../api.rst:1830 ../../api.rst:2056 +#: ../../api.rst:1866 ../../api.rst:2103 msgid "" -"Nearly all classes here have ``__slots__`` defined which means that it is " -"impossible to have dynamic attributes to the data classes." +"Nearly all classes here have ``__slots__`` defined which means that it is" +" impossible to have dynamic attributes to the data classes." msgstr "ほぼすべてのクラスに ``__slots__`` が定義されています。つまり、データクラスに動的に変数を追加することは不可能です。" -#: ../../api.rst:1833 ../../api.rst:2062 +#: ../../api.rst:1869 ../../api.rst:2109 msgid "" -"More information about ``__slots__`` can be found `in the official python " -"documentation `_." +"More information about ``__slots__`` can be found `in the official python" +" documentation " +"`_." msgstr "" "``__slots__`` の詳細は `公式のPythonドキュメント " -"`_ を参照してください。" +"`_ " +"を参照してください。" -#: ../../api.rst:1838 +#: ../../api.rst:1874 msgid "ClientUser" msgstr "クライアントユーザー" @@ -5306,8 +5377,8 @@ msgstr ":class:`int` -- ユーザーの固有ID。" #: discord.ClientUser:31 discord.User:31 of msgid "" -":class:`str` -- The user's discriminator. This is given when the username " -"has conflicts." +":class:`str` -- The user's discriminator. This is given when the username" +" has conflicts." msgstr ":class:`str` -- ユーザーのディスクリミネータ。これはユーザー名が重複している際に与えられます。" #: discord.ClientUser:35 discord.User:35 of @@ -5332,10 +5403,16 @@ msgstr ":class:`bool` -- ユーザーが二段階認証を行っているかを #: discord.ClientUser:55 of msgid "" -":class:`bool` -- Specifies if the user is a premium user (e.g. has Discord " -"Nitro)." +":class:`bool` -- Specifies if the user is a premium user (e.g. has " +"Discord Nitro)." msgstr ":class:`bool` -- ユーザーがプレミアムユーザー (例えば Discord Nitro) であるかを表します。" +#: discord.ClientUser:59 of +msgid "" +":class:`PremiumType` -- Specifies the type of premium a user has (e.g. " +"Nitro or Nitro Classic). Could be None if the user is not premium." +msgstr "" + #: discord.ClientUser.get_relationship:1 of msgid "Retrieves the :class:`Relationship` if applicable." msgstr "該当すれば :class:`Relationship` が返ります。" @@ -5357,8 +5434,7 @@ msgid "Returns a :class:`list` of :class:`Relationship` that the user has." msgstr "ユーザーの :class:`Relationship` の :class:`list` が返ります。" #: discord.ClientUser.friends:1 of -msgid "" -"Returns a :class:`list` of :class:`User`\\s that the user is friends with." +msgid "Returns a :class:`list` of :class:`User`\\s that the user is friends with." msgstr "ユーザーとフレンドである :class:`User` の :class:`list` が返ります。" #: discord.ClientUser.blocked:1 of @@ -5375,8 +5451,8 @@ msgstr "ユーザーのアバターのURLを返します。" #: discord.Member.avatar_url_as:3 discord.User.avatar_url:3 #: discord.User.avatar_url_as:3 of msgid "" -"If the user does not have a traditional avatar, their default avatar URL is " -"returned instead." +"If the user does not have a traditional avatar, their default avatar URL " +"is returned instead." msgstr "ユーザーがアバターを設定していない場合、デフォルトのアバターのURLが返ります。" #: discord.ClientUser.avatar_url:6 discord.User.avatar_url:6 of @@ -5390,18 +5466,17 @@ msgstr "" #: discord.ClientUser.avatar_url_as:6 discord.Member.avatar_url_as:6 #: discord.User.avatar_url_as:6 of msgid "" -"The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif', and 'gif' " -"is only valid for animated avatars. The size must be a power of 2 between 16" -" and 1024." -msgstr "" -"フォーマットは「webp」「jpeg」「jpg」「png」または「gif」である必要があり、「gif」はアニメーションアバターにのみ使用可能です。サイズは2の累乗値かつ16以上1024以下である必要があります。" +"The format must be one of 'webp', 'jpeg', 'jpg', 'png' or 'gif', and " +"'gif' is only valid for animated avatars. The size must be a power of 2 " +"between 16 and 1024." +msgstr "フォーマットは「webp」「jpeg」「jpg」「png」または「gif」である必要があり、「gif」はアニメーションアバターにのみ使用可能です。サイズは2の累乗値かつ16以上1024以下である必要があります。" #: discord.ClientUser.avatar_url_as:10 discord.Member.avatar_url_as:10 #: discord.User.avatar_url_as:10 of msgid "" -"The format to attempt to convert the avatar to. If the format is ``None``, " -"then it is automatically detected into either 'gif' or static_format " -"depending on the avatar being animated or not." +"The format to attempt to convert the avatar to. If the format is " +"``None``, then it is automatically detected into either 'gif' or " +"static_format depending on the avatar being animated or not." msgstr "" "アバターのフォーマット。 ``None`` の場合はアニメーションアバターなら 「gif」、それ以外は static_format " "のフォーマットに自動的に変換されます。" @@ -5425,10 +5500,11 @@ msgstr "" #: discord.ClientUser.color:1 discord.ClientUser.colour:1 discord.User.color:1 #: discord.User.colour:1 of msgid "" -"A property that returns a :class:`Colour` denoting the rendered colour for " -"the user. This always returns :meth:`Colour.default`." +"A property that returns a :class:`Colour` denoting the rendered colour " +"for the user. This always returns :meth:`Colour.default`." msgstr "" -"レンダリング済みカラーを表す :class:`Colour` を返すプロパティ。これは常に :meth:`Colour.default` を返します。" +"レンダリング済みカラーを表す :class:`Colour` を返すプロパティ。これは常に :meth:`Colour.default` " +"を返します。" #: discord.ClientUser.color:4 discord.ClientUser.colour:4 #: discord.Member.color:5 discord.Member.colour:5 discord.User.color:4 @@ -5481,8 +5557,7 @@ msgid "" "user's discriminator" msgstr "" -#: discord.ClientUser.default_avatar_url:1 discord.User.default_avatar_url:1 -#: of +#: discord.ClientUser.default_avatar_url:1 discord.User.default_avatar_url:1 of msgid "Returns a URL for a user's default avatar." msgstr "" @@ -5499,16 +5574,16 @@ msgstr "" #: discord.ClientUser.edit:5 of msgid "" -"If a bot account is used then a password field is optional, otherwise it is " -"required." +"If a bot account is used then a password field is optional, otherwise it " +"is required." msgstr "" #: discord.ClientUser.edit:10 of msgid "" -"To upload an avatar, a :term:`py:bytes-like object` must be passed in that " -"represents the image being uploaded. If this is done through a file then the" -" file must be opened via ``open('some_filename', 'rb')`` and the :term:`py" -":bytes-like object` is given through the use of ``fp.read()``." +"To upload an avatar, a :term:`py:bytes-like object` must be passed in " +"that represents the image being uploaded. If this is done through a file " +"then the file must be opened via ``open('some_filename', 'rb')`` and the " +":term:`py:bytes-like object` is given through the use of ``fp.read()``." msgstr "" #: discord.ClientUser.edit:15 of @@ -5522,8 +5597,7 @@ msgid "" msgstr "" #: discord.ClientUser.edit:20 of -msgid "" -"The new password you wish to change to. Only applicable to user accounts." +msgid "The new password you wish to change to. Only applicable to user accounts." msgstr "" #: discord.ClientUser.edit:23 of @@ -5532,8 +5606,8 @@ msgstr "" #: discord.ClientUser.edit:26 of msgid "" -"The hypesquad house you wish to change to. Could be ``None`` to leave the " -"current house. Only applicable to user accounts." +"The hypesquad house you wish to change to. Could be ``None`` to leave the" +" current house. Only applicable to user accounts." msgstr "" #: discord.ClientUser.edit:30 of @@ -5542,8 +5616,8 @@ msgstr "" #: discord.ClientUser.edit:32 of msgid "" -"A :term:`py:bytes-like object` representing the image to upload. Could be " -"``None`` to denote no avatar." +"A :term:`py:bytes-like object` representing the image to upload. Could be" +" ``None`` to denote no avatar." msgstr "" #: discord.ClientUser.edit:36 of @@ -5556,8 +5630,8 @@ msgstr "" #: discord.ClientUser.edit:38 of msgid "" -":exc:`ClientException` -- Password is required for non-bot accounts. House " -"field was not a HypeSquadHouse." +":exc:`ClientException` -- Password is required for non-bot accounts. " +"House field was not a HypeSquadHouse." msgstr "" #: discord.ClientUser.is_avatar_animated:1 discord.Member.is_avatar_animated:1 @@ -5589,7 +5663,7 @@ msgstr "" msgid "The channel to check your permissions for." msgstr "" -#: ../../api.rst:1845 +#: ../../api.rst:1881 msgid "Relationship" msgstr "リレーションシップ" @@ -5599,8 +5673,8 @@ msgstr "" #: discord.Relationship:3 of msgid "" -"A relationship is like a friendship, a person who is blocked, etc. Only non-" -"bot accounts can have relationships." +"A relationship is like a friendship, a person who is blocked, etc. Only " +"non-bot accounts can have relationships." msgstr "" #: discord.Relationship:8 of @@ -5627,7 +5701,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Deleting the relationship failed." msgstr "" -#: ../../api.rst:1851 +#: ../../api.rst:1887 msgid "User" msgstr "ユーザー" @@ -5655,10 +5729,6 @@ msgstr "" msgid ":class:`bool`: Checks if the user is your friend." msgstr ":class:`bool`: ユーザーがあなたのフレンドかどうか確認します。" -#: discord.Member.is_blocked:1 discord.User.is_blocked:1 of -msgid ":class:`bool`: Checks if the user is blocked." -msgstr ":class:`bool`: ユーザーがあなたによってブロックされているかどうか確認します。" - #: discord.Member.block:3 discord.User.block:3 of msgid "Blocks the user." msgstr "ユーザーをブロックします。" @@ -5677,9 +5747,39 @@ msgstr "このユーザーと :class:`DMChannel` を作ります。" #: discord.Member.create_dm:3 discord.User.create_dm:3 of msgid "" -"This should be rarely called, as this is done transparently for most people." +"This should be rarely called, as this is done transparently for most " +"people." msgstr "" +#: discord.Member.is_blocked:1 discord.User.is_blocked:1 of +msgid ":class:`bool`: Checks if the user is blocked." +msgstr ":class:`bool`: ユーザーがあなたによってブロックされているかどうか確認します。" + +#: discord.Member.mutual_friends:3 discord.User.mutual_friends:3 of +msgid "" +"Gets all mutual friends of this user. This can only be used by non-bot " +"accounts" +msgstr "" + +#: discord.Member.mutual_friends:5 discord.User.mutual_friends:5 of +msgid "The users that are mutual friends." +msgstr "" + +#: discord.Member.mutual_friends:6 discord.User.mutual_friends:6 of +#, fuzzy +msgid "List[:class:`User`]" +msgstr "List[:class:`Invite`]" + +#: discord.Member.mutual_friends:8 discord.User.mutual_friends:8 of +#, fuzzy +msgid ":exc:`Forbidden` -- Not allowed to get mutual friends of this user." +msgstr ":exc:`Forbidden` -- このユーザーをブロックすることが認められていない。" + +#: discord.Member.mutual_friends:9 discord.User.mutual_friends:9 of +#, fuzzy +msgid ":exc:`HTTPException` -- Getting mutual friends failed." +msgstr ":exc:`HTTPException` -- 招待の取得に失敗した。" + #: discord.Member.profile:3 discord.User.profile:3 of msgid "Gets the user's profile. This can only be used by non-bot accounts." msgstr "" @@ -5720,7 +5820,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Unblocking the user failed." msgstr "" -#: ../../api.rst:1865 +#: ../../api.rst:1901 msgid "Attachment" msgstr "アタッチメント" @@ -5744,8 +5844,8 @@ msgstr "" #: discord.Attachment:17 of msgid "" -"Optional[:class:`int`] -- The attachment's width, in pixels. Only applicable" -" to images." +"Optional[:class:`int`] -- The attachment's width, in pixels. Only " +"applicable to images." msgstr "" #: discord.Attachment:21 of @@ -5761,8 +5861,12 @@ msgstr "" #: discord.Attachment:30 of msgid "" ":class:`str` -- The proxy URL. This is a cached version of the " -":attr:`~Attachment.url` in the case of images. When the message is deleted, " -"this URL might be valid for a few minutes or not valid at all." +":attr:`~Attachment.url` in the case of images. When the message is " +"deleted, this URL might be valid for a few minutes or not valid at all." +msgstr "" + +#: discord.Attachment.is_spoiler:1 of +msgid ":class:`bool`: Whether this attachment contains a spoiler." msgstr "" #: discord.Attachment.save:3 of @@ -5771,15 +5875,15 @@ msgstr "" #: discord.Attachment.save:5 of msgid "" -"The file-like object to save this attachment to or the filename to use. If a" -" filename is passed then a file is created with that filename and used " -"instead." +"The file-like object to save this attachment to or the filename to use. " +"If a filename is passed then a file is created with that filename and " +"used instead." msgstr "" #: discord.Attachment.save:9 of msgid "" -"Whether to seek to the beginning of the file after saving is successfully " -"done." +"Whether to seek to the beginning of the file after saving is successfully" +" done." msgstr "" #: discord.Attachment.save:13 of @@ -5794,7 +5898,7 @@ msgstr "" msgid "The number of bytes written." msgstr "" -#: ../../api.rst:1871 +#: ../../api.rst:1907 msgid "Message" msgstr "メッセージ" @@ -5807,15 +5911,14 @@ msgid "There should be no need to create one of these manually." msgstr "" #: discord.Message:7 of -msgid "" -":class:`bool` -- Specifies if the message was done with text-to-speech." +msgid ":class:`bool` -- Specifies if the message was done with text-to-speech." msgstr "" #: discord.Message:11 of msgid "" -":class:`MessageType` -- The type of message. In most cases this should not " -"be checked, but it is helpful in cases where it might be a system message " -"for :attr:`system_content`." +":class:`MessageType` -- The type of message. In most cases this should " +"not be checked, but it is helpful in cases where it might be a system " +"message for :attr:`system_content`." msgstr "" #: discord.Message:16 of @@ -5847,8 +5950,8 @@ msgstr "" #: discord.Message:39 of msgid "" -"Optional[:class:`CallMessage`] -- The call that the message refers to. This " -"is only applicable to messages of type :attr:`MessageType.call`." +"Optional[:class:`CallMessage`] -- The call that the message refers to. " +"This is only applicable to messages of type :attr:`MessageType.call`." msgstr "" #: discord.Message:44 of @@ -5857,36 +5960,38 @@ msgstr "" #: discord.Message:48 of msgid "" -"This does not check if the ``@everyone`` text is in the message itself. " -"Rather this boolean indicates if the ``@everyone`` text is in the message " -"**and** it did end up mentioning everyone." +"This does not check if the ``@everyone`` or the ``@here`` text is in the " +"message itself. Rather this boolean indicates if either the ``@everyone``" +" or the ``@here`` text is in the message **and** it did end up " +"mentioning." msgstr "" #: discord.Message:54 of msgid "" ":class:`list` -- A list of :class:`Member` that were mentioned. If the " "message is in a private message then the list will be of :class:`User` " -"instead. For messages that are not of type :attr:`MessageType.default`\\, " -"this array can be used to aid in system messages. For more information, see " -":attr:`system_content`." +"instead. For messages that are not of type :attr:`MessageType.default`\\," +" this array can be used to aid in system messages. For more information, " +"see :attr:`system_content`." msgstr "" #: discord.Message:61 of msgid "" -"The order of the mentions list is not in any particular order so you should " -"not rely on it. This is a discord limitation, not one with the library." +"The order of the mentions list is not in any particular order so you " +"should not rely on it. This is a discord limitation, not one with the " +"library." msgstr "" #: discord.Message:66 of msgid "" -":class:`list` -- A list of :class:`abc.GuildChannel` that were mentioned. If" -" the message is in a private message then the list is always empty." +":class:`list` -- A list of :class:`abc.GuildChannel` that were mentioned." +" If the message is in a private message then the list is always empty." msgstr "" #: discord.Message:71 of msgid "" -":class:`list` -- A list of :class:`Role` that were mentioned. If the message" -" is in a private message then the list is always empty." +":class:`list` -- A list of :class:`Role` that were mentioned. If the " +"message is in a private message then the list is always empty." msgstr "" #: discord.Message:76 of @@ -5895,8 +6000,8 @@ msgstr ":class:`int` -- メッセージのID." #: discord.Message:80 of msgid "" -"Optional[:class:`int`] -- If this message was sent by a webhook, then this " -"is the webhook ID's that sent this message." +"Optional[:class:`int`] -- If this message was sent by a webhook, then " +"this is the webhook ID's that sent this message." msgstr "" #: discord.Message:85 of @@ -5909,15 +6014,15 @@ msgstr "" #: discord.Message:93 of msgid "" -"List[:class:`Reaction`] -- Reactions to a message. Reactions can be either " -"custom emoji or standard unicode emoji." +"List[:class:`Reaction`] -- Reactions to a message. Reactions can be " +"either custom emoji or standard unicode emoji." msgstr "" #: discord.Message:97 of msgid "" -"Optional[:class:`dict`] -- The activity associated with this message. Sent " -"with Rich-Presence related messages that for example, request joining, " -"spectating, or listening to or with another member." +"Optional[:class:`dict`] -- The activity associated with this message. " +"Sent with Rich-Presence related messages that for example, request " +"joining, spectating, or listening to or with another member." msgstr "" #: discord.Message:100 of @@ -5926,7 +6031,8 @@ msgstr "" #: discord.Message:102 of msgid "" -"``type``: An integer denoting the type of message activity being requested." +"``type``: An integer denoting the type of message activity being " +"requested." msgstr "" #: discord.Message:103 of @@ -5935,8 +6041,8 @@ msgstr "" #: discord.Message:107 of msgid "" -"Optional[:class:`dict`] -- The rich presence enabled application associated " -"with this message." +"Optional[:class:`dict`] -- The rich presence enabled application " +"associated with this message." msgstr "" #: discord.Message:109 of @@ -5977,14 +6083,14 @@ msgstr "" #: discord.Message.raw_mentions:4 of msgid "" -"This allows you to receive the user IDs of mentioned users even in a private" -" message context." +"This allows you to receive the user IDs of mentioned users even in a " +"private message context." msgstr "" #: discord.Message.raw_channel_mentions:1 of msgid "" -"A property that returns an array of channel IDs matched with the syntax of " -"<#channel_id> in the message content." +"A property that returns an array of channel IDs matched with the syntax " +"of <#channel_id> in the message content." msgstr "" #: discord.Message.raw_role_mentions:1 of @@ -5996,13 +6102,12 @@ msgstr "" #: discord.Message.clean_content:1 of msgid "" "A property that returns the content in a \"cleaned up\" manner. This " -"basically means that mentions are transformed into the way the client shows " -"it. e.g. ``<#id>`` will transform into ``#name``." +"basically means that mentions are transformed into the way the client " +"shows it. e.g. ``<#id>`` will transform into ``#name``." msgstr "" #: discord.Message.clean_content:6 of -msgid "" -"This will also transform @everyone and @here mentions into non-mentions." +msgid "This will also transform @everyone and @here mentions into non-mentions." msgstr "" #: discord.Message.created_at:1 of @@ -6011,8 +6116,8 @@ msgstr "" #: discord.Message.edited_at:1 of msgid "" -"*Optional[datetime.datetime]* -- A naive UTC datetime object containing the " -"edited time of the message." +"*Optional[datetime.datetime]* -- A naive UTC datetime object containing " +"the edited time of the message." msgstr "" #: discord.Message.jump_url:1 of @@ -6029,9 +6134,9 @@ msgstr "" #: discord.Message.system_content:4 of msgid "" -"In the case of :attr:`MessageType.default`\\, this just returns the regular " -":attr:`Message.content`. Otherwise this returns an English message denoting " -"the contents of the system message." +"In the case of :attr:`MessageType.default`\\, this just returns the " +"regular :attr:`Message.content`. Otherwise this returns an English " +"message denoting the contents of the system message." msgstr "" #: discord.Message.ack:3 of @@ -6060,12 +6165,13 @@ msgstr "" #: discord.Message.add_reaction:7 of msgid "" -"You must have the :attr:`~Permissions.read_message_history` permission to " -"use this. If nobody else has reacted to the message using this emoji, the " -":attr:`~Permissions.add_reactions` permission is required." +"You must have the :attr:`~Permissions.read_message_history` permission to" +" use this. If nobody else has reacted to the message using this emoji, " +"the :attr:`~Permissions.add_reactions` permission is required." msgstr "" "これを行うためには、そのチャンネルの :attr:`~Permissions.read_message_history` 権限が必要です。 " -"もし、他の人がその絵文字でリアクションしていない場合、さらに :attr:`~Permissions.add_reactions` 権限が必要です。" +"もし、他の人がその絵文字でリアクションしていない場合、さらに :attr:`~Permissions.add_reactions` " +"権限が必要です。" #: discord.Message.add_reaction:11 of msgid "The emoji to react with." @@ -6077,8 +6183,8 @@ msgstr "" #: discord.Message.add_reaction:15 of msgid "" -":exc:`Forbidden` -- You do not have the proper permissions to react to the " -"message." +":exc:`Forbidden` -- You do not have the proper permissions to react to " +"the message." msgstr "" #: discord.Message.add_reaction:16 of @@ -6094,8 +6200,7 @@ msgid "Removes all the reactions from the message." msgstr "" #: discord.Message.clear_reactions:5 of -msgid "" -"You need the :attr:`~Permissions.manage_messages` permission to use this." +msgid "You need the :attr:`~Permissions.manage_messages` permission to use this." msgstr "" #: discord.Message.clear_reactions:7 of @@ -6104,8 +6209,8 @@ msgstr "" #: discord.Message.clear_reactions:8 of msgid "" -":exc:`Forbidden` -- You do not have the proper permissions to remove all the" -" reactions." +":exc:`Forbidden` -- You do not have the proper permissions to remove all " +"the reactions." msgstr "" #: discord.Message.delete:3 of @@ -6114,8 +6219,8 @@ msgstr "" #: discord.Message.delete:5 of msgid "" -"Your own messages could be deleted without any proper permissions. However " -"to delete other people's messages, you need the " +"Your own messages could be deleted without any proper permissions. " +"However to delete other people's messages, you need the " ":attr:`~Permissions.manage_messages` permission." msgstr "" @@ -6141,21 +6246,21 @@ msgstr "" #: discord.Message.edit:7 of msgid "" -"The new content to replace the message with. Could be ``None`` to remove the" -" content." +"The new content to replace the message with. Could be ``None`` to remove " +"the content." msgstr "" #: discord.Message.edit:10 of msgid "" -"The new embed to replace the original with. Could be ``None`` to remove the " -"embed." +"The new embed to replace the original with. Could be ``None`` to remove " +"the embed." msgstr "" #: discord.Message.edit:13 of msgid "" -"If provided, the number of seconds to wait in the background before deleting" -" the message we just edited. If the deletion fails, then it is silently " -"ignored." +"If provided, the number of seconds to wait in the background before " +"deleting the message we just edited. If the deletion fails, then it is " +"silently ignored." msgstr "" #: discord.Message.edit:18 of @@ -6168,8 +6273,8 @@ msgstr "" #: discord.Message.pin:5 discord.Message.unpin:5 of msgid "" -"You must have the :attr:`~Permissions.manage_messages` permission to do this" -" in a non-private channel context." +"You must have the :attr:`~Permissions.manage_messages` permission to do " +"this in a non-private channel context." msgstr "" #: discord.Message.pin:8 of @@ -6192,8 +6297,8 @@ msgstr "" #: discord.Message.remove_reaction:7 of msgid "" -"If the reaction is not your own (i.e. ``member`` parameter is not you) then " -"the :attr:`~Permissions.manage_messages` permission is needed." +"If the reaction is not your own (i.e. ``member`` parameter is not you) " +"then the :attr:`~Permissions.manage_messages` permission is needed." msgstr "" #: discord.Message.remove_reaction:10 of @@ -6210,11 +6315,11 @@ msgstr "" msgid "The member for which to remove the reaction." msgstr "" -#: discord.Message.remove_reaction:18 of +#: discord.Message.remove_reaction:18 discord.Reaction.remove:14 of msgid ":exc:`HTTPException` -- Removing the reaction failed." msgstr "" -#: discord.Message.remove_reaction:19 of +#: discord.Message.remove_reaction:19 discord.Reaction.remove:15 of msgid "" ":exc:`Forbidden` -- You do not have the proper permissions to remove the " "reaction." @@ -6236,7 +6341,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Unpinning the message failed." msgstr "" -#: ../../api.rst:1877 +#: ../../api.rst:1913 msgid "Reaction" msgstr "リアクション" @@ -6252,8 +6357,8 @@ msgstr "" #: discord.Reaction:10 of msgid "" -"Checks if two reactions are equal. This works by checking if the emoji is " -"the same. So two messages with the same reaction will be considered " +"Checks if two reactions are equal. This works by checking if the emoji is" +" the same. So two messages with the same reaction will be considered " "\"equal\"." msgstr "" @@ -6271,8 +6376,8 @@ msgstr "" #: discord.Reaction:28 of msgid "" -":class:`Emoji` or :class:`str` -- The reaction emoji. May be a custom emoji," -" or a unicode emoji." +":class:`Emoji` or :class:`str` -- The reaction emoji. May be a custom " +"emoji, or a unicode emoji." msgstr "" #: discord.Reaction:32 of @@ -6289,8 +6394,8 @@ msgstr "" #: discord.Reaction.users:1 of msgid "" -"Returns an :class:`AsyncIterator` representing the users that have reacted " -"to the message." +"Returns an :class:`AsyncIterator` representing the users that have " +"reacted to the message." msgstr "" #: discord.Reaction.users:3 of @@ -6301,8 +6406,8 @@ msgstr "" #: discord.Reaction.users:6 of msgid "" -"The maximum number of results to return. If not provided, returns all the " -"users who reacted to the message." +"The maximum number of results to return. If not provided, returns all the" +" users who reacted to the message." msgstr "" #: discord.Reaction.users:10 of @@ -6315,8 +6420,8 @@ msgstr "" #: discord.Reaction.users:30 of msgid "" -"Union[:class:`User`, :class:`Member`] -- The member (if retrievable) or the " -"user that has reacted to this message. The case where it can be a " +"Union[:class:`User`, :class:`Member`] -- The member (if retrievable) or " +"the user that has reacted to this message. The case where it can be a " ":class:`Member` is in a guild message context. Sometimes it can be a " ":class:`User` if the member has left the guild." msgstr "" @@ -6325,7 +6430,34 @@ msgstr "" msgid ":class:`bool` -- If this is a custom emoji." msgstr "" -#: ../../api.rst:1887 +#: discord.Reaction.remove:3 of +msgid "Remove the reaction by the provided :class:`User` from the message." +msgstr "" + +#: discord.Reaction.remove:5 of +msgid "" +"If the reaction is not your own (i.e. ``user`` parameter is not you) then" +" the :attr:`discord.permissions.Permissions.manage_messages` permission " +"is needed." +msgstr "" + +#: discord.Reaction.remove:8 of +msgid "" +"The ``user`` parameter must represent a user or member and meet the " +":class:`abc.Snowflake` abc." +msgstr "" + +#: discord.Reaction.remove:11 of +msgid "The user or member from which to remove the reaction." +msgstr "" + +#: discord.Reaction.remove:16 of +msgid "" +":exc:`NotFound` -- The user you specified, or the reaction's message was " +"not found." +msgstr "" + +#: ../../api.rst:1923 msgid "CallMessage" msgstr "コールメッセージ" @@ -6341,8 +6473,8 @@ msgstr "" #: discord.CallMessage:8 of msgid "" -"*Optional[datetime.datetime]* -- A naive UTC datetime object that represents" -" the time that the call has ended." +"*Optional[datetime.datetime]* -- A naive UTC datetime object that " +"represents the time that the call has ended." msgstr "" #: discord.CallMessage:12 of @@ -6361,7 +6493,8 @@ msgstr "" #: discord.CallMessage.channel:1 of msgid "" -":class:`GroupChannel`\\ -- The private channel associated with this message." +":class:`GroupChannel`\\ -- The private channel associated with this " +"message." msgstr "" #: discord.CallMessage.duration:1 of @@ -6376,7 +6509,7 @@ msgstr "" msgid "The timedelta object representing the duration." msgstr "" -#: ../../api.rst:1893 +#: ../../api.rst:1929 msgid "GroupCall" msgstr "グループコール" @@ -6385,13 +6518,11 @@ msgid "Represents the actual group call from Discord." msgstr "" #: discord.GroupCall:3 of -msgid "" -"This is accompanied with a :class:`CallMessage` denoting the information." +msgid "This is accompanied with a :class:`CallMessage` denoting the information." msgstr "" #: discord.GroupCall:7 of -msgid "" -":class:`CallMessage` -- The call message associated with this group call." +msgid ":class:`CallMessage` -- The call message associated with this group call." msgstr "" #: discord.GroupCall:11 of @@ -6400,19 +6531,20 @@ msgstr "" #: discord.GroupCall:15 of msgid "" -"List[:class:`User`] -- A list of users that are currently being rung to join" -" the call." +"List[:class:`User`] -- A list of users that are currently being rung to " +"join the call." msgstr "" #: discord.GroupCall:19 of msgid "" -":class:`VoiceRegion` -- The guild region the group call is being hosted on." +":class:`VoiceRegion` -- The guild region the group call is being hosted " +"on." msgstr "" #: discord.GroupCall.connected:1 of msgid "" -"A property that returns the :obj:`list` of :class:`User` that are currently " -"in this call." +"A property that returns the :obj:`list` of :class:`User` that are " +"currently in this call." msgstr "" #: discord.GroupCall.channel:1 of @@ -6425,7 +6557,8 @@ msgstr "" #: discord.GroupCall.voice_state_for:3 of msgid "" -"If the :class:`User` has no voice state then this function returns ``None``." +"If the :class:`User` has no voice state then this function returns " +"``None``." msgstr "" #: discord.GroupCall.voice_state_for:6 of @@ -6440,7 +6573,7 @@ msgstr "" msgid "Optional[:class:`VoiceState`]" msgstr "Optional[:class:`VoiceState`]" -#: ../../api.rst:1899 +#: ../../api.rst:1935 msgid "Guild" msgstr "ギルド" @@ -6478,9 +6611,9 @@ msgstr "" #: discord.Guild:33 of msgid "" -":class:`VoiceRegion` -- The region the guild belongs on. There is a chance " -"that the region will be a :class:`str` if the value is not recognised by the" -" enumerator." +":class:`VoiceRegion` -- The region the guild belongs on. There is a " +"chance that the region will be a :class:`str` if the value is not " +"recognised by the enumerator." msgstr "" #: discord.Guild:38 of @@ -6489,12 +6622,13 @@ msgstr "" #: discord.Guild:42 of msgid "" -"Optional[:class:`VoiceChannel`] -- The channel that denotes the AFK channel." -" None if it doesn't exist." +"Optional[:class:`VoiceChannel`] -- The channel that denotes the AFK " +"channel. None if it doesn't exist." msgstr "" #: discord.Guild:46 of -msgid ":class:`str` -- The guild's icon." +#, fuzzy +msgid "Optional[:class:`str`] -- The guild's icon." msgstr ":class:`str` -- ギルドのアイコン。" #: discord.Guild:50 of @@ -6507,10 +6641,10 @@ msgstr ":class:`int` -- ギルドのオーナーのID。代替として :attr:`G #: discord.Guild:58 of msgid "" -":class:`bool` -- Indicates if the guild is unavailable. If this is ``True`` " -"then the reliability of other attributes outside of :meth:`Guild.id` is slim" -" and they might all be None. It is best to not do anything with the guild if" -" it is unavailable." +":class:`bool` -- Indicates if the guild is unavailable. If this is " +"``True`` then the reliability of other attributes outside of " +":meth:`Guild.id` is slim and they might all be None. It is best to not do" +" anything with the guild if it is unavailable." msgstr "" #: discord.Guild:62 of @@ -6522,8 +6656,8 @@ msgstr "" #: discord.Guild:66 of msgid "" ":class:`int` -- Indicates the guild's two factor authorisation level. If " -"this value is 0 then the guild does not require 2FA for their administrative" -" members. If the value is 1 then they do." +"this value is 0 then the guild does not require 2FA for their " +"administrative members. If the value is 1 then they do." msgstr "" #: discord.Guild:72 of @@ -6535,40 +6669,47 @@ msgid ":class:`ContentFilter` -- The guild's explicit content filter." msgstr "" #: discord.Guild:80 of +#, fuzzy +msgid ":class:`NotificationLevel` -- The guild's notification settings." +msgstr ":class:`str` -- ギルドのアイコン。" + +#: discord.Guild:84 of msgid "" "List[:class:`str`] -- A list of features that the guild has. They are " "currently as follows:" msgstr "" -#: discord.Guild:82 of +#: discord.Guild:86 of msgid "``VIP_REGIONS``: Guild has VIP voice regions" msgstr "" -#: discord.Guild:83 of +#: discord.Guild:87 of msgid "" -"``VANITY_URL``: Guild has a vanity invite URL (e.g. discord.gg/discord-api)" +"``VANITY_URL``: Guild has a vanity invite URL (e.g. discord.gg/discord-" +"api)" msgstr "" -#: discord.Guild:84 of +#: discord.Guild:88 of msgid "``INVITE_SPLASH``: Guild's invite page has a special splash." msgstr "" -#: discord.Guild:85 of +#: discord.Guild:89 of msgid "``VERIFIED``: Guild is a \"verified\" server." msgstr "" -#: discord.Guild:86 of +#: discord.Guild:90 of msgid "``MORE_EMOJI``: Guild is allowed to have more than 50 custom emoji." msgstr "" -#: discord.Guild:90 of -msgid ":class:`str` -- The guild's invite splash." -msgstr "" +#: discord.Guild:94 of +#, fuzzy +msgid "Optional[:class:`str`] -- The guild's invite splash." +msgstr ":class:`str` -- ギルドのアイコン。" #: discord.Guild.audit_logs:1 of msgid "" -"Return an :class:`AsyncIterator` that enables receiving the guild's audit " -"logs." +"Return an :class:`AsyncIterator` that enables receiving the guild's audit" +" logs." msgstr "" #: discord.Guild.audit_logs:3 of @@ -6583,22 +6724,22 @@ msgstr "" #: discord.Guild.audit_logs:7 of msgid "" -"Retrieve entries before this date or entry. If a date is provided it must be" -" a timezone-naive datetime representing UTC time." +"Retrieve entries before this date or entry. If a date is provided it must" +" be a timezone-naive datetime representing UTC time." msgstr "" #: discord.Guild.audit_logs:10 of msgid "" -"Retrieve entries after this date or entry. If a date is provided it must be " -"a timezone-naive datetime representing UTC time." +"Retrieve entries after this date or entry. If a date is provided it must " +"be a timezone-naive datetime representing UTC time." msgstr "" #: discord.Guild.audit_logs:13 of msgid "" -"If set to true, return entries in oldest->newest order. If unspecified, this" -" defaults to ``False`` for most cases. However if passing in a ``after`` " -"parameter then this is set to ``True``. This avoids getting entries out of " -"order in the ``after`` case." +"If set to true, return entries in oldest->newest order. If unspecified, " +"this defaults to ``False`` for most cases. However if passing in a " +"``after`` parameter then this is set to ``True``. This avoids getting " +"entries out of order in the ``after`` case." msgstr "" #: discord.Guild.audit_logs:18 of @@ -6618,8 +6759,7 @@ msgid ":exc:`Forbidden` -- You are not allowed to fetch audit logs" msgstr "" #: discord.Guild.audit_logs:26 of -msgid "" -":exc:`HTTPException` -- An error occurred while fetching the audit logs." +msgid ":exc:`HTTPException` -- An error occurred while fetching the audit logs." msgstr "" #: discord.Guild.audit_logs:30 of @@ -6636,8 +6776,8 @@ msgstr "" #: discord.Guild.channels:1 of msgid "" -"List[:class:`abc.GuildChannel`] -- A list of channels that belongs to this " -"guild." +"List[:class:`abc.GuildChannel`] -- A list of channels that belongs to " +"this guild." msgstr "" #: discord.Guild.large:1 of @@ -6652,8 +6792,8 @@ msgstr "" #: discord.Guild.voice_channels:1 of msgid "" -"List[:class:`VoiceChannel`] -- A list of voice channels that belongs to this" -" guild." +"List[:class:`VoiceChannel`] -- A list of voice channels that belongs to " +"this guild." msgstr "" #: discord.Guild.categories:3 discord.Guild.text_channels:3 @@ -6663,8 +6803,8 @@ msgstr "" #: discord.Guild.me:1 of msgid "" -"Similar to :attr:`Client.user` except an instance of :class:`Member`. This " -"is essentially used to get the member version of yourself." +"Similar to :attr:`Client.user` except an instance of :class:`Member`. " +"This is essentially used to get the member version of yourself." msgstr "" #: discord.Guild.voice_client:1 of @@ -6673,14 +6813,14 @@ msgstr "" #: discord.Guild.text_channels:1 of msgid "" -"List[:class:`TextChannel`] -- A list of text channels that belongs to this " -"guild." +"List[:class:`TextChannel`] -- A list of text channels that belongs to " +"this guild." msgstr "" #: discord.Guild.categories:1 of msgid "" -"List[:class:`CategoryChannel`] -- A list of categories that belongs to this " -"guild." +"List[:class:`CategoryChannel`] -- A list of categories that belongs to " +"this guild." msgstr "" #: discord.Guild.by_category:1 of @@ -6688,14 +6828,13 @@ msgid "Returns every :class:`CategoryChannel` and their associated channels." msgstr "" #: discord.Guild.by_category:3 of -msgid "" -"These channels and categories are sorted in the official Discord UI order." +msgid "These channels and categories are sorted in the official Discord UI order." msgstr "" #: discord.Guild.by_category:5 of msgid "" -"If the channels do not have a category, then the first element of the tuple " -"is ``None``." +"If the channels do not have a category, then the first element of the " +"tuple is ``None``." msgstr "" #: discord.Guild.by_category:8 of @@ -6710,8 +6849,8 @@ msgstr "" #: discord.Guild.get_channel:1 of msgid "" -"Returns a :class:`abc.GuildChannel` with the given ID. If not found, returns" -" None." +"Returns a :class:`abc.GuildChannel` with the given ID. If not found, " +"returns None." msgstr "" #: discord.Guild.members:1 of @@ -6719,10 +6858,14 @@ msgid "List[:class:`Member`] -- A list of members that belong to this guild." msgstr "" #: discord.Guild.get_member:1 of -msgid "" -"Returns a :class:`Member` with the given ID. If not found, returns None." +msgid "Returns a :class:`Member` with the given ID. If not found, returns None." msgstr "" +#: discord.Guild.get_role:1 of +#, fuzzy +msgid "Returns a :class:`Role` with the given ID. If not found, returns None." +msgstr "渡されたIDを持つ :class:`User` を返します。見つからない場合は、Noneを返します。" + #: discord.Guild.default_role:1 of msgid "Gets the @everyone role that all members have by default." msgstr "" @@ -6731,37 +6874,47 @@ msgstr "" msgid ":class:`Member` -- The member that owns the guild." msgstr "" -#: discord.Guild.icon_url:1 of +#: discord.Guild.icon_url:1 discord.PartialInviteGuild.icon_url:1 of msgid "" -"Returns the URL version of the guild's icon. Returns an empty string if it " -"has no icon." +"Returns the URL version of the guild's icon. Returns an empty string if " +"it has no icon." msgstr "" #: discord.Guild.icon_url_as:1 of msgid "" -"Returns a friendly URL version of the guild's icon. Returns and empty string" -" if it has no icon." +"Returns a friendly URL version of the guild's icon. Returns an empty " +"string if it has no icon." msgstr "" -#: discord.Guild.icon_url_as:3 of +#: discord.Guild.icon_url_as:3 discord.Guild.splash_url_as:3 of +#, fuzzy msgid "" -"The format must be one of 'webp', 'jpeg', 'jpg', or 'png'. The size must be " -"a power of 2 between 16 and 1024." -msgstr "" +"The format must be one of 'webp', 'jpeg', 'jpg', or 'png'. The size must " +"be a power of 2 between 16 and 2048." +msgstr "フォーマットは「webp」「jpeg」「jpg」「png」または「gif」である必要があり、「gif」はアニメーションアバターにのみ使用可能です。サイズは2の累乗値かつ16以上1024以下である必要があります。" #: discord.Guild.icon_url_as:6 of msgid "The format to attempt to convert the icon to." msgstr "" -#: discord.Guild.splash_url:1 of +#: discord.Guild.splash_url:1 discord.PartialInviteGuild.splash_url:1 of msgid "" "Returns the URL version of the guild's invite splash. Returns an empty " "string if it has no splash." msgstr "" -#: discord.Guild.member_count:1 of +#: discord.Guild.splash_url_as:1 of msgid "" -"Returns the true member count regardless of it being loaded fully or not." +"Returns a friendly URL version of the guild's invite splash. Returns an " +"empty string if it has no splash." +msgstr "" + +#: discord.Guild.splash_url_as:6 of +msgid "The format to attempt to convert the splash to." +msgstr "" + +#: discord.Guild.member_count:1 of +msgid "Returns the true member count regardless of it being loaded fully or not." msgstr "" #: discord.Guild.chunked:1 of @@ -6770,8 +6923,8 @@ msgstr "" #: discord.Guild.chunked:3 of msgid "" -"A chunked guild means that :attr:`member_count` is equal to the number of " -"members stored in the internal :attr:`members` cache." +"A chunked guild means that :attr:`member_count` is equal to the number of" +" members stored in the internal :attr:`members` cache." msgstr "" #: discord.Guild.chunked:6 of @@ -6784,7 +6937,7 @@ msgstr "" msgid "Returns the shard ID for this guild if applicable." msgstr "" -#: discord.Guild.created_at:1 of +#: discord.Guild.created_at:1 discord.PartialInviteGuild.created_at:1 of msgid "Returns the guild's creation time in UTC." msgstr "" @@ -6794,17 +6947,17 @@ msgstr "" #: discord.Guild.get_member_named:3 of msgid "" -"The name can have an optional discriminator argument, e.g. \"Jake#0001\" or " -"\"Jake\" will both do the lookup. However the former will give a more " -"precise result. Note that the discriminator must have all 4 digits for this " -"to work." +"The name can have an optional discriminator argument, e.g. \"Jake#0001\" " +"or \"Jake\" will both do the lookup. However the former will give a more " +"precise result. Note that the discriminator must have all 4 digits for " +"this to work." msgstr "" #: discord.Guild.get_member_named:8 of msgid "" "If a nickname is passed, then it is looked up via the nickname. Note " -"however, that a nickname + discriminator combo will not lookup the nickname " -"but rather the username + discriminator combo due to nickname + " +"however, that a nickname + discriminator combo will not lookup the " +"nickname but rather the username + discriminator combo due to nickname + " "discriminator not being unique." msgstr "" @@ -6824,8 +6977,8 @@ msgstr "" #: discord.Guild.create_category:3 discord.Guild.create_category_channel:3 of msgid "" -"Same as :meth:`create_text_channel` except makes a :class:`CategoryChannel` " -"instead." +"Same as :meth:`create_text_channel` except makes a " +":class:`CategoryChannel` instead." msgstr "" #: discord.Guild.create_category:7 discord.Guild.create_category_channel:7 of @@ -6842,8 +6995,8 @@ msgstr "" #: discord.Guild.system_channel:3 of msgid "" -"Currently this is only for new member joins. If no channel is set, then this" -" returns ``None``." +"Currently this is only for new member joins. If no channel is set, then " +"this returns ``None``." msgstr "" #: discord.Guild.ban:3 of @@ -6855,8 +7008,7 @@ msgid "The user must meet the :class:`abc.Snowflake` abc." msgstr "" #: discord.Guild.ban:7 discord.Guild.unban:7 of -msgid "" -"You must have the :attr:`~Permissions.ban_members` permission to do this." +msgid "You must have the :attr:`~Permissions.ban_members` permission to do this." msgstr "" #: discord.Guild.ban:10 of @@ -6865,8 +7017,8 @@ msgstr "" #: discord.Guild.ban:12 of msgid "" -"The number of days worth of messages to delete from the user in the guild. " -"The minimum is 0 and the maximum is 7." +"The number of days worth of messages to delete from the user in the " +"guild. The minimum is 0 and the maximum is 7." msgstr "" #: discord.Guild.ban:15 of @@ -6888,15 +7040,15 @@ msgstr "" #: discord.Guild.bans:5 of msgid "" "This coroutine returns a :class:`list` of BanEntry objects, which is a " -"namedtuple with a ``user`` field to denote the :class:`User` that got banned" -" along with a ``reason`` field specifying why the user was banned that could" -" be set to ``None``." +"namedtuple with a ``user`` field to denote the :class:`User` that got " +"banned along with a ``reason`` field specifying why the user was banned " +"that could be set to ``None``." msgstr "" #: discord.Guild.bans:10 discord.Guild.get_ban:7 of msgid "" -"You must have the :attr:`~Permissions.ban_members` permission to get this " -"information." +"You must have the :attr:`~Permissions.ban_members` permission to get this" +" information." msgstr "" #: discord.Guild.bans:16 of @@ -6908,47 +7060,51 @@ msgid "Creates a custom :class:`Emoji` for the guild." msgstr "" #: discord.Guild.create_custom_emoji:5 of -msgid "There is currently a limit of 50 local emotes per guild." +msgid "" +"There is currently a limit of 50 static and animated emojis respectively " +"per guild, unless the guild has the ``MORE_EMOJI`` feature which extends " +"the limit to 200." msgstr "" -#: discord.Guild.create_custom_emoji:7 of +#: discord.Guild.create_custom_emoji:8 of msgid "" -"You must have the :attr:`~Permissions.manage_emojis` permission to do this." +"You must have the :attr:`~Permissions.manage_emojis` permission to do " +"this." msgstr "" -#: discord.Guild.create_custom_emoji:10 of +#: discord.Guild.create_custom_emoji:11 of msgid "The emoji name. Must be at least 2 characters." msgstr "" -#: discord.Guild.create_custom_emoji:12 of +#: discord.Guild.create_custom_emoji:13 of msgid "" -"The :term:`py:bytes-like object` representing the image data to use. Only " -"JPG and PNG images are supported." +"The :term:`py:bytes-like object` representing the image data to use. Only" +" JPG, PNG and GIF images are supported." msgstr "" -#: discord.Emoji.edit:10 discord.Guild.create_custom_emoji:15 of +#: discord.Emoji.edit:10 discord.Guild.create_custom_emoji:16 of msgid "" -"A :class:`list` of :class:`Role`\\s that can use this emoji. Leave empty to " -"make it available to everyone." +"A :class:`list` of :class:`Role`\\s that can use this emoji. Leave empty " +"to make it available to everyone." msgstr "" -#: discord.Guild.create_custom_emoji:17 of +#: discord.Guild.create_custom_emoji:18 of msgid "The reason for creating this emoji. Shows up on the audit log." msgstr "" -#: discord.Guild.create_custom_emoji:20 of +#: discord.Guild.create_custom_emoji:21 of msgid "The created emoji." msgstr "" -#: discord.Guild.create_custom_emoji:21 of +#: discord.Guild.create_custom_emoji:22 of msgid ":class:`Emoji`" msgstr ":class:`Emoji`" -#: discord.Guild.create_custom_emoji:23 of +#: discord.Guild.create_custom_emoji:24 of msgid ":exc:`Forbidden` -- You are not allowed to create emojis." msgstr "" -#: discord.Guild.create_custom_emoji:24 of +#: discord.Guild.create_custom_emoji:25 of msgid ":exc:`HTTPException` -- An error occurred creating an emoji." msgstr "" @@ -6961,8 +7117,7 @@ msgid "All fields are optional." msgstr "" #: discord.Guild.create_role:7 of -msgid "" -"You must have the :attr:`~Permissions.manage_roles` permission to do this." +msgid "You must have the :attr:`~Permissions.manage_roles` permission to do this." msgstr "" #: discord.Guild.create_role:10 of @@ -6975,8 +7130,8 @@ msgstr "" #: discord.Guild.create_role:14 of msgid "" -"The colour for the role. Defaults to :meth:`Colour.default`. This is aliased" -" to ``color`` as well." +"The colour for the role. Defaults to :meth:`Colour.default`. This is " +"aliased to ``color`` as well." msgstr "" #: discord.Guild.create_role:17 of @@ -6986,8 +7141,7 @@ msgid "" msgstr "" #: discord.Guild.create_role:20 of -msgid "" -"Indicates if the role should be mentionable by others. Defaults to False." +msgid "Indicates if the role should be mentionable by others. Defaults to False." msgstr "" #: discord.Guild.create_role:23 of @@ -7020,71 +7174,108 @@ msgstr "" #: discord.Guild.create_text_channel:5 of msgid "" -"Note that you need the :attr:`~Permissions.manage_channels` permission to " -"create the channel." +"Note that you need the :attr:`~Permissions.manage_channels` permission to" +" create the channel." msgstr "" #: discord.Guild.create_text_channel:8 of msgid "" -"The ``overwrites`` parameter can be used to create a 'secret' channel upon " -"creation. This parameter expects a :class:`dict` of overwrites with the " -"target (either a :class:`Member` or a :class:`Role`) as the key and a " -":class:`PermissionOverwrite` as the value." +"The ``overwrites`` parameter can be used to create a 'secret' channel " +"upon creation. This parameter expects a :class:`dict` of overwrites with " +"the target (either a :class:`Member` or a :class:`Role`) as the key and a" +" :class:`PermissionOverwrite` as the value." msgstr "" #: discord.Guild.create_text_channel:15 of -msgid "Creating a basic channel:" +msgid "" +"Creating a channel of a specified position will not update the position " +"of other channels to follow suit. A follow-up call to " +":meth:`~TextChannel.edit` will be required to update the position of the " +"channel in the channel list." msgstr "" #: discord.Guild.create_text_channel:21 of +msgid "Creating a basic channel:" +msgstr "" + +#: discord.Guild.create_text_channel:27 of msgid "Creating a \"secret\" channel:" msgstr "" -#: discord.Guild.create_text_channel:32 of +#: discord.Guild.create_text_channel:38 of msgid "The channel's name." msgstr "" -#: discord.Guild.create_text_channel:34 of +#: discord.Guild.create_text_channel:40 of msgid "" "A :class:`dict` of target (either a role or a member) to " -":class:`PermissionOverwrite` to apply upon creation of a channel. Useful for" -" creating secret channels." +":class:`PermissionOverwrite` to apply upon creation of a channel. Useful " +"for creating secret channels." +msgstr "" + +#: discord.Guild.create_text_channel:43 of +msgid "" +"The category to place the newly created channel under. The permissions " +"will be automatically synced to category if no overwrites are provided." +msgstr "" + +#: discord.Guild.create_text_channel:47 of +msgid "" +"The position in the channel list. This is a number that starts at 0. e.g." +" the top channel is position 0." +msgstr "" + +#: discord.Guild.create_text_channel:50 discord.TextChannel.edit:10 of +msgid "The new channel's topic." msgstr "" -#: discord.Guild.create_text_channel:37 of +#: discord.Guild.create_text_channel:52 of msgid "" -"The category to place the newly created channel under. The permissions will " -"be automatically synced to category if no overwrites are provided." +"Specifies the slowmode rate limit for user in this channel. The maximum " +"value possible is `120`." msgstr "" -#: discord.Guild.create_text_channel:41 of +#: discord.Guild.create_text_channel:55 discord.TextChannel.edit:14 of +msgid "To mark the channel as NSFW or not." +msgstr "" + +#: discord.Guild.create_text_channel:57 of msgid "The reason for creating this channel. Shows up on the audit log." msgstr "" -#: discord.Guild.create_text_channel:44 of +#: discord.Guild.create_text_channel:60 of msgid "" -":exc:`Forbidden` -- You do not have the proper permissions to create this " -"channel." +":exc:`Forbidden` -- You do not have the proper permissions to create this" +" channel." msgstr "" -#: discord.Guild.create_text_channel:45 of +#: discord.Guild.create_text_channel:61 of msgid ":exc:`HTTPException` -- Creating the channel failed." msgstr "" -#: discord.Guild.create_text_channel:46 of +#: discord.Guild.create_text_channel:62 of msgid "" ":exc:`InvalidArgument` -- The permission overwrite information is not in " "proper form." msgstr "" -#: discord.Guild.create_text_channel:48 of +#: discord.Guild.create_text_channel:64 of msgid "The channel that was just created." msgstr "" #: discord.Guild.create_voice_channel:3 of msgid "" -"Same as :meth:`create_text_channel` except makes a :class:`VoiceChannel` " -"instead." +"This is similar to :meth:`create_text_channel` except makes a " +":class:`VoiceChannel` instead, in addition to having the following new " +"parameters." +msgstr "" + +#: discord.Guild.create_voice_channel:6 of +msgid "The channel's preferred audio bitrate in bits per second." +msgstr "" + +#: discord.Guild.create_voice_channel:8 of +msgid "The channel's limit for number of members that can be in a voice channel." msgstr "" #: discord.Guild.delete:3 of @@ -7105,8 +7296,8 @@ msgstr "" #: discord.Guild.edit:5 of msgid "" -"You must have the :attr:`~Permissions.manage_guild` permission to edit the " -"guild." +"You must have the :attr:`~Permissions.manage_guild` permission to edit " +"the guild." msgstr "" #: discord.Guild.edit:8 of @@ -7121,9 +7312,9 @@ msgstr "" #: discord.Guild.edit:13 of msgid "" -"A :term:`py:bytes-like object` representing the invite splash. Only PNG/JPEG" -" supported. Could be ``None`` to denote removing the splash. Only available " -"for partnered guilds with ``INVITE_SPLASH`` feature." +"A :term:`py:bytes-like object` representing the invite splash. Only " +"PNG/JPEG supported. Could be ``None`` to denote removing the splash. Only" +" available for partnered guilds with ``INVITE_SPLASH`` feature." msgstr "" #: discord.Guild.edit:18 of @@ -7142,48 +7333,56 @@ msgstr "" #: discord.Guild.edit:24 of msgid "" -"The new owner of the guild to transfer ownership to. Note that you must be " -"owner of the guild to do this." +"The new owner of the guild to transfer ownership to. Note that you must " +"be owner of the guild to do this." +msgstr "" + +#: discord.Guild.edit:27 of +msgid "The new verification level for the guild." +msgstr "" + +#: discord.Guild.edit:29 of +msgid "The new default notification level for the guild." msgstr "" -#: discord.Guild.edit:27 of -msgid "The new verification level for the guild." +#: discord.Guild.edit:31 of +msgid "The new explicit content filter for the guild." msgstr "" -#: discord.Guild.edit:29 of +#: discord.Guild.edit:33 of msgid "The new vanity code for the guild." msgstr "" -#: discord.Guild.edit:31 of +#: discord.Guild.edit:35 of msgid "" -"The new channel that is used for the system channel. Could be ``None`` for " -"no system channel." +"The new channel that is used for the system channel. Could be ``None`` " +"for no system channel." msgstr "" -#: discord.Guild.edit:33 of +#: discord.Guild.edit:37 of msgid "The reason for editing this guild. Shows up on the audit log." msgstr "" -#: discord.Guild.edit:36 of +#: discord.Guild.edit:40 of msgid ":exc:`Forbidden` -- You do not have permissions to edit the guild." msgstr "" -#: discord.Guild.edit:37 of +#: discord.Guild.edit:41 of msgid ":exc:`HTTPException` -- Editing the guild failed." msgstr "" -#: discord.Guild.edit:38 of +#: discord.Guild.edit:42 of msgid "" -":exc:`InvalidArgument` -- The image format passed in to ``icon`` is invalid." -" It must be PNG or JPG. This is also raised if you are not the owner of the " -"guild and request an ownership transfer." +":exc:`InvalidArgument` -- The image format passed in to ``icon`` is " +"invalid. It must be PNG or JPG. This is also raised if you are not the " +"owner of the guild and request an ownership transfer." msgstr "" #: discord.Guild.estimate_pruned_members:3 of msgid "" -"Similar to :meth:`prune_members` except instead of actually pruning members," -" it returns how many members it would prune from the guild had it been " -"called." +"Similar to :meth:`prune_members` except instead of actually pruning " +"members, it returns how many members it would prune from the guild had it" +" been called." msgstr "" #: discord.Guild.estimate_pruned_members:7 discord.Guild.prune_members:14 of @@ -7196,8 +7395,8 @@ msgstr "" #: discord.Guild.estimate_pruned_members:11 of msgid "" -":exc:`HTTPException` -- An error occurred while fetching the prune members " -"estimate." +":exc:`HTTPException` -- An error occurred while fetching the prune " +"members estimate." msgstr "" #: discord.Guild.estimate_pruned_members:12 discord.Guild.prune_members:21 of @@ -7232,8 +7431,8 @@ msgstr "" #: discord.Guild.invites:5 of msgid "" -"You must have the :attr:`~Permissions.manage_guild` permission to get this " -"information." +"You must have the :attr:`~Permissions.manage_guild` permission to get " +"this information." msgstr "" #: discord.Guild.kick:3 of @@ -7241,8 +7440,7 @@ msgid "Kicks a user from the guild." msgstr "" #: discord.Guild.kick:7 of -msgid "" -"You must have the :attr:`~Permissions.kick_members` permission to do this." +msgid "You must have the :attr:`~Permissions.kick_members` permission to do this." msgstr "" #: discord.Guild.kick:10 of @@ -7287,13 +7485,14 @@ msgstr "" #: discord.Guild.prune_members:8 of msgid "" -"You must have the :attr:`~Permissions.kick_members` permission to use this." +"You must have the :attr:`~Permissions.kick_members` permission to use " +"this." msgstr "" #: discord.Guild.prune_members:11 of msgid "" -"To check how many members you would prune without actually pruning, see the " -":meth:`estimate_pruned_members` function." +"To check how many members you would prune without actually pruning, see " +"the :meth:`estimate_pruned_members` function." msgstr "" #: discord.Guild.prune_members:20 of @@ -7332,8 +7531,8 @@ msgstr "" #: discord.Guild.vanity_invite:8 of msgid "" -"You must have the :attr:`~Permissions.manage_guild` permission to use this " -"as well." +"You must have the :attr:`~Permissions.manage_guild` permission to use " +"this as well." msgstr "" #: discord.Guild.vanity_invite:11 of @@ -7341,8 +7540,7 @@ msgid "The special vanity invite." msgstr "" #: discord.Guild.vanity_invite:14 of -msgid "" -":exc:`Forbidden` -- You do not have the proper permissions to get this." +msgid ":exc:`Forbidden` -- You do not have the proper permissions to get this." msgstr "" #: discord.Guild.vanity_invite:15 of @@ -7375,15 +7573,14 @@ msgid "Returns a :class:`list` of the guild's roles in hierarchy order." msgstr "" #: discord.Guild.roles:3 of -msgid "" -"The first element of this list will be the lowest role in the hierarchy." +msgid "The first element of this list will be the lowest role in the hierarchy." msgstr "" #: discord.Guild.ack:3 of msgid "Marks every message in this guild as read." msgstr "" -#: ../../api.rst:1909 +#: ../../api.rst:1945 msgid "Member" msgstr "メンバー" @@ -7403,8 +7600,8 @@ msgstr "" #: discord.Member:14 of msgid "" -"Checks if two members are not equal. Note that this works with :class:`User`" -" instances too." +"Checks if two members are not equal. Note that this works with " +":class:`User` instances too." msgstr "" #: discord.Member:19 of @@ -7417,43 +7614,74 @@ msgstr "" #: discord.Member:27 of msgid "" -"`datetime.datetime` -- A datetime object that specifies the date and time in" -" UTC that the member joined the guild for the first time." +"`datetime.datetime` -- A datetime object that specifies the date and time" +" in UTC that the member joined the guild for the first time." msgstr "" #: discord.Member:32 of msgid "" -":class:`Status` -- The member's status. There is a chance that the status " -"will be a :class:`str` if it is a value that is not recognised by the " -"enumerator." +"Tuple[Union[:class:`Game`, :class:`Streaming`, :class:`Spotify`, " +":class:`Activity`]] -- The activities that the user is currently doing." +msgstr "" + +#: discord.Member:36 of +msgid ":class:`Guild` -- The guild that the member belongs to." +msgstr "" + +#: discord.Member:40 of +msgid "Optional[:class:`str`] -- The guild specific nickname of the user." +msgstr "" + +#: discord.Member.status:1 of +msgid "" +":class:`Status` -- The member's overall status. If the value is unknown, " +"then it will be a :class:`str` instead." +msgstr "" + +#: discord.Member.mobile_status:1 of +msgid ":class:`Status` -- The member's status on a mobile device, if applicable." msgstr "" -#: discord.Member:37 of +#: discord.Member.desktop_status:1 of msgid "" -"Union[:class:`Game`, :class:`Streaming`, :class:`Activity`] -- The activity " -"that the user is currently doing. Could be None if no activity is being " -"done." +":class:`Status` -- The member's status on the desktop client, if " +"applicable." msgstr "" -#: discord.Member:41 of -msgid ":class:`Guild` -- The guild that the member belongs to." +#: discord.Member.web_status:1 of +msgid ":class:`Status` -- The member's status on the web client, if applicable." msgstr "" -#: discord.Member:45 of -msgid "Optional[:class:`str`] -- The guild specific nickname of the user." +#: discord.Member.is_on_mobile:1 of +msgid "" +":class:`bool`: A helper function that determines if a member is active on" +" a mobile device." msgstr "" #: discord.Member.color:1 discord.Member.colour:1 of msgid "" -"A property that returns a :class:`Colour` denoting the rendered colour for " -"the member. If the default colour is the one rendered then an instance of " -":meth:`Colour.default` is returned." +"A property that returns a :class:`Colour` denoting the rendered colour " +"for the member. If the default colour is the one rendered then an " +"instance of :meth:`Colour.default` is returned." msgstr "" #: discord.Member.mention:1 of msgid "Returns a string that mentions the member." msgstr "" +#: discord.Member.activity:1 of +msgid "" +"Returns a class Union[:class:`Game`, :class:`Streaming`, " +":class:`Spotify`, :class:`Activity`] for the primary activity the user is" +" currently doing. Could be None if no activity is being done." +msgstr "" + +#: discord.Member.activity:6 of +msgid "" +"A user may have multiple activities, these can be accessed under " +":attr:`activities`." +msgstr "" + #: discord.Member.mentioned_in:1 of msgid "Checks if the member is mentioned in the specified message." msgstr "" @@ -7474,10 +7702,10 @@ msgstr "" #: discord.Member.guild_permissions:3 of msgid "" -"This only takes into consideration the guild permissions and not most of the" -" implied permissions or any of the channel permission overwrites. For 100% " -"accurate permission calculation, please use either :meth:`permissions_in` or" -" :meth:`abc.GuildChannel.permissions_for`." +"This only takes into consideration the guild permissions and not most of " +"the implied permissions or any of the channel permission overwrites. For " +"100% accurate permission calculation, please use either " +":meth:`permissions_in` or :meth:`abc.GuildChannel.permissions_for`." msgstr "" #: discord.Member.guild_permissions:9 of @@ -7487,8 +7715,7 @@ msgid "" msgstr "" #: discord.Member.voice:1 of -msgid "" -"Optional[:class:`VoiceState`] -- Returns the member's current voice state." +msgid "Optional[:class:`VoiceState`] -- Returns the member's current voice state." msgstr "" #: discord.Member.add_roles:3 of @@ -7497,8 +7724,8 @@ msgstr "" #: discord.Member.add_roles:8 of msgid "" -"An argument list of :class:`abc.Snowflake` representing a :class:`Role` to " -"give to the member." +"An argument list of :class:`abc.Snowflake` representing a :class:`Role` " +"to give to the member." msgstr "" #: discord.Member.add_roles:10 of @@ -7507,8 +7734,9 @@ msgstr "" #: discord.Member.add_roles:12 of msgid "" -"Whether to atomically add roles. This will ensure that multiple operations " -"will always be applied regardless of the current state of the cache." +"Whether to atomically add roles. This will ensure that multiple " +"operations will always be applied regardless of the current state of the " +"cache." msgstr "" #: discord.Member.add_roles:17 of @@ -7657,7 +7885,8 @@ msgstr "" #: discord.Member.move_to:5 of msgid "" -"You must have the :attr:`~Permissions.move_members` permission to use this." +"You must have the :attr:`~Permissions.move_members` permission to use " +"this." msgstr "" #: discord.Member.move_to:8 of @@ -7682,8 +7911,8 @@ msgstr "" #: discord.Member.remove_roles:8 of msgid "" -"An argument list of :class:`abc.Snowflake` representing a :class:`Role` to " -"remove from the member." +"An argument list of :class:`abc.Snowflake` representing a :class:`Role` " +"to remove from the member." msgstr "" #: discord.Member.remove_roles:10 of @@ -7707,8 +7936,8 @@ msgstr "" #: discord.Member.roles:1 of msgid "" -"A :class:`list` of :class:`Role` that the member belongs to. Note that the " -"first element of this list is always the default '@everyone' role." +"A :class:`list` of :class:`Role` that the member belongs to. Note that " +"the first element of this list is always the default '@everyone' role." msgstr "" #: discord.Member.roles:5 of @@ -7719,14 +7948,14 @@ msgstr "" msgid "Unbans this member. Equivalent to :meth:`Guild.unban`" msgstr "" -#: ../../api.rst:1923 +#: ../../api.rst:1959 msgid "Spotify" msgstr "Spotify" #: discord.Spotify:1 of msgid "" -"Represents a Spotify listening activity from Discord. This is a special case" -" of :class:`Activity` that makes it easier to work with the Spotify " +"Represents a Spotify listening activity from Discord. This is a special " +"case of :class:`Activity` that makes it easier to work with the Spotify " "integration." msgstr "" @@ -7786,8 +8015,8 @@ msgstr "" #: discord.Spotify.artist:3 of msgid "" -"This does not attempt to split the artist information into multiple artists." -" Useful if there's only a single artist." +"This does not attempt to split the artist information into multiple " +"artists. Useful if there's only a single artist." msgstr "" #: discord.Spotify.album:1 of @@ -7810,8 +8039,8 @@ msgstr "" #: discord.Spotify.end:1 of msgid "" -":class:`datetime.datetime` -- When the user will stop playing this song in " -"UTC." +":class:`datetime.datetime` -- When the user will stop playing this song " +"in UTC." msgstr "" #: discord.Spotify.duration:1 of @@ -7822,7 +8051,7 @@ msgstr "" msgid ":class:`str` -- The party ID of the listening party." msgstr "" -#: ../../api.rst:1929 +#: ../../api.rst:1965 msgid "VoiceState" msgstr "ボイスステート" @@ -7831,13 +8060,11 @@ msgid "Represents a Discord user's voice state." msgstr "" #: discord.VoiceState:5 of -msgid "" -":class:`bool` -- Indicates if the user is currently deafened by the guild." +msgid ":class:`bool` -- Indicates if the user is currently deafened by the guild." msgstr "" #: discord.VoiceState:9 of -msgid "" -":class:`bool` -- Indicates if the user is currently muted by the guild." +msgid ":class:`bool` -- Indicates if the user is currently muted by the guild." msgstr "" #: discord.VoiceState:13 of @@ -7848,23 +8075,28 @@ msgstr "" #: discord.VoiceState:17 of msgid "" -":class:`bool` -- Indicates if the user is currently deafened by their own " -"accord." +":class:`bool` -- Indicates if the user is currently deafened by their own" +" accord." msgstr "" #: discord.VoiceState:21 of +#, fuzzy +msgid ":class:`bool` -- Indicates if the user is currently broadcasting video." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" + +#: discord.VoiceState:25 of msgid "" -":class:`bool` -- Indicates if the user is currently in the AFK channel in " -"the guild." +":class:`bool` -- Indicates if the user is currently in the AFK channel in" +" the guild." msgstr "" -#: discord.VoiceState:25 of +#: discord.VoiceState:29 of msgid "" ":class:`VoiceChannel` -- The voice channel that the user is currently " "connected to. None if the user is not currently in a voice channel." msgstr "" -#: ../../api.rst:1935 +#: ../../api.rst:1971 msgid "Emoji" msgstr "絵文字" @@ -7886,8 +8118,8 @@ msgstr "" #: discord.Emoji:22 of msgid "" -"Returns an iterator of ``(field, value)`` pairs. This allows this class to " -"be used as an iterable in list/dict/etc constructions." +"Returns an iterator of ``(field, value)`` pairs. This allows this class " +"to be used as an iterable in list/dict/etc constructions." msgstr "" #: discord.Emoji:27 discord.PartialEmoji:24 of @@ -7937,23 +8169,18 @@ msgid "Deletes the custom emoji." msgstr "" #: discord.Emoji.delete:5 discord.Emoji.edit:5 of -msgid "" -"You must have :attr:`~Permissions.manage_emojis` permission to do this." +msgid "You must have :attr:`~Permissions.manage_emojis` permission to do this." msgstr "" #: discord.Emoji.delete:8 of -msgid "Note that bot accounts can only delete custom emojis they own." -msgstr "" - -#: discord.Emoji.delete:10 of msgid "The reason for deleting this emoji. Shows up on the audit log." msgstr "" -#: discord.Emoji.delete:13 of +#: discord.Emoji.delete:11 of msgid ":exc:`Forbidden` -- You are not allowed to delete emojis." msgstr "" -#: discord.Emoji.delete:14 of +#: discord.Emoji.delete:12 of msgid ":exc:`HTTPException` -- An error occurred deleting the emoji." msgstr "" @@ -7979,15 +8206,15 @@ msgstr "" #: discord.Emoji.roles:1 of msgid "" -"List[:class:`Role`] -- A :class:`list` of roles that is allowed to use this " -"emoji." +"List[:class:`Role`] -- A :class:`list` of roles that is allowed to use " +"this emoji." msgstr "" #: discord.Emoji.roles:3 of msgid "If roles is empty, the emoji is unrestricted." msgstr "" -#: ../../api.rst:1941 +#: ../../api.rst:1977 msgid "PartialEmoji" msgstr "" @@ -8004,8 +8231,7 @@ msgid "\"Raw\" data events such as :func:`on_raw_reaction_add`" msgstr "" #: discord.PartialEmoji:6 of -msgid "" -"Custom emoji that the bot cannot see from e.g. :attr:`Message.reactions`" +msgid "Custom emoji that the bot cannot see from e.g. :attr:`Message.reactions`" msgstr "" #: discord.PartialEmoji:28 of @@ -8034,7 +8260,7 @@ msgstr "" msgid "Returns a URL version of the emoji, if it is custom." msgstr "" -#: ../../api.rst:1947 +#: ../../api.rst:1983 msgid "Role" msgstr "役割" @@ -8104,14 +8330,14 @@ msgstr "" #: discord.Role:63 of msgid "" -":class:`int` -- The position of the role. This number is usually positive. " -"The bottom role has a position of 0." +":class:`int` -- The position of the role. This number is usually " +"positive. The bottom role has a position of 0." msgstr "" #: discord.Role:68 of msgid "" -":class:`bool` -- Indicates if the role is managed by the guild through some " -"form of integrations such as Twitch." +":class:`bool` -- Indicates if the role is managed by the guild through " +"some form of integrations such as Twitch." msgstr "" #: discord.Role:73 of @@ -8176,8 +8402,8 @@ msgstr "" #: discord.Role.edit:20 of msgid "" -"The new role's position. This must be below your top role's position or it " -"will fail." +"The new role's position. This must be below your top role's position or " +"it will fail." msgstr "" #: discord.Role.edit:23 of @@ -8186,11 +8412,11 @@ msgstr "" #: discord.Role.edit:28 of msgid "" -":exc:`InvalidArgument` -- An invalid position was given or the default role " -"was asked to be moved." +":exc:`InvalidArgument` -- An invalid position was given or the default " +"role was asked to be moved." msgstr "" -#: ../../api.rst:1953 +#: ../../api.rst:1989 msgid "TextChannel" msgstr "テキストチャンネル" @@ -8226,15 +8452,14 @@ msgid ":class:`int` -- The category channel ID this channel belongs to." msgstr "" #: discord.TextChannel:39 of -msgid "" -"Optional[:class:`str`] -- The channel's topic. None if it doesn't exist." +msgid "Optional[:class:`str`] -- The channel's topic. None if it doesn't exist." msgstr "" #: discord.TextChannel:48 of msgid "" ":class:`int` -- The number of seconds a member must wait between sending " -"messages in this channel. A value of `0` denotes that it is disabled. Bots " -"and users with :attr:`~Permissions.manage_channels` or " +"messages in this channel. A value of `0` denotes that it is disabled. " +"Bots and users with :attr:`~Permissions.manage_channels` or " ":attr:`~Permissions.manage_messages` bypass slowmode." msgstr "" @@ -8256,8 +8481,8 @@ msgstr "" #: discord.TextChannel.create_webhook:9 of msgid "" -"A :term:`py:bytes-like object` representing the webhook's default avatar. " -"This operates similarly to :meth:`~ClientUser.edit`." +"A :term:`py:bytes-like object` representing the webhook's default avatar." +" This operates similarly to :meth:`~ClientUser.edit`." msgstr "" #: discord.TextChannel.create_webhook:13 of @@ -8274,15 +8499,15 @@ msgstr "" #: discord.TextChannel.delete_messages:3 of msgid "" -"Deletes a list of messages. This is similar to :meth:`Message.delete` except" -" it bulk deletes multiple messages." +"Deletes a list of messages. This is similar to :meth:`Message.delete` " +"except it bulk deletes multiple messages." msgstr "" #: discord.TextChannel.delete_messages:6 of msgid "" -"As a special case, if the number of messages is 0, then nothing is done. If " -"the number of messages is 1 then single message delete is done. If it's more" -" than two, then bulk delete is used." +"As a special case, if the number of messages is 0, then nothing is done. " +"If the number of messages is 1 then single message delete is done. If " +"it's more than two, then bulk delete is used." msgstr "" #: discord.TextChannel.delete_messages:10 of @@ -8337,33 +8562,24 @@ msgstr "" msgid "The new channel name." msgstr "" -#: discord.TextChannel.edit:10 of -msgid "The new channel's topic." -msgstr "" - #: discord.TextChannel.edit:12 discord.VoiceChannel.edit:14 of msgid "The new channel's position." msgstr "" -#: discord.TextChannel.edit:14 of -msgid "To mark the channel as NSFW or not." -msgstr "" - #: discord.TextChannel.edit:16 discord.VoiceChannel.edit:16 of msgid "" -"Whether to sync permissions with the channel's new or pre-existing category." -" Defaults to ``False``." +"Whether to sync permissions with the channel's new or pre-existing " +"category. Defaults to ``False``." msgstr "" #: discord.TextChannel.edit:19 discord.VoiceChannel.edit:19 of -msgid "" -"The new category for this channel. Can be ``None`` to remove the category." +msgid "The new category for this channel. Can be ``None`` to remove the category." msgstr "" #: discord.TextChannel.edit:22 of msgid "" -"Specifies the slowmode rate limit for user in this channel. A value of `0` " -"disables slowmode. The maximum value possible is `120`." +"Specifies the slowmode rate limit for user in this channel. A value of " +"`0` disables slowmode. The maximum value possible is `120`." msgstr "" #: discord.TextChannel.edit:25 discord.VoiceChannel.edit:22 of @@ -8393,31 +8609,32 @@ msgstr "" #: discord.TextChannel.purge:7 of msgid "" -"You must have the :attr:`~Permissions.manage_messages` permission to delete " -"messages even if they are your own (unless you are a user account). The " -":attr:`~Permissions.read_message_history` permission is also needed to " -"retrieve message history." +"You must have the :attr:`~Permissions.manage_messages` permission to " +"delete messages even if they are your own (unless you are a user " +"account). The :attr:`~Permissions.read_message_history` permission is " +"also needed to retrieve message history." msgstr "" "これを行うためには、そのチャンネルの :attr:`~Permissions.read_message_history` 権限が必要です。 " -"もし、他の人がその絵文字でリアクションしていない場合、さらに :attr:`~Permissions.add_reactions` 権限が必要です。" +"もし、他の人がその絵文字でリアクションしていない場合、さらに :attr:`~Permissions.add_reactions` " +"権限が必要です。" #: discord.TextChannel.purge:12 of msgid "" -"Internally, this employs a different number of strategies depending on the " -"conditions met such as if a bulk delete is possible or if the account is a " -"user bot or not." +"Internally, this employs a different number of strategies depending on " +"the conditions met such as if a bulk delete is possible or if the account" +" is a user bot or not." msgstr "" #: discord.TextChannel.purge:16 of msgid "" -"The number of messages to search through. This is not the number of messages" -" that will be deleted, though it can be." +"The number of messages to search through. This is not the number of " +"messages that will be deleted, though it can be." msgstr "" #: discord.TextChannel.purge:19 of msgid "" -"The function used to check if a message should be deleted. It must take a " -":class:`Message` as its sole parameter." +"The function used to check if a message should be deleted. It must take a" +" :class:`Message` as its sole parameter." msgstr "" #: discord.TextChannel.purge:22 of @@ -8438,10 +8655,10 @@ msgstr ":meth:`history` での ``reverse`` と同じです。" #: discord.TextChannel.purge:26 of msgid "" -"If True, use bulk delete. bulk=False is useful for mass-deleting a bot's own" -" messages without manage_messages. When True, will fall back to single " -"delete if current account is a user bot, or if messages are older than two " -"weeks." +"If True, use bulk delete. bulk=False is useful for mass-deleting a bot's " +"own messages without manage_messages. When True, will fall back to single" +" delete if current account is a user bot, or if messages are older than " +"two weeks." msgstr "" #: discord.TextChannel.purge:32 of @@ -8470,7 +8687,7 @@ msgstr "" msgid "The webhooks for this channel." msgstr "" -#: ../../api.rst:1967 +#: ../../api.rst:2003 msgid "VoiceChannel" msgstr "ボイスチャンネル" @@ -8479,14 +8696,13 @@ msgid "Represents a Discord guild voice channel." msgstr "Discordサーバーのボイスチャンネルを表します。" #: discord.VoiceChannel:44 of -msgid "" -":class:`int` -- The channel's preferred audio bitrate in bits per second." +msgid ":class:`int` -- The channel's preferred audio bitrate in bits per second." msgstr "" #: discord.VoiceChannel:48 of msgid "" -":class:`int` -- The channel's limit for number of members that can be in a " -"voice channel." +":class:`int` -- The channel's limit for number of members that can be in " +"a voice channel." msgstr "" #: discord.VoiceChannel.members:1 of @@ -8507,8 +8723,8 @@ msgstr "" #: discord.VoiceChannel.connect:8 of msgid "" -"Whether the bot should automatically attempt a reconnect if a part of the " -"handshake fails or the gateway goes down." +"Whether the bot should automatically attempt a reconnect if a part of the" +" handshake fails or the gateway goes down." msgstr "" #: discord.VoiceChannel.connect:13 of @@ -8518,8 +8734,7 @@ msgid "" msgstr "" #: discord.VoiceChannel.connect:14 of -msgid "" -":exc:`ClientException` -- You are already connected to a voice channel." +msgid ":exc:`ClientException` -- You are already connected to a voice channel." msgstr "" #: discord.VoiceChannel.connect:15 of @@ -8546,7 +8761,7 @@ msgstr "チャンネルのビットレート。" msgid "The new channel's user limit." msgstr "チャンネルのユーザー人数制限。" -#: ../../api.rst:1974 +#: ../../api.rst:2010 msgid "CategoryChannel" msgstr "カテゴリチャンネル" @@ -8590,8 +8805,8 @@ msgstr "カテゴリがNSFWであるかを返します。" #: discord.CategoryChannel.channels:1 of msgid "" -"List[:class:`abc.GuildChannel`] -- Returns the channels that are under this " -"category." +"List[:class:`abc.GuildChannel`] -- Returns the channels that are under " +"this category." msgstr "" #: discord.CategoryChannel.channels:3 of @@ -8600,6 +8815,19 @@ msgid "" "below the text channels." msgstr "" +#: discord.CategoryChannel.text_channels:1 of +#, fuzzy +msgid "" +"List[:class:`TextChannel`] -- Returns the text channels that are under " +"this category." +msgstr "List[:class:`abc.PrivateChannel`] -- 接続されたクライアントが参加しているプライベートチャンネル。" + +#: discord.CategoryChannel.voice_channels:1 of +msgid "" +"List[:class:`VoiceChannel`] -- Returns the voice channels that are under " +"this category." +msgstr "" + #: discord.CategoryChannel.edit:8 of msgid "The new category's name." msgstr "カテゴリの名前。" @@ -8630,7 +8858,7 @@ msgstr ":exc:`Forbidden` -- カテゴリの編集に必要な権限を持って msgid ":exc:`HTTPException` -- Editing the category failed." msgstr ":exc:`HTTPException` -- カテゴリの編集に失敗した。" -#: ../../api.rst:1981 +#: ../../api.rst:2017 msgid "DMChannel" msgstr "" @@ -8644,8 +8872,8 @@ msgstr "" #: discord.DMChannel:23 of msgid "" -":class:`User` -- The user you are participating with in the direct message " -"channel." +":class:`User` -- The user you are participating with in the direct " +"message channel." msgstr "" #: discord.DMChannel:31 of @@ -8681,22 +8909,22 @@ msgstr "" msgid "send_tts_messages: You cannot send TTS messages in a DM." msgstr "" -#: discord.DMChannel.permissions_for:10 -#: discord.GroupChannel.permissions_for:10 of +#: discord.DMChannel.permissions_for:10 discord.GroupChannel.permissions_for:10 +#: of msgid "manage_messages: You cannot delete others messages in a DM." msgstr "" #: discord.DMChannel.permissions_for:12 of msgid "" -"The user to check permissions for. This parameter is ignored but kept for " -"compatibility." +"The user to check permissions for. This parameter is ignored but kept for" +" compatibility." msgstr "" #: discord.DMChannel.permissions_for:16 of msgid "The resolved permissions." msgstr "" -#: ../../api.rst:1995 +#: ../../api.rst:2031 msgid "GroupChannel" msgstr "" @@ -8706,8 +8934,8 @@ msgstr "" #: discord.GroupChannel:23 of msgid "" -":class:`list` of :class:`User` -- The users you are participating with in " -"the group channel." +":class:`list` of :class:`User` -- The users you are participating with in" +" the group channel." msgstr "" #: discord.GroupChannel:31 of @@ -8727,8 +8955,7 @@ msgid "Optional[:class:`str`] -- The group channel's name if provided." msgstr "" #: discord.GroupChannel.icon_url:1 of -msgid "" -"Returns the channel's icon URL if available or an empty string otherwise." +msgid "Returns the channel's icon URL if available or an empty string otherwise." msgstr "" #: discord.GroupChannel.add_recipients:3 of @@ -8737,9 +8964,9 @@ msgstr "" #: discord.GroupChannel.add_recipients:5 of msgid "" -"A group can only have a maximum of 10 members. Attempting to add more ends " -"up in an exception. To add a recipient to the group, you must have a " -"relationship with the user of type :attr:`RelationshipType.friend`." +"A group can only have a maximum of 10 members. Attempting to add more " +"ends up in an exception. To add a recipient to the group, you must have a" +" relationship with the user of type :attr:`RelationshipType.friend`." msgstr "" #: discord.GroupChannel.add_recipients:10 of @@ -8755,14 +8982,13 @@ msgid "Edits the group." msgstr "" #: discord.GroupChannel.edit:5 of -msgid "" -"The new name to change the group to. Could be ``None`` to remove the name." +msgid "The new name to change the group to. Could be ``None`` to remove the name." msgstr "" #: discord.GroupChannel.edit:8 of msgid "" -"A :term:`py:bytes-like object` representing the new icon. Could be ``None`` " -"to remove the icon." +"A :term:`py:bytes-like object` representing the new icon. Could be " +"``None`` to remove the icon." msgstr "" #: discord.GroupChannel.edit:12 of @@ -8805,13 +9031,128 @@ msgstr "" msgid "The resolved permissions for the user." msgstr "" -#: ../../api.rst:2010 +#: ../../api.rst:2045 +msgid "PartialInviteGuild" +msgstr "" + +#: discord.PartialInviteGuild:1 of +msgid "Represents a \"partial\" invite guild." +msgstr "" + +#: discord.PartialInviteChannel:3 discord.PartialInviteGuild:3 of +msgid "" +"This model will be given when the user is not part of the guild the " +":class:`Invite` resolves to." +msgstr "" + +#: discord.PartialInviteGuild:10 of +#, fuzzy +msgid "Checks if two partial guilds are the same." +msgstr "二つのユーザーが等しいかを比較します。" + +#: discord.PartialInviteGuild:14 of +#, fuzzy +msgid "Checks if two partial guilds are not the same." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: discord.PartialInviteGuild:18 of +#, fuzzy +msgid "Return the partial guild's hash." +msgstr "役割のハッシュを返します。" + +#: discord.PartialInviteGuild:22 of +#, fuzzy +msgid "Returns the partial guild's name." +msgstr "役割の名前を返します。" + +#: discord.PartialInviteGuild:26 of +#, fuzzy +msgid ":class:`str` -- The partial guild's name." +msgstr ":class:`str` -- ギルドの名前。" + +#: discord.PartialInviteGuild:30 of +#, fuzzy +msgid ":class:`int` -- The partial guild's ID." +msgstr ":class:`int` -- ギルドのID。" + +#: discord.PartialInviteGuild:34 of +msgid ":class:`VerificationLevel` -- The partial guild's verification level." +msgstr "" + +#: discord.PartialInviteGuild:38 of +msgid "" +"List[:class:`str`] -- A list of features the guild has. See " +":attr:`Guild.features` for more information." +msgstr "" + +#: discord.PartialInviteGuild:42 of +#, fuzzy +msgid "Optional[:class:`str`] -- The partial guild's icon." +msgstr ":class:`str` -- ギルドのアイコン。" + +#: discord.PartialInviteGuild:46 of +#, fuzzy +msgid "Optional[:class:`str`] -- The partial guild's invite splash." +msgstr ":class:`str` -- ギルドのアイコン。" + +#: discord.PartialInviteGuild.icon_url_as:1 of +msgid ":class:`str`: The same operation as :meth:`Guild.icon_url_as`." +msgstr "" + +#: discord.PartialInviteGuild.splash_url_as:1 of +msgid ":class:`str`: The same operation as :meth:`Guild.splash_url_as`." +msgstr "" + +#: ../../api.rst:2051 +msgid "PartialInviteChannel" +msgstr "" + +#: discord.PartialInviteChannel:1 of +#, fuzzy +msgid "Represents a \"partial\" invite channel." +msgstr "Discordサーバーのボイスチャンネルを表します。" + +#: discord.PartialInviteChannel:10 of +#, fuzzy +msgid "Checks if two partial channels are the same." +msgstr "二つのユーザーが等しいかを比較します。" + +#: discord.PartialInviteChannel:14 of +#, fuzzy +msgid "Checks if two partial channels are not the same." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: discord.PartialInviteChannel:18 of +#, fuzzy +msgid "Return the partial channel's hash." +msgstr "役割のハッシュを返します。" + +#: discord.PartialInviteChannel:22 of +#, fuzzy +msgid "Returns the partial channel's name." +msgstr "役割の名前を返します。" + +#: discord.PartialInviteChannel:26 of +#, fuzzy +msgid ":class:`str` -- The partial channel's name." +msgstr ":class:`str` -- チャンネルの名前。" + +#: discord.PartialInviteChannel:30 of +#, fuzzy +msgid ":class:`int` -- The partial channel's ID." +msgstr ":class:`int` -- チャンネルのID。" + +#: discord.PartialInviteChannel:34 of +#, fuzzy +msgid ":class:`ChannelType` -- The partial channel's type." +msgstr ":class:`int` -- カテゴリチャンネルのID。" + +#: ../../api.rst:2057 msgid "Invite" msgstr "" #: discord.Invite:1 of -msgid "" -"Represents a Discord :class:`Guild` or :class:`abc.GuildChannel` invite." +msgid "Represents a Discord :class:`Guild` or :class:`abc.GuildChannel` invite." msgstr "" #: discord.Invite:10 of @@ -8832,8 +9173,8 @@ msgstr "" #: discord.Invite:26 of msgid "" -":class:`int` -- How long the before the invite expires in seconds. A value " -"of 0 indicates that it doesn't expire." +":class:`int` -- How long the before the invite expires in seconds. A " +"value of 0 indicates that it doesn't expire." msgstr "" #: discord.Invite:30 of @@ -8841,7 +9182,9 @@ msgid ":class:`str` -- The URL fragment used for the invite." msgstr "" #: discord.Invite:34 of -msgid ":class:`Guild` -- The guild the invite is for." +msgid "" +"Union[:class:`Guild`, :class:`PartialInviteGuild`] -- The guild the " +"invite is for." msgstr "" #: discord.Invite:38 of @@ -8850,14 +9193,15 @@ msgstr "" #: discord.Invite:42 of msgid "" -"`datetime.datetime` -- A datetime object denoting the time the invite was " -"created." +"`datetime.datetime` -- A datetime object denoting the time the invite was" +" created." msgstr "" #: discord.Invite:46 of msgid "" -":class:`bool` -- Indicates that the invite grants temporary membership. If " -"True, members who joined via this invite will be kicked upon disconnect." +":class:`bool` -- Indicates that the invite grants temporary membership. " +"If True, members who joined via this invite will be kicked upon " +"disconnect." msgstr "" #: discord.Invite:51 of @@ -8873,8 +9217,24 @@ msgid ":class:`User` -- The user who created the invite." msgstr "" #: discord.Invite:63 of -msgid ":class:`abc.GuildChannel` -- The channel the invite is for." +msgid "Optional[:class:`int`] -- The approximate number of members in the guild." +msgstr "" + +#: discord.Invite:67 of +msgid "" +"Optional[:class:`int`] -- The approximate number of members currently " +"active in the guild. This includes idle, dnd, online, and invisible " +"members. Offline members are excluded." +msgstr "" + +#: discord.Invite:72 of +#, fuzzy +msgid "" +"Union[:class:`abc.GuildChannel`, :class:`PartialInviteChannel`] -- The " +"channel the invite is for." msgstr "" +"渡されたIDを持つ :class:`abc.GuildChannel` 、または :class:`abc.PrivateChannel` " +"を返します。" #: discord.Invite.id:1 of msgid "Returns the proper code portion of the invite." @@ -8898,13 +9258,12 @@ msgstr "" msgid "The reason for deleting this invite. Shows up on the audit log." msgstr "" -#: ../../api.rst:2016 +#: ../../api.rst:2063 msgid "RawMessageDeleteEvent" msgstr "" #: discord.RawMessageDeleteEvent:1 of -msgid "" -"Represents the event payload for a :func:`on_raw_message_delete` event." +msgid "Represents the event payload for a :func:`on_raw_message_delete` event." msgstr "" #: discord.RawMessageDeleteEvent:5 of @@ -8921,18 +9280,18 @@ msgstr "" msgid ":class:`int` -- The message ID that got deleted." msgstr "" -#: ../../api.rst:2022 +#: ../../api.rst:2069 msgid "RawBulkMessageDeleteEvent" msgstr "" #: discord.RawBulkMessageDeleteEvent:1 of msgid "" -"Represents the event payload for a :func:`on_raw_bulk_message_delete` event." +"Represents the event payload for a :func:`on_raw_bulk_message_delete` " +"event." msgstr "" #: discord.RawBulkMessageDeleteEvent:5 of -msgid "" -"Set[:class:`int`] -- A :class:`set` of the message IDs that were deleted." +msgid "Set[:class:`int`] -- A :class:`set` of the message IDs that were deleted." msgstr "" #: discord.RawBulkMessageDeleteEvent:9 of @@ -8945,7 +9304,7 @@ msgid "" "applicable." msgstr "" -#: ../../api.rst:2028 +#: ../../api.rst:2075 msgid "RawMessageUpdateEvent" msgstr "" @@ -8963,7 +9322,7 @@ msgid "" "`_" msgstr "" -#: ../../api.rst:2034 +#: ../../api.rst:2081 msgid "RawReactionActionEvent" msgstr "" @@ -8978,12 +9337,13 @@ msgid ":class:`int` -- The message ID that got or lost a reaction." msgstr "" #: discord.RawReactionActionEvent:10 of -msgid ":class:`int` -- The user ID who added or removed the reaction." +msgid "" +":class:`int` -- The user ID who added the reaction or whose reaction was " +"removed." msgstr "" #: discord.RawReactionActionEvent:14 of -msgid "" -":class:`int` -- The channel ID where the reaction got added or removed." +msgid ":class:`int` -- The channel ID where the reaction got added or removed." msgstr "" #: discord.RawReactionActionEvent:18 of @@ -8996,7 +9356,7 @@ msgstr "" msgid ":class:`PartialEmoji` -- The custom or unicode emoji being used." msgstr "" -#: ../../api.rst:2040 +#: ../../api.rst:2087 msgid "RawReactionClearEvent" msgstr "" @@ -9013,31 +9373,30 @@ msgid ":class:`int` -- The channel ID where the reactions got cleared." msgstr "" #: discord.RawReactionClearEvent:13 of -msgid "" -"Optional[:class:`int`] -- The guild ID where the reactions got cleared." +msgid "Optional[:class:`int`] -- The guild ID where the reactions got cleared." msgstr "" -#: ../../api.rst:2049 +#: ../../api.rst:2096 msgid "Data Classes" msgstr "データクラス" -#: ../../api.rst:2051 +#: ../../api.rst:2098 msgid "Some classes are just there to be data containers, this lists them." msgstr "" -#: ../../api.rst:2053 +#: ../../api.rst:2100 msgid "" -"Unlike :ref:`models ` you are allowed to create these " -"yourself, even if they can also be used to hold attributes." +"Unlike :ref:`models ` you are allowed to create these" +" yourself, even if they can also be used to hold attributes." msgstr "" -#: ../../api.rst:2059 +#: ../../api.rst:2106 msgid "" "The only exception to this rule is :class:`Object`, which is made with " "dynamic attributes in mind." msgstr "" -#: ../../api.rst:2067 +#: ../../api.rst:2114 msgid "Object" msgstr "Object" @@ -9047,19 +9406,19 @@ msgstr "" #: discord.Object:3 of msgid "" -"The purpose of this class is to allow you to create 'miniature' versions of " -"data classes if you want to pass in just an ID. Most functions that take in " -"a specific data class with an ID can also take in this class as a substitute" -" instead. Note that even though this is the case, not all objects (if any) " -"actually inherit from this class." +"The purpose of this class is to allow you to create 'miniature' versions " +"of data classes if you want to pass in just an ID. Most functions that " +"take in a specific data class with an ID can also take in this class as a" +" substitute instead. Note that even though this is the case, not all " +"objects (if any) actually inherit from this class." msgstr "" #: discord.Object:9 of msgid "" "There are also some cases where some websocket events are received in " -":issue:`strange order <21>` and when such events happened you would receive " -"this class rather than the actual data class. These cases are extremely " -"rare." +":issue:`strange order <21>` and when such events happened you would " +"receive this class rather than the actual data class. These cases are " +"extremely rare." msgstr "" #: discord.Object:18 of @@ -9082,7 +9441,7 @@ msgstr ":class:`str` -- オブジェクトのID。" msgid "Returns the snowflake's creation time in UTC." msgstr "" -#: ../../api.rst:2073 +#: ../../api.rst:2120 msgid "Embed" msgstr "Embed" @@ -9097,18 +9456,19 @@ msgstr "オブジェクトの作成時、次の属性を設定することがで #: discord.Embed:6 of msgid "" "Certain properties return an ``EmbedProxy``. Which is a type that acts " -"similar to a regular :class:`dict` except access the attributes via dotted " -"access, e.g. ``embed.author.icon_url``. If the attribute is invalid or " -"empty, then a special sentinel value is returned, :attr:`Embed.Empty`." +"similar to a regular :class:`dict` except access the attributes via " +"dotted access, e.g. ``embed.author.icon_url``. If the attribute is " +"invalid or empty, then a special sentinel value is returned, " +":attr:`Embed.Empty`." msgstr "" "あるプロパティは ``EmbedProxy`` を返します。これはドットを用いて属性にアクセスすることを除くと :class:`dict` " -"と同様の働きをする型です。例えば、 ``embed.author.icon_url`` のようになります。属性が無効または空の場合、特別なセンチネル値、" -" :attr:`Embed.Empty` が返ります。" +"と同様の働きをする型です。例えば、 ``embed.author.icon_url`` " +"のようになります。属性が無効または空の場合、特別なセンチネル値、 :attr:`Embed.Empty` が返ります。" #: discord.Embed:12 of msgid "" -"For ease of use, all parameters that expect a :class:`str` are implicitly " -"casted to :class:`str` for you." +"For ease of use, all parameters that expect a :class:`str` are implicitly" +" casted to :class:`str` for you." msgstr "使いやすさを考慮して、strが渡されることを想定されたすべてのパラメータは、暗黙的にstrにキャストされます。" #: discord.Embed:17 of @@ -9129,16 +9489,15 @@ msgstr ":class:`str` -- 埋め込みのURL。" #: discord.Embed:33 of msgid "" -"`datetime.datetime` -- The timestamp of the embed content. This could be a " -"naive or aware datetime." +"`datetime.datetime` -- The timestamp of the embed content. This could be " +"a naive or aware datetime." msgstr "" #: discord.Embed:37 of msgid "" -":class:`Colour` or :class:`int` -- The colour code of the embed. Aliased to " -"``color`` as well." -msgstr "" -":class:`Colour` または :class:`int` -- 埋め込みのカラーコード。 ``color`` にもエイリアスがあります。" +":class:`Colour` or :class:`int` -- The colour code of the embed. Aliased " +"to ``color`` as well." +msgstr ":class:`Colour` または :class:`int` -- 埋め込みのカラーコード。 ``color`` にもエイリアスがあります。" #: discord.Embed:41 of msgid "" @@ -9168,7 +9527,8 @@ msgstr "" #: discord.Embed.set_field_at:5 discord.Embed.set_footer:3 #: discord.Embed.set_image:3 discord.Embed.set_thumbnail:3 of msgid "" -"This function returns the class instance to allow for fluent-style chaining." +"This function returns the class instance to allow for fluent-style " +"chaining." msgstr "" #: discord.Embed.set_footer:6 of @@ -9315,8 +9675,8 @@ msgstr "" #: discord.Embed.remove_field:8 of msgid "" -"When deleting a field by index, the index of the other fields shift to fill " -"the gap just like a regular list." +"When deleting a field by index, the index of the other fields shift to " +"fill the gap just like a regular list." msgstr "" #: discord.Embed.remove_field:11 of @@ -9343,26 +9703,27 @@ msgstr ":exc:`IndexError` -- 無効なindexが渡された。" msgid "Converts this embed object into a dict." msgstr "" -#: ../../api.rst:2079 +#: ../../api.rst:2126 msgid "File" msgstr "File" #: discord.File:1 of msgid "" -"A parameter object used for :meth:`abc.Messageable.send` for sending file " -"objects." +"A parameter object used for :meth:`abc.Messageable.send` for sending file" +" objects." msgstr "" #: discord.File:6 of msgid "" -"Union[:class:`str`, BinaryIO] -- A file-like object opened in binary mode " -"and read mode or a filename representing a file in the hard drive to open." +"Union[:class:`str`, BinaryIO] -- A file-like object opened in binary mode" +" and read mode or a filename representing a file in the hard drive to " +"open." msgstr "" #: discord.File:12 of msgid "" -"If the file-like object passed is opened via ``open`` then the modes 'rb' " -"should be used." +"If the file-like object passed is opened via ``open`` then the modes 'rb'" +" should be used." msgstr "" #: discord.File:15 of @@ -9371,19 +9732,25 @@ msgstr "" #: discord.File:19 of msgid "" -"Optional[:class:`str`] -- The filename to display when uploading to Discord." -" If this is not given then it defaults to ``fp.name`` or if ``fp`` is a " -"string then the ``filename`` will default to the string given." +"Optional[:class:`str`] -- The filename to display when uploading to " +"Discord. If this is not given then it defaults to ``fp.name`` or if " +"``fp`` is a string then the ``filename`` will default to the string " +"given." msgstr "" -#: ../../api.rst:2085 +#: discord.File:25 of +#, fuzzy +msgid ":class:`bool` -- Whether the attachment is a spoiler." +msgstr ":class:`bool` -- ユーザーがBotであるかどうかを表します。" + +#: ../../api.rst:2132 msgid "Colour" msgstr "" #: discord.Colour:1 of msgid "" -"Represents a Discord role colour. This class is similar to an (red, green, " -"blue) :class:`tuple`." +"Represents a Discord role colour. This class is similar to an (red, " +"green, blue) :class:`tuple`." msgstr "" #: discord.Colour:4 of @@ -9570,7 +9937,7 @@ msgid "" "``0x99aab5``." msgstr "" -#: ../../api.rst:2091 +#: ../../api.rst:2138 msgid "Activity" msgstr "" @@ -9580,7 +9947,8 @@ msgstr "" #: discord.Activity:3 of msgid "" -"This could be an activity such as streaming, playing, listening or watching." +"This could be an activity such as streaming, playing, listening or " +"watching." msgstr "" #: discord.Activity:6 of @@ -9598,7 +9966,8 @@ msgid ":class:`Streaming`" msgstr ":class:`Streaming`" #: discord.Activity:14 of -msgid ":class:`str` -- The application ID of the game." +#, fuzzy +msgid ":class:`int` -- The application ID of the game." msgstr ":class:`str` -- ゲームのアプリケーションID。" #: discord.Activity:18 of @@ -9641,36 +10010,34 @@ msgstr "" #: discord.Activity:47 of msgid "" -":class:`dict` -- A dictionary representing the images and their hover text " -"of an activity. It contains the following optional keys:" +":class:`dict` -- A dictionary representing the images and their hover " +"text of an activity. It contains the following optional keys:" msgstr "" #: discord.Activity:50 of -msgid "" -"``large_image``: A string representing the ID for the large image asset." +msgid "``large_image``: A string representing the ID for the large image asset." msgstr "" #: discord.Activity:51 of msgid "" -"``large_text``: A string representing the text when hovering over the large " -"image asset." +"``large_text``: A string representing the text when hovering over the " +"large image asset." msgstr "" #: discord.Activity:52 of -msgid "" -"``small_image``: A string representing the ID for the small image asset." +msgid "``small_image``: A string representing the ID for the small image asset." msgstr "" #: discord.Activity:53 of msgid "" -"``small_text``: A string representing the text when hovering over the small " -"image asset." +"``small_text``: A string representing the text when hovering over the " +"small image asset." msgstr "" #: discord.Activity:57 of msgid "" -":class:`dict` -- A dictionary representing the activity party. It contains " -"the following optional keys:" +":class:`dict` -- A dictionary representing the activity party. It " +"contains the following optional keys:" msgstr "" #: discord.Activity:59 of @@ -9691,46 +10058,48 @@ msgstr "" #: discord.Activity.end:1 of msgid "" -"Optional[:class:`datetime.datetime`] -- When the user will stop doing this " -"activity in UTC, if applicable." +"Optional[:class:`datetime.datetime`] -- When the user will stop doing " +"this activity in UTC, if applicable." msgstr "" #: discord.Activity.large_image_url:1 of msgid "" -"Optional[:class:`str`] -- Returns a URL pointing to the large image asset of" -" this activity if applicable." +"Optional[:class:`str`] -- Returns a URL pointing to the large image asset" +" of this activity if applicable." msgstr "" #: discord.Activity.small_image_url:1 of msgid "" -"Optional[:class:`str`] -- Returns a URL pointing to the small image asset of" -" this activity if applicable." +"Optional[:class:`str`] -- Returns a URL pointing to the small image asset" +" of this activity if applicable." msgstr "" #: discord.Activity.large_image_text:1 of msgid "" -"Optional[:class:`str`] -- Returns the large image asset hover text of this " -"activity if applicable." +"Optional[:class:`str`] -- Returns the large image asset hover text of " +"this activity if applicable." msgstr "" #: discord.Activity.small_image_text:1 of msgid "" -"Optional[:class:`str`] -- Returns the small image asset hover text of this " -"activity if applicable." +"Optional[:class:`str`] -- Returns the small image asset hover text of " +"this activity if applicable." msgstr "" -#: ../../api.rst:2097 +#: ../../api.rst:2144 msgid "Game" msgstr "" #: discord.Game:1 of msgid "" -"A slimmed down version of :class:`Activity` that represents a Discord game." +"A slimmed down version of :class:`Activity` that represents a Discord " +"game." msgstr "" #: discord.Game:3 of msgid "" -"This is typically displayed via **Playing** on the official Discord client." +"This is typically displayed via **Playing** on the official Discord " +"client." msgstr "" #: discord.Game:9 of @@ -9770,8 +10139,7 @@ msgid ":class:`str` -- The game's name." msgstr ":class:`str` -- ゲームの名前。" #: discord.Game.type:1 discord.Streaming.type:1 of -msgid "" -"Returns the game's type. This is for compatibility with :class:`Activity`." +msgid "Returns the game's type. This is for compatibility with :class:`Activity`." msgstr "" #: discord.Game.type:3 of @@ -9780,17 +10148,17 @@ msgstr "" #: discord.Game.start:1 of msgid "" -"Optional[:class:`datetime.datetime`] -- When the user started playing this " -"game in UTC, if applicable." +"Optional[:class:`datetime.datetime`] -- When the user started playing " +"this game in UTC, if applicable." msgstr "" #: discord.Game.end:1 of msgid "" -"Optional[:class:`datetime.datetime`] -- When the user will stop playing this" -" game in UTC, if applicable." +"Optional[:class:`datetime.datetime`] -- When the user will stop playing " +"this game in UTC, if applicable." msgstr "" -#: ../../api.rst:2103 +#: ../../api.rst:2150 msgid "Streaming" msgstr "" @@ -9834,8 +10202,8 @@ msgstr "" #: discord.Streaming:34 of msgid "" -"Optional[:class:`str`] -- If provided, typically the game the streamer is " -"playing." +"Optional[:class:`str`] -- If provided, typically the game the streamer is" +" playing." msgstr "" #: discord.Streaming:38 of @@ -9856,12 +10224,12 @@ msgstr "" #: discord.Streaming.twitch_name:3 of msgid "" -"This corresponds to the ``large_image`` key of the :attr:`Streaming.assets` " -"dictionary if it starts with ``twitch:``. Typically set by the Discord " -"client." +"This corresponds to the ``large_image`` key of the " +":attr:`Streaming.assets` dictionary if it starts with ``twitch:``. " +"Typically set by the Discord client." msgstr "" -#: ../../api.rst:2109 +#: ../../api.rst:2156 msgid "Permissions" msgstr "" @@ -9872,8 +10240,8 @@ msgstr "" #: discord.Permissions:3 of msgid "" "The properties provided are two way. You can set and retrieve individual " -"bits using the properties as if they were regular bools. This allows you to " -"edit permissions." +"bits using the properties as if they were regular bools. This allows you " +"to edit permissions." msgstr "" #: discord.Permissions:11 of @@ -9906,8 +10274,8 @@ msgstr "" #: discord.Permissions:32 of msgid "" -"Returns an iterator of ``(perm, value)`` pairs. This allows it to be, for " -"example, constructed as a dict or a list of pairs." +"Returns an iterator of ``(perm, value)`` pairs. This allows it to be, for" +" example, constructed as a dict or a list of pairs." msgstr "" #: discord.Permissions:37 of @@ -9933,27 +10301,27 @@ msgstr "" #: discord.Permissions.is_strict_superset:1 of msgid "" -"Returns True if the permissions on other are a strict superset of those on " -"self." +"Returns True if the permissions on other are a strict superset of those " +"on self." msgstr "" #: discord.Permissions.none:1 of msgid "" -"A factory method that creates a :class:`Permissions` with all permissions " -"set to False." +"A factory method that creates a :class:`Permissions` with all permissions" +" set to False." msgstr "" #: discord.Permissions.all:1 of msgid "" -"A factory method that creates a :class:`Permissions` with all permissions " -"set to True." +"A factory method that creates a :class:`Permissions` with all permissions" +" set to True." msgstr "" #: discord.Permissions.all_channel:1 of msgid "" -"A :class:`Permissions` with all channel-specific permissions set to True and" -" the guild-specific ones set to False. The guild-specific permissions are " -"currently:" +"A :class:`Permissions` with all channel-specific permissions set to True " +"and the guild-specific ones set to False. The guild-specific permissions " +"are currently:" msgstr "" #: discord.Permissions.all_channel:5 of @@ -9973,7 +10341,7 @@ msgid "administrator" msgstr "" #: discord.Permissions.all_channel:9 of -msgid "change_nicknames" +msgid "change_nickname" msgstr "" #: discord.Permissions.all_channel:10 of @@ -9982,8 +10350,8 @@ msgstr "" #: discord.Permissions.general:1 of msgid "" -"A factory method that creates a :class:`Permissions` with all \"General\" " -"permissions from the official Discord UI set to True." +"A factory method that creates a :class:`Permissions` with all \"General\"" +" permissions from the official Discord UI set to True." msgstr "" #: discord.Permissions.text:1 of @@ -10004,9 +10372,9 @@ msgstr "" #: discord.PermissionOverwrite.update:3 discord.Permissions.update:3 of msgid "" -"Allows you to set multiple attributes by using keyword arguments. The names " -"must be equivalent to the properties listed. Extraneous key/value pairs will" -" be silently ignored." +"Allows you to set multiple attributes by using keyword arguments. The " +"names must be equivalent to the properties listed. Extraneous key/value " +"pairs will be silently ignored." msgstr "" #: discord.Permissions.update:7 of @@ -10027,8 +10395,8 @@ msgstr "" #: discord.Permissions.administrator:1 of msgid "" -"Returns True if a user is an administrator. This role overrides all other " -"permissions." +"Returns True if a user is an administrator. This role overrides all other" +" permissions." msgstr "" #: discord.Permissions.administrator:3 of @@ -10036,8 +10404,7 @@ msgid "This also bypasses all channel-specific overrides." msgstr "" #: discord.Permissions.manage_channels:1 of -msgid "" -"Returns True if a user can edit, delete, or create channels in the guild." +msgid "Returns True if a user can edit, delete, or create channels in the guild." msgstr "" #: discord.Permissions.manage_channels:3 of @@ -10062,12 +10429,14 @@ msgstr "" #: discord.Permissions.read_messages:1 of msgid "" -"Returns True if a user can read messages from all or specific text channels." +"Returns True if a user can read messages from all or specific text " +"channels." msgstr "" #: discord.Permissions.send_messages:1 of msgid "" -"Returns True if a user can send messages from all or specific text channels." +"Returns True if a user can send messages from all or specific text " +"channels." msgstr "" #: discord.Permissions.send_tts_messages:1 of @@ -10078,13 +10447,14 @@ msgstr "" #: discord.Permissions.manage_messages:1 of msgid "" -"Returns True if a user can delete or pin messages in a text channel. Note " -"that there are currently no ways to edit other people's messages." +"Returns True if a user can delete or pin messages in a text channel. Note" +" that there are currently no ways to edit other people's messages." msgstr "" #: discord.Permissions.embed_links:1 of msgid "" -"Returns True if a user's messages will automatically be embedded by Discord." +"Returns True if a user's messages will automatically be embedded by " +"Discord." msgstr "" #: discord.Permissions.attach_files:1 of @@ -10097,8 +10467,8 @@ msgstr "" #: discord.Permissions.mention_everyone:1 of msgid "" -"Returns True if a user's @everyone will mention everyone in the text " -"channel." +"Returns True if a user's @everyone or @here will mention everyone in the " +"text channel." msgstr "" #: discord.Permissions.external_emojis:1 of @@ -10157,7 +10527,7 @@ msgstr "" msgid "Returns True if a user can create, edit, or delete emojis." msgstr "" -#: ../../api.rst:2115 +#: ../../api.rst:2162 msgid "PermissionOverwrite" msgstr "" @@ -10167,16 +10537,16 @@ msgstr "" #: discord.PermissionOverwrite:3 of msgid "" -"Unlike a regular :class:`Permissions`\\, the default value of a permission " -"is equivalent to ``None`` and not ``False``. Setting a value to ``False`` is" -" **explicitly** denying that permission, while setting a value to ``True`` " -"is **explicitly** allowing that permission." +"Unlike a regular :class:`Permissions`\\, the default value of a " +"permission is equivalent to ``None`` and not ``False``. Setting a value " +"to ``False`` is **explicitly** denying that permission, while setting a " +"value to ``True`` is **explicitly** allowing that permission." msgstr "" #: discord.PermissionOverwrite:9 of msgid "" -"The values supported by this are the same as :class:`Permissions` with the " -"added possibility of it being set to ``None``." +"The values supported by this are the same as :class:`Permissions` with " +"the added possibility of it being set to ``None``." msgstr "" #: discord.PermissionOverwrite:12 of @@ -10188,16 +10558,34 @@ msgid "Operation" msgstr "" #: discord.PermissionOverwrite:17 of -msgid "iter(x)" +msgid "x == y" msgstr "" #: discord.PermissionOverwrite:17 of +#, fuzzy +msgid "Checks if two overwrites are equal." +msgstr "二つのオブジェクトが等しいか比較します。" + +#: discord.PermissionOverwrite:19 of +msgid "x != y" +msgstr "" + +#: discord.PermissionOverwrite:19 of +#, fuzzy +msgid "Checks if two overwrites are not equal." +msgstr "二つのオブジェクトが等しいものでないか比較します。" + +#: discord.PermissionOverwrite:21 of +msgid "iter(x)" +msgstr "" + +#: discord.PermissionOverwrite:21 of msgid "" "Returns an iterator of (perm, value) pairs. This allows this class to be " "used as an iterable in e.g. set/list/dict constructions." msgstr "" -#: discord.PermissionOverwrite:23 of +#: discord.PermissionOverwrite:27 of msgid "Set the value of permissions by their name." msgstr "" @@ -10219,8 +10607,8 @@ msgstr "" #: discord.PermissionOverwrite.is_empty:3 of msgid "" -"An empty permission overwrite is one that has no overwrites set to True or " -"False." +"An empty permission overwrite is one that has no overwrites set to True " +"or False." msgstr "" #: discord.PermissionOverwrite.update:1 of @@ -10231,11 +10619,11 @@ msgstr "" msgid "A list of key/value pairs to bulk update with." msgstr "" -#: ../../api.rst:2121 +#: ../../api.rst:2168 msgid "Exceptions" msgstr "例外" -#: ../../api.rst:2123 +#: ../../api.rst:2170 msgid "The following exceptions are thrown by the library." msgstr "" @@ -10245,13 +10633,12 @@ msgstr "" #: discord.DiscordException:3 of msgid "" -"Ideally speaking, this could be caught to handle any exceptions thrown from " -"this library." +"Ideally speaking, this could be caught to handle any exceptions thrown " +"from this library." msgstr "" #: discord.ClientException:1 of -msgid "" -"Exception that's thrown when an operation in the :class:`Client` fails." +msgid "Exception that's thrown when an operation in the :class:`Client` fails." msgstr "" #: discord.ClientException:3 of @@ -10260,8 +10647,8 @@ msgstr "" #: discord.LoginFailure:1 of msgid "" -"Exception that's thrown when the :meth:`Client.login` function fails to log " -"you in from improper credentials or some other misc. failure." +"Exception that's thrown when the :meth:`Client.login` function fails to " +"log you in from improper credentials or some other misc. failure." msgstr "" #: discord.NoMoreItems:1 of @@ -10276,9 +10663,9 @@ msgstr "" #: discord.HTTPException:5 of msgid "" -"*aiohttp.ClientResponse* -- The response of the failed HTTP request. This is" -" an instance of `aiohttp.ClientResponse`__. In some cases this could also be" -" a ``requests.Response``." +"*aiohttp.ClientResponse* -- The response of the failed HTTP request. This" +" is an instance of `aiohttp.ClientResponse`__. In some cases this could " +"also be a ``requests.Response``." msgstr "" #: discord.HTTPException:13 of @@ -10307,14 +10694,15 @@ msgstr "" #: discord.InvalidArgument:1 of msgid "" -"Exception that's thrown when an argument to a function is invalid some way " -"(e.g. wrong value or wrong type)." +"Exception that's thrown when an argument to a function is invalid some " +"way (e.g. wrong value or wrong type)." msgstr "" #: discord.InvalidArgument:4 of msgid "" -"This could be considered the analogous of ``ValueError`` and ``TypeError`` " -"except derived from :exc:`ClientException` and thus :exc:`DiscordException`." +"This could be considered the analogous of ``ValueError`` and " +"``TypeError`` except derived from :exc:`ClientException` and thus " +":exc:`DiscordException`." msgstr "" #: discord.GatewayNotFound:1 of @@ -10325,8 +10713,8 @@ msgstr "" #: discord.ConnectionClosed:1 of msgid "" -"Exception that's thrown when the gateway connection is closed for reasons " -"that could not be handled internally." +"Exception that's thrown when the gateway connection is closed for reasons" +" that could not be handled internally." msgstr "" #: discord.ConnectionClosed:6 of @@ -10354,77 +10742,98 @@ msgid "An exception that is thrown for when libopus is not loaded." msgstr "" #~ msgid "" -#~ "The *bytes-like* object representing the icon. See :meth:`~ClientUser.edit` " -#~ "for more details on what is expected." +#~ "The *bytes-like* object representing the" +#~ " icon. See :meth:`~ClientUser.edit` for " +#~ "more details on what is expected." #~ msgstr "" -#~ "アイコンを表す *バイトライク* なオブジェクト。何ができるかの詳細については :meth:`~ClientUser.edit` を参照してください。" +#~ "アイコンを表す *バイトライク* なオブジェクト。何ができるかの詳細については " +#~ ":meth:`~ClientUser.edit` を参照してください。" #~ msgid "The *bytes-like object* denoting PCM or Opus voice data." #~ msgstr "" #~ msgid "" -#~ "If the audio is complete, then returning an empty *bytes-like* object to " -#~ "signal this is the way to do so." +#~ "If the audio is complete, then " +#~ "returning an empty *bytes-like* object" +#~ " to signal this is the way to" +#~ " do so." #~ msgstr "" #~ msgid "" -#~ "Called when a reaction has a reaction added. Unlike :func:`on_reaction_add`," -#~ " this is called regardless of the state of the internal message cache." +#~ "Called when a reaction has a " +#~ "reaction added. Unlike :func:`on_reaction_add`, " +#~ "this is called regardless of the " +#~ "state of the internal message cache." #~ msgstr "" #~ msgid "A *bytes-like* object representing the webhook's new default avatar." #~ msgstr "" #~ msgid "" -#~ "To upload an avatar, a *bytes-like object* must be passed in that represents" -#~ " the image being uploaded. If this is done through a file then the file must" -#~ " be opened via ``open('some_filename', 'rb')`` and the *bytes-like object* " -#~ "is given through the use of ``fp.read()``." +#~ "To upload an avatar, a *bytes-like" +#~ " object* must be passed in that " +#~ "represents the image being uploaded. If" +#~ " this is done through a file " +#~ "then the file must be opened via" +#~ " ``open('some_filename', 'rb')`` and the " +#~ "*bytes-like object* is given through " +#~ "the use of ``fp.read()``." #~ msgstr "" #~ msgid "" -#~ "A *bytes-like object* representing the image to upload. Could be ``None`` to" -#~ " denote no avatar." +#~ "A *bytes-like object* representing the" +#~ " image to upload. Could be ``None``" +#~ " to denote no avatar." #~ msgstr "" #~ msgid ":exc:`ClientException` -- Password is required for non-bot accounts." #~ msgstr ":exc:`ClientException` -- パスワードはBot以外のアカウントに必要です。" #~ msgid "" -#~ "A :class:`Member` that sent the message. If :attr:`channel` is a private " -#~ "channel, then it is a :class:`User` instead." +#~ "A :class:`Member` that sent the message." +#~ " If :attr:`channel` is a private " +#~ "channel, then it is a :class:`User` " +#~ "instead." #~ msgstr "" #~ msgid "Python 3.4 Usage ::" #~ msgstr "" #~ msgid "" -#~ "The *bytes-like* object representing the image data to use. Only JPG and PNG" -#~ " images are supported." +#~ "The *bytes-like* object representing the" +#~ " image data to use. Only JPG " +#~ "and PNG images are supported." #~ msgstr "" #~ msgid "" -#~ "A *bytes-like* object representing the icon. Only PNG/JPEG supported. Could " -#~ "be ``None`` to denote removal of the icon." +#~ "A *bytes-like* object representing the" +#~ " icon. Only PNG/JPEG supported. Could " +#~ "be ``None`` to denote removal of " +#~ "the icon." #~ msgstr "" #~ msgid "" -#~ "A *bytes-like* object representing the invite splash. Only PNG/JPEG " -#~ "supported. Could be ``None`` to denote removing the splash. Only available " -#~ "for partnered guilds with ``INVITE_SPLASH`` feature." +#~ "A *bytes-like* object representing the" +#~ " invite splash. Only PNG/JPEG supported." +#~ " Could be ``None`` to denote removing" +#~ " the splash. Only available for " +#~ "partnered guilds with ``INVITE_SPLASH`` " +#~ "feature." #~ msgstr "" #~ msgid "Note that bot accounts can only edit custom emojis they own." #~ msgstr "" #~ msgid "" -#~ "A *bytes-like* object representing the webhook's default avatar. This " -#~ "operates similarly to :meth:`~ClientUser.edit`." +#~ "A *bytes-like* object representing the" +#~ " webhook's default avatar. This operates" +#~ " similarly to :meth:`~ClientUser.edit`." #~ msgstr "" #~ msgid "" -#~ "A bytes-like object representing the new icon. Could be ``None`` to remove " -#~ "the icon." +#~ "A bytes-like object representing the " +#~ "new icon. Could be ``None`` to " +#~ "remove the icon." #~ msgstr "" #~ msgid "A :class:`list` of :class:`Role` that the guild has available." @@ -10434,20 +10843,170 @@ msgstr "" #~ msgstr "" #~ msgid "" -#~ "The first element of this list will be the highest role in the hierarchy." +#~ "The first element of this list " +#~ "will be the highest role in the" +#~ " hierarchy." #~ msgstr "" #~ msgid "" -#~ "Note that bot accounts can only edit and delete emojis they have created." +#~ "Note that bot accounts can only " +#~ "edit and delete emojis they have " +#~ "created." #~ msgstr "" #~ msgid "" -#~ "List[:class:`Role`] -- A :class:`list` of :class:`Role` that the member " -#~ "belongs to. Note that the first element of this list is always the default " -#~ "'@everyone' role. These roles are sorted by their position in the role " +#~ "List[:class:`Role`] -- A :class:`list` of " +#~ ":class:`Role` that the member belongs " +#~ "to. Note that the first element of" +#~ " this list is always the default " +#~ "'@everyone' role. These roles are sorted" +#~ " by their position in the role " #~ "hierarchy." #~ msgstr "" #~ msgid "" -#~ "List[:class:`Role`] -- A list of roles that is allowed to use this emoji." +#~ "List[:class:`Role`] -- A list of roles" +#~ " that is allowed to use this " +#~ "emoji." +#~ msgstr "" + +#~ msgid "" +#~ "If the invite is for a guild " +#~ "you have not joined, the guild and" +#~ " channel attributes of the returned " +#~ "invite will be :class:`Object` with the" +#~ " names patched in." +#~ msgstr "" + +#~ msgid "" +#~ "Called when a message is deleted. " +#~ "If the message is not found in " +#~ "the :attr:`Client.messages` cache, then these" +#~ " events will not be called. This " +#~ "happens if the message is too old" +#~ " or the client is participating in" +#~ " high traffic guilds. To fix this," +#~ " increase the ``max_messages`` option of" +#~ " :class:`Client`." +#~ msgstr "" + +#~ msgid "" +#~ "Called when a :class:`Message` receives " +#~ "an update event. If the message is" +#~ " not found in the :attr:`Client.messages`" +#~ " cache, then these events will not" +#~ " be called. This happens if the " +#~ "message is too old or the client" +#~ " is participating in high traffic " +#~ "guilds. To fix this, increase the " +#~ "``max_messages`` option of :class:`Client`." +#~ msgstr "" + +#~ msgid "" +#~ "Called when a message has a " +#~ "reaction added to it. Similar to " +#~ "on_message_edit, if the message is not" +#~ " found in the :attr:`Client.messages` " +#~ "cache, then this event will not be" +#~ " called." +#~ msgstr "" + +#~ msgid "" +#~ "Called when a message has a " +#~ "reaction removed from it. Similar to " +#~ "on_message_edit, if the message is not" +#~ " found in the :attr:`Client.messages` " +#~ "cache, then this event will not be" +#~ " called." +#~ msgstr "" + +#~ msgid "" +#~ "A :class:`User` or :class:`Member` of " +#~ "the user who removed the reaction." +#~ msgstr "" + +#~ msgid "" +#~ "Called when a message has all its" +#~ " reactions removed from it. Similar " +#~ "to :func:`on_message_edit`, if the message " +#~ "is not found in the " +#~ ":attr:`Client.messages` cache, then this event" +#~ " will not be called." +#~ msgstr "" + +#~ msgid "" +#~ "This does not check if the " +#~ "``@everyone`` text is in the message " +#~ "itself. Rather this boolean indicates if" +#~ " the ``@everyone`` text is in the " +#~ "message **and** it did end up " +#~ "mentioning everyone." +#~ msgstr "" + +#~ msgid ":class:`str` -- The guild's invite splash." +#~ msgstr "" + +#~ msgid "" +#~ "Returns a friendly URL version of " +#~ "the guild's icon. Returns and empty " +#~ "string if it has no icon." +#~ msgstr "" + +#~ msgid "" +#~ "The format must be one of 'webp'," +#~ " 'jpeg', 'jpg', or 'png'. The size" +#~ " must be a power of 2 between" +#~ " 16 and 1024." +#~ msgstr "" + +#~ msgid "There is currently a limit of 50 local emotes per guild." +#~ msgstr "" + +#~ msgid "" +#~ "The :term:`py:bytes-like object` representing" +#~ " the image data to use. Only " +#~ "JPG and PNG images are supported." +#~ msgstr "" + +#~ msgid "" +#~ "Same as :meth:`create_text_channel` except " +#~ "makes a :class:`VoiceChannel` instead." +#~ msgstr "" + +#~ msgid "" +#~ ":class:`Status` -- The member's status. " +#~ "There is a chance that the status" +#~ " will be a :class:`str` if it " +#~ "is a value that is not recognised" +#~ " by the enumerator." +#~ msgstr "" + +#~ msgid "" +#~ "Union[:class:`Game`, :class:`Streaming`, " +#~ ":class:`Activity`] -- The activity that " +#~ "the user is currently doing. Could " +#~ "be None if no activity is being" +#~ " done." +#~ msgstr "" + +#~ msgid "Note that bot accounts can only delete custom emojis they own." +#~ msgstr "" + +#~ msgid ":class:`Guild` -- The guild the invite is for." +#~ msgstr "" + +#~ msgid ":class:`abc.GuildChannel` -- The channel the invite is for." +#~ msgstr "" + +#~ msgid ":class:`int` -- The user ID who added or removed the reaction." +#~ msgstr "" + +#~ msgid "change_nicknames" +#~ msgstr "" + +#~ msgid "" +#~ "Returns True if a user's @everyone " +#~ "will mention everyone in the text " +#~ "channel." #~ msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po index d961bcc99..a3d56bd07 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po @@ -2,25 +2,25 @@ # Copyright (C) 2015-2017, Rapptz # This file is distributed under the same license as the discord.py package. # FIRST AUTHOR , 2018. -# +# # Translators: # Episword , 2018 -# #, fuzzy msgid "" msgstr "" "Project-Id-Version: discord.py 1.0.0a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-24 23:41-0400\n" +"POT-Creation-Date: 2019-02-18 03:50-0500\n" "PO-Revision-Date: 2018-08-01 17:08+0000\n" "Last-Translator: Episword , 2018\n" -"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-py/teams/88924/ja_JP/)\n" +"Language: ja_JP\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-" +"py/teams/88924/ja_JP/)\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.5.3\n" -"Language: ja_JP\n" -"Plural-Forms: nplurals=1; plural=0;\n" #: ../../ext/commands/api.rst:4 msgid "API Reference" @@ -42,65 +42,67 @@ msgstr "Discord Botを表します。" #: discord.ext.commands.Bot:3 of msgid "" -"This class is a subclass of :class:`discord.Client` and as a result anything" -" that you can do with a :class:`discord.Client` you can do with this bot." +"This class is a subclass of :class:`discord.Client` and as a result " +"anything that you can do with a :class:`discord.Client` you can do with " +"this bot." msgstr "" "このクラスは :class:`discord.Client` のサブクラスのため、 :class:`discord.Client` " "でできることと同じことをこのBotで行うことができます。" #: discord.ext.commands.Bot:10 of msgid "" -"This class also subclasses :class:`.GroupMixin` to provide the functionality" -" to manage commands." +"This class also subclasses :class:`.GroupMixin` to provide the " +"functionality to manage commands." msgstr "また、 :class:`.GroupMixin` も継承しており、コマンド管理の機能も使用可能です。" #: discord.ext.commands.Bot:15 of msgid "" "The command prefix is what the message content must contain initially to " "have a command invoked. This prefix could either be a string to indicate " -"what the prefix should be, or a callable that takes in the bot as its first " -"parameter and :class:`discord.Message` as its second parameter and returns " -"the prefix. This is to facilitate \"dynamic\" command prefixes. This " -"callable can be either a regular function or a coroutine." +"what the prefix should be, or a callable that takes in the bot as its " +"first parameter and :class:`discord.Message` as its second parameter and " +"returns the prefix. This is to facilitate \"dynamic\" command prefixes. " +"This callable can be either a regular function or a coroutine." msgstr "" -"コマンドの接頭詞とは、コマンドの判定のためにメッセージの先頭に付けなければならないものです。接頭詞には、そのまま接頭詞として使用する文字列、または " -":class:`discord.Message` " +"コマンドの接頭詞とは、コマンドの判定のためにメッセージの先頭に付けなければならないものです。接頭詞には、そのまま接頭詞として使用する文字列、または" +" :class:`discord.Message` " "を二つ目の引数として受け取り、接頭詞を返す呼び出し可能な関数を渡すことができます。これは「動的な」接頭詞の実装を容易にするためです。" #: discord.ext.commands.Bot:23 of msgid "" -"An empty string as the prefix always matches, enabling prefix-less command " -"invocation. While this may be useful in DMs it should be avoided in servers," -" as it's likely to cause performance issues and unintended command " -"invocations." -msgstr "" -"接頭詞に空文字列を渡せば、接頭詞なしでコマンドの呼び出しができます。これはDM上では有用ですが、サーバーでは意図せずコマンドを呼び出してしまうことに繋がるため、避けるべきです。" +"An empty string as the prefix always matches, enabling prefix-less " +"command invocation. While this may be useful in DMs it should be avoided " +"in servers, as it's likely to cause performance issues and unintended " +"command invocations." +msgstr "接頭詞に空文字列を渡せば、接頭詞なしでコマンドの呼び出しができます。これはDM上では有用ですが、サーバーでは意図せずコマンドを呼び出してしまうことに繋がるため、避けるべきです。" #: discord.ext.commands.Bot:28 of msgid "" "The command prefix could also be an iterable of strings indicating that " "multiple checks for the prefix should be used and the first one to match " "will be the invocation prefix. You can get this prefix via " -":attr:`.Context.prefix`. To avoid confusion empty iterables are not allowed." +":attr:`.Context.prefix`. To avoid confusion empty iterables are not " +"allowed." msgstr "" -"接頭詞は複数設定することもできます。複数の接頭詞がイテラブルで渡された場合、メッセージと最初に一致するものが接頭詞として使用されます。この接頭詞は " -":attr:`.Context.prefix` で取得することができます。また、空のイテラブルオブジェクトは使用できません。" +"接頭詞は複数設定することもできます。複数の接頭詞がイテラブルで渡された場合、メッセージと最初に一致するものが接頭詞として使用されます。この接頭詞は" +" :attr:`.Context.prefix` で取得することができます。また、空のイテラブルオブジェクトは使用できません。" #: discord.ext.commands.Bot:36 of msgid "" -"When passing multiple prefixes be careful to not pass a prefix that matches " -"a longer prefix occuring later in the sequence. For example, if the command" -" prefix is ``('!', '!?')`` the ``'!?'`` prefix will never be matched to any" -" message as the previous one matches messages starting with ``!?``. This is " -"especially important when passing an empty string, it should always be last " -"as no prefix after it will be matched." +"When passing multiple prefixes be careful to not pass a prefix that " +"matches a longer prefix occuring later in the sequence. For example, if " +"the command prefix is ``('!', '!?')`` the ``'!?'`` prefix will never be " +"matched to any message as the previous one matches messages starting with" +" ``!?``. This is especially important when passing an empty string, it " +"should always be last as no prefix after it will be matched." msgstr "" #: discord.ext.commands.Bot:46 of msgid "" -":class:`bool` -- Whether the commands should be case insensitive. Defaults " -"to ``False``. This attribute does not carry over to groups. You must set it " -"to every group if you require group commands to be case insensitive as well." +":class:`bool` -- Whether the commands should be case insensitive. " +"Defaults to ``False``. This attribute does not carry over to groups. You " +"must set it to every group if you require group commands to be case " +"insensitive as well." msgstr "" ":class:`bool` -- 接頭詞で大文字と小文字を区別するかどうか。デフォルトでは ``False`` " "です。グループコマンドでも大文字と小文字の区別が必要な場合、すべてのグループで設定が必要になります。" @@ -111,68 +113,69 @@ msgstr ":class:`str` -- この内容が、デフォルトのヘルプメッセ #: discord.ext.commands.Bot:56 of msgid "" -":class:`bool` -- If ``True``, the bot will only listen to commands invoked " -"by itself rather than ignoring itself. If ``False`` (the default) then the " -"bot will ignore itself. This cannot be changed once initialised." +":class:`bool` -- If ``True``, the bot will only listen to commands " +"invoked by itself rather than ignoring itself. If ``False`` (the default)" +" then the bot will ignore itself. This cannot be changed once " +"initialised." msgstr "" #: discord.ext.commands.Bot:62 of msgid "" -":class:`.HelpFormatter` -- The formatter used to format the help message. By" -" default, it uses the :class:`.HelpFormatter`. Check it for more info on how" -" to override it. If you want to change the help command completely (add " -"aliases, etc) then a call to :meth:`~.Bot.remove_command` with 'help' as the" -" argument would do the trick." +":class:`.HelpFormatter` -- The formatter used to format the help message." +" By default, it uses the :class:`.HelpFormatter`. Check it for more info " +"on how to override it. If you want to change the help command completely " +"(add aliases, etc) then a call to :meth:`~.Bot.remove_command` with " +"'help' as the argument would do the trick." msgstr "" #: discord.ext.commands.Bot:70 of msgid "" "Optional[:class:`bool`] -- A tribool that indicates if the help command " -"should PM the user instead of sending it to the channel it received it from." -" If the boolean is set to ``True``, then all help output is PM'd. If " -"``False``, none of the help output is PM'd. If ``None``, then the bot will " -"only PM when the help message becomes too long (dictated by more than 1000 " -"characters). Defaults to ``False``." +"should PM the user instead of sending it to the channel it received it " +"from. If the boolean is set to ``True``, then all help output is PM'd. If" +" ``False``, none of the help output is PM'd. If ``None``, then the bot " +"will only PM when the help message becomes too long (dictated by more " +"than 1000 characters). Defaults to ``False``." msgstr "" #: discord.ext.commands.Bot:79 of msgid "" -":class:`dict` -- A dictionary of options to pass in for the construction of " -"the help command. This allows you to change the command behaviour without " -"actually changing the implementation of the command. The attributes will be " -"the same as the ones passed in the :class:`.Command` constructor. Note that " -"``pass_context`` will always be set to ``True`` regardless of what you pass " -"in." +":class:`dict` -- A dictionary of options to pass in for the construction " +"of the help command. This allows you to change the command behaviour " +"without actually changing the implementation of the command. The " +"attributes will be the same as the ones passed in the :class:`.Command` " +"constructor. Note that ``pass_context`` will always be set to ``True`` " +"regardless of what you pass in." msgstr "" #: discord.ext.commands.Bot:87 of msgid "" -":class:`str` -- The format string used when the help command is invoked with" -" a command that is not found. Useful for i18n. Defaults to ``\"No command " -"called {} found.\"``. The only format argument is the name of the command " -"passed." +":class:`str` -- The format string used when the help command is invoked " +"with a command that is not found. Useful for i18n. Defaults to ``\"No " +"command called {} found.\"``. The only format argument is the name of the" +" command passed." msgstr "" #: discord.ext.commands.Bot:93 of msgid "" -":class:`str` -- The format string used when the help command is invoked with" -" requests for a subcommand but the command does not have any subcommands. " -"Defaults to ``\"Command {0.name} has no subcommands.\"``. The first format " -"argument is the :class:`.Command` attempted to get a subcommand and the " -"second is the name." +":class:`str` -- The format string used when the help command is invoked " +"with requests for a subcommand but the command does not have any " +"subcommands. Defaults to ``\"Command {0.name} has no subcommands.\"``. " +"The first format argument is the :class:`.Command` attempted to get a " +"subcommand and the second is the name." msgstr "" #: discord.ext.commands.Bot:100 of msgid "" -"Optional[:class:`int`] -- The ID that owns the bot. If this is not set and " -"is then queried via :meth:`.is_owner` then it is fetched automatically using" -" :meth:`~.Bot.application_info`." +"Optional[:class:`int`] -- The ID that owns the bot. If this is not set " +"and is then queried via :meth:`.is_owner` then it is fetched " +"automatically using :meth:`~.Bot.application_info`." msgstr "" #: discord.ext.commands.Bot.activity:1 of msgid "" -"Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`]] -- The" -" activity being used upon logging in." +"Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`]] -- " +"The activity being used upon logging in." msgstr "" #: discord.ext.commands.Bot.add_check:1 of @@ -190,9 +193,8 @@ msgstr "" #: discord.ext.commands.Bot.add_listener discord.ext.commands.Bot.after_invoke #: discord.ext.commands.Bot.before_invoke #: discord.ext.commands.Bot.change_presence discord.ext.commands.Bot.connect -#: discord.ext.commands.Bot.create_guild -#: discord.ext.commands.Bot.delete_invite discord.ext.commands.Bot.get_cog -#: discord.ext.commands.Bot.get_cog_commands +#: discord.ext.commands.Bot.create_guild discord.ext.commands.Bot.delete_invite +#: discord.ext.commands.Bot.get_cog discord.ext.commands.Bot.get_cog_commands #: discord.ext.commands.Bot.get_command discord.ext.commands.Bot.get_context #: discord.ext.commands.Bot.get_invite discord.ext.commands.Bot.get_prefix #: discord.ext.commands.Bot.get_user_info @@ -249,7 +251,8 @@ msgstr "" #: discord.ext.commands.Bot.add_check:7 of msgid "" -"If the function should only be called once per :meth:`.Command.invoke` call." +"If the function should only be called once per :meth:`.Command.invoke` " +"call." msgstr "" #: discord.ext.commands.Bot.add_cog:1 of @@ -268,10 +271,10 @@ msgstr "" #: discord.ext.commands.Bot.add_cog:8 of msgid "" -"The cog can also have a ``__global_check`` member function that allows you " -"to define a global check. See :meth:`.check` for more info. If the name is " -"``__global_check_once`` then it's equivalent to the :meth:`.check_once` " -"decorator." +"The cog can also have a ``__global_check`` member function that allows " +"you to define a global check. See :meth:`.check` for more info. If the " +"name is ``__global_check_once`` then it's equivalent to the " +":meth:`.check_once` decorator." msgstr "" #: discord.ext.commands.Bot.add_cog:13 of @@ -308,9 +311,8 @@ msgstr "" #: discord.ext.commands.Bot.application_info #: discord.ext.commands.Bot.before_invoke #: discord.ext.commands.Bot.change_presence discord.ext.commands.Bot.connect -#: discord.ext.commands.Bot.create_guild -#: discord.ext.commands.Bot.delete_invite discord.ext.commands.Bot.get_invite -#: discord.ext.commands.Bot.get_user_info +#: discord.ext.commands.Bot.create_guild discord.ext.commands.Bot.delete_invite +#: discord.ext.commands.Bot.get_invite discord.ext.commands.Bot.get_user_info #: discord.ext.commands.Bot.get_user_profile #: discord.ext.commands.Bot.get_webhook_info discord.ext.commands.Bot.listen #: discord.ext.commands.Bot.load_extension discord.ext.commands.Bot.login @@ -323,8 +325,7 @@ msgstr "" #: discord.ext.commands.Context.send discord.ext.commands.Group.add_command #: discord.ext.commands.Group.after_invoke #: discord.ext.commands.Group.before_invoke discord.ext.commands.Group.can_run -#: discord.ext.commands.Group.error -#: discord.ext.commands.GroupMixin.add_command +#: discord.ext.commands.Group.error discord.ext.commands.GroupMixin.add_command #: discord.ext.commands.Paginator.add_line discord.ext.commands.command of msgid "raises" msgstr "例外" @@ -348,11 +349,12 @@ msgid "The non decorator alternative to :meth:`.listen`." msgstr "" #: discord.ext.commands.Bot.add_listener:3 of -msgid "The extra event to listen to." +msgid "The function to call." msgstr "" #: discord.ext.commands.Bot.add_listener:5 of -msgid "The name of the command to use. Defaults to ``func.__name__``." +#, fuzzy +msgid "The name of the event to listen for. Defaults to ``func.__name__``." msgstr "使用するコマンドのデフォルトの名前は ``func.__name__`` です。" #: discord.ext.commands.Bot.add_listener:9 discord.ext.commands.Bot.check:16 @@ -374,8 +376,8 @@ msgstr "" #: discord.ext.commands.Group.after_invoke:3 of msgid "" "A post-invoke hook is called directly after the command is called. This " -"makes it a useful function to clean-up database connections or any type of " -"clean up required." +"makes it a useful function to clean-up database connections or any type " +"of clean up required." msgstr "" #: discord.ext.commands.Bot.after_invoke:7 @@ -386,10 +388,11 @@ msgstr "" #: discord.ext.commands.Bot.after_invoke:11 of msgid "" -"Similar to :meth:`~.Bot.before_invoke`\\, this is not called unless checks " -"and argument parsing procedures succeed. This hook is, however, **always** " -"called regardless of the internal command callback raising an error (i.e. " -":exc:`.CommandInvokeError`\\). This makes it ideal for clean-up scenarios." +"Similar to :meth:`~.Bot.before_invoke`\\, this is not called unless " +"checks and argument parsing procedures succeed. This hook is, however, " +"**always** called regardless of the internal command callback raising an " +"error (i.e. :exc:`.CommandInvokeError`\\). This makes it ideal for clean-" +"up scenarios." msgstr "" #: discord.ext.commands.Bot.after_invoke:17 @@ -411,8 +414,8 @@ msgstr "" #: discord.ext.commands.Bot.change_presence:1 #: discord.ext.commands.Bot.connect:1 discord.ext.commands.Bot.create_guild:1 #: discord.ext.commands.Bot.delete_invite:1 -#: discord.ext.commands.Bot.get_context:1 -#: discord.ext.commands.Bot.get_invite:1 discord.ext.commands.Bot.get_prefix:1 +#: discord.ext.commands.Bot.get_context:1 discord.ext.commands.Bot.get_invite:1 +#: discord.ext.commands.Bot.get_prefix:1 #: discord.ext.commands.Bot.get_user_info:1 #: discord.ext.commands.Bot.get_user_profile:1 #: discord.ext.commands.Bot.get_webhook_info:1 @@ -519,8 +522,8 @@ msgstr "" #: discord.ext.commands.Group.before_invoke:3 of msgid "" "A pre-invoke hook is called directly before the command is called. This " -"makes it a useful function to set up database connections or any type of set" -" up required." +"makes it a useful function to set up database connections or any type of " +"set up required." msgstr "" #: discord.ext.commands.Bot.before_invoke:7 @@ -533,8 +536,8 @@ msgstr "" msgid "" "The :meth:`~.Bot.before_invoke` and :meth:`~.Bot.after_invoke` hooks are " "only called if all checks and argument parsing procedures pass without " -"error. If any check or argument parsing procedures fail then the hooks are " -"not called." +"error. If any check or argument parsing procedures fail then the hooks " +"are not called." msgstr "" #: discord.ext.commands.Bot.before_invoke:16 @@ -550,8 +553,8 @@ msgstr "" #: discord.ext.commands.Bot.change_presence:5 of msgid "" "The activity parameter is a :class:`Activity` object (not a string) that " -"represents the activity being done currently. This could also be the slimmed" -" down versions, :class:`Game` and :class:`Streaming`." +"represents the activity being done currently. This could also be the " +"slimmed down versions, :class:`Game` and :class:`Streaming`." msgstr "" #: discord.ext.commands.Bot.change_presence:9 of @@ -559,27 +562,26 @@ msgid "Example: ::" msgstr "" #: discord.ext.commands.Bot.change_presence:14 of -msgid "" -"The activity being done. ``None`` if no currently active activity is done." +msgid "The activity being done. ``None`` if no currently active activity is done." msgstr "" #: discord.ext.commands.Bot.change_presence:16 of msgid "" -"Indicates what status to change to. If None, then :attr:`Status.online` is " -"used." +"Indicates what status to change to. If None, then :attr:`Status.online` " +"is used." msgstr "" #: discord.ext.commands.Bot.change_presence:19 of msgid "" -"Indicates if you are going AFK. This allows the discord client to know how " -"to handle push notifications better for you in case you are actually idle " -"and not lying." +"Indicates if you are going AFK. This allows the discord client to know " +"how to handle push notifications better for you in case you are actually " +"idle and not lying." msgstr "" #: discord.ext.commands.Bot.change_presence:24 of msgid "" -":exc:`InvalidArgument` -- If the ``activity`` parameter is not the proper " -"type." +":exc:`InvalidArgument` -- If the ``activity`` parameter is not the proper" +" type." msgstr "" #: discord.ext.commands.Bot.check:1 of @@ -589,8 +591,8 @@ msgstr "" #: discord.ext.commands.Bot.check:3 of msgid "" "A global check is similar to a :func:`.check` that is applied on a per " -"command basis except it is run before any command checks have been verified " -"and applies to every command the bot has." +"command basis except it is run before any command checks have been " +"verified and applies to every command the bot has." msgstr "" #: discord.ext.commands.Bot.check:9 discord.ext.commands.Bot.check_once:13 of @@ -599,8 +601,8 @@ msgstr "" #: discord.ext.commands.Bot.check:11 discord.ext.commands.Bot.check_once:15 of msgid "" -"Similar to a command :func:`.check`\\, this takes a single parameter of type" -" :class:`.Context` and can only raise exceptions derived from " +"Similar to a command :func:`.check`\\, this takes a single parameter of " +"type :class:`.Context` and can only raise exceptions derived from " ":exc:`.CommandError`." msgstr "" @@ -627,9 +629,9 @@ msgstr "" #: discord.ext.commands.Bot.clear:3 of msgid "" -"After this, the bot can be considered \"re-opened\", i.e. :meth:`.is_closed`" -" and :meth:`.is_ready` both return ``False`` along with the bot's internal " -"cache cleared." +"After this, the bot can be considered \"re-opened\", i.e. " +":meth:`.is_closed` and :meth:`.is_ready` both return ``False`` along with" +" the bot's internal cache cleared." msgstr "" #: discord.ext.commands.Bot.command:1 discord.ext.commands.Group.command:1 @@ -642,8 +644,8 @@ msgstr "" #: discord.ext.commands.Bot.commands:1 discord.ext.commands.Group.commands:1 #: discord.ext.commands.GroupMixin.commands:1 of msgid "" -"Set[:class:`.Command`] -- A unique set of commands without aliases that are " -"registered." +"Set[:class:`.Command`] -- A unique set of commands without aliases that " +"are registered." msgstr "" #: discord.ext.commands.Bot.connect:3 of @@ -658,18 +660,18 @@ msgstr "" msgid "" "If we should attempt reconnecting, either due to internet failure or a " "specific failure on Discord's part. Certain disconnects that lead to bad " -"state will not be handled (such as invalid sharding payloads or bad tokens)." +"state will not be handled (such as invalid sharding payloads or bad " +"tokens)." msgstr "" #: discord.ext.commands.Bot.connect:14 of msgid "" -":exc:`GatewayNotFound` -- If the gateway to connect to discord is not found." -" Usually if this is thrown then there is a discord API outage." +":exc:`GatewayNotFound` -- If the gateway to connect to discord is not " +"found. Usually if this is thrown then there is a discord API outage." msgstr "" #: discord.ext.commands.Bot.connect:16 of -msgid "" -":exc:`ConnectionClosed` -- The websocket connection has been terminated." +msgid ":exc:`ConnectionClosed` -- The websocket connection has been terminated." msgstr "" #: discord.ext.commands.Bot.create_guild:3 of @@ -702,8 +704,8 @@ msgstr "" #: discord.ext.commands.Bot.create_guild:17 of msgid "" -":exc:`InvalidArgument` -- Invalid icon image format given. Must be PNG or " -"JPG." +":exc:`InvalidArgument` -- Invalid icon image format given. Must be PNG or" +" JPG." msgstr "" #: discord.ext.commands.Bot.create_guild:19 of @@ -755,14 +757,13 @@ msgid "" msgstr "" #: discord.ext.commands.Bot.event:5 of -msgid "" -"The events must be a |corourl|_, if not, :exc:`ClientException` is raised." +msgid "The events must be a |corourl|_, if not, :exc:`ClientException` is raised." msgstr "" #: discord.ext.commands.Bot.get_all_channels:1 of msgid "" -"A generator that retrieves every :class:`abc.GuildChannel` the client can " -"'access'." +"A generator that retrieves every :class:`abc.GuildChannel` the client can" +" 'access'." msgstr "" #: discord.ext.commands.Bot.get_all_channels:3 @@ -772,9 +773,9 @@ msgstr "" #: discord.ext.commands.Bot.get_all_channels:11 of msgid "" -"Just because you receive a :class:`abc.GuildChannel` does not mean that you " -"can communicate in said channel. :meth:`abc.GuildChannel.permissions_for` " -"should be used for that." +"Just because you receive a :class:`abc.GuildChannel` does not mean that " +"you can communicate in said channel. " +":meth:`abc.GuildChannel.permissions_for` should be used for that." msgstr "" #: discord.ext.commands.Bot.get_all_members:1 of @@ -783,8 +784,8 @@ msgstr "" #: discord.ext.commands.Bot.get_channel:1 of msgid "" -"Returns a :class:`abc.GuildChannel` or :class:`abc.PrivateChannel` with the " -"following ID." +"Returns a :class:`abc.GuildChannel` or :class:`abc.PrivateChannel` with " +"the following ID." msgstr "" #: discord.ext.commands.Bot.get_channel:3 of @@ -826,8 +827,7 @@ msgstr "" #: discord.ext.commands.Bot.get_command:1 #: discord.ext.commands.Group.get_command:1 #: discord.ext.commands.GroupMixin.get_command:1 of -msgid "" -"Get a :class:`.Command` or subclasses from the internal list of commands." +msgid "Get a :class:`.Command` or subclasses from the internal list of commands." msgstr "" #: discord.ext.commands.Bot.get_command:4 @@ -863,15 +863,15 @@ msgstr "" #: discord.ext.commands.Bot.get_context:5 of msgid "" -"This is a more low-level counter-part for :meth:`.process_commands` to allow" -" users more fine grained control over the processing." +"This is a more low-level counter-part for :meth:`.process_commands` to " +"allow users more fine grained control over the processing." msgstr "" #: discord.ext.commands.Bot.get_context:8 of msgid "" "The returned context is not guaranteed to be a valid invocation context, " -":attr:`.Context.valid` must be checked to make sure it is. If the context is" -" not valid then it is not a valid candidate to be invoked under " +":attr:`.Context.valid` must be checked to make sure it is. If the context" +" is not valid then it is not a valid candidate to be invoked under " ":meth:`~.Bot.invoke`." msgstr "" @@ -881,9 +881,9 @@ msgstr "" #: discord.ext.commands.Bot.get_context:15 of msgid "" -"The factory class that will be used to create the context. By default, this " -"is :class:`.Context`. Should a custom class be provided, it must be similar " -"enough to :class:`.Context`\\'s interface." +"The factory class that will be used to create the context. By default, " +"this is :class:`.Context`. Should a custom class be provided, it must be " +"similar enough to :class:`.Context`\\'s interface." msgstr "" #: discord.ext.commands.Bot.get_context:20 of @@ -897,13 +897,11 @@ msgid ":class:`.Context`" msgstr ":class:`.Context`" #: discord.ext.commands.Bot.get_emoji:1 of -msgid "" -"Returns a :class:`Emoji` with the given ID. If not found, returns None." +msgid "Returns a :class:`Emoji` with the given ID. If not found, returns None." msgstr "" #: discord.ext.commands.Bot.get_guild:1 of -msgid "" -"Returns a :class:`Guild` with the given ID. If not found, returns None." +msgid "Returns a :class:`Guild` with the given ID. If not found, returns None." msgstr "" #: discord.ext.commands.Bot.get_invite:3 of @@ -913,33 +911,42 @@ msgstr "" #: discord.ext.commands.Bot.get_invite:7 of msgid "" "If the invite is for a guild you have not joined, the guild and channel " -"attributes of the returned invite will be :class:`Object` with the names " -"patched in." +"attributes of the returned :class:`Invite` will be " +":class:`PartialInviteGuild` and :class:`PartialInviteChannel` " +"respectively." msgstr "" #: discord.ext.commands.Bot.get_invite:11 of msgid "The discord invite ID or URL (must be a discord.gg URL)." msgstr "" -#: discord.ext.commands.Bot.get_invite:14 of +#: discord.ext.commands.Bot.get_invite:13 of +msgid "" +"Whether to include count information in the invite. This fills the " +":attr:`Invite.approximate_member_count` and " +":attr:`Invite.approximate_presence_count` fields." +msgstr "" + +#: discord.ext.commands.Bot.get_invite:18 of msgid ":exc:`NotFound` -- The invite has expired or is invalid." msgstr "" -#: discord.ext.commands.Bot.get_invite:15 of +#: discord.ext.commands.Bot.get_invite:19 of msgid ":exc:`HTTPException` -- Getting the invite failed." msgstr "" -#: discord.ext.commands.Bot.get_invite:17 of +#: discord.ext.commands.Bot.get_invite:21 of msgid "The invite from the URL/ID." msgstr "" -#: discord.ext.commands.Bot.get_invite:18 of +#: discord.ext.commands.Bot.get_invite:22 of msgid ":class:`Invite`" msgstr ":class:`Invite`" #: discord.ext.commands.Bot.get_prefix:3 of msgid "" -"Retrieves the prefix the bot is listening to with the message as a context." +"Retrieves the prefix the bot is listening to with the message as a " +"context." msgstr "" #: discord.ext.commands.Bot.get_prefix:6 of @@ -956,8 +963,8 @@ msgstr "" #: discord.ext.commands.Bot.get_user_info:3 of msgid "" -"Retrieves a :class:`User` based on their ID. This can only be used by bot " -"accounts. You do not have to share any guilds with the user to get this " +"Retrieves a :class:`User` based on their ID. This can only be used by bot" +" accounts. You do not have to share any guilds with the user to get this " "information, however many operations do require that you do." msgstr "" @@ -983,7 +990,8 @@ msgstr "" #: discord.ext.commands.Bot.get_user_profile:3 of msgid "" -"Gets an arbitrary user's profile. This can only be used by non-bot accounts." +"Gets an arbitrary user's profile. This can only be used by non-bot " +"accounts." msgstr "" #: discord.ext.commands.Bot.get_user_profile:5 of @@ -1033,19 +1041,20 @@ msgstr ":class:`Webhook`" #: discord.ext.commands.Bot.group:1 discord.ext.commands.Group.group:1 #: discord.ext.commands.GroupMixin.group:1 of msgid "" -"A shortcut decorator that invokes :func:`.group` and adds it to the internal" -" command list via :meth:`~.GroupMixin.add_command`." +"A shortcut decorator that invokes :func:`.group` and adds it to the " +"internal command list via :meth:`~.GroupMixin.add_command`." msgstr "" #: discord.ext.commands.Bot.guilds:1 of msgid "" -"List[:class:`Guild`] -- The guilds that the connected client is a member of." +"List[:class:`Guild`] -- The guilds that the connected client is a member " +"of." msgstr "" #: discord.ext.commands.Bot.invoke:3 of msgid "" -"Invokes the command given under the invocation context and handles all the " -"internal event dispatch mechanisms." +"Invokes the command given under the invocation context and handles all " +"the internal event dispatch mechanisms." msgstr "" #: discord.ext.commands.Bot.invoke:6 of @@ -1057,14 +1066,13 @@ msgid ":obj:`bool`: Indicates if the websocket connection is closed." msgstr "" #: discord.ext.commands.Bot.is_owner:1 of -msgid "" -"Checks if a :class:`.User` or :class:`.Member` is the owner of this bot." +msgid "Checks if a :class:`.User` or :class:`.Member` is the owner of this bot." msgstr "" #: discord.ext.commands.Bot.is_owner:4 of msgid "" -"If an :attr:`owner_id` is not set, it is fetched automatically through the " -"use of :meth:`~.Bot.application_info`." +"If an :attr:`owner_id` is not set, it is fetched automatically through " +"the use of :meth:`~.Bot.application_info`." msgstr "" #: discord.ext.commands.Bot.is_owner:7 of @@ -1072,14 +1080,13 @@ msgid "The user to check for." msgstr "" #: discord.ext.commands.Bot.is_ready:1 of -msgid "" -":obj:`bool`: Specifies if the client's internal cache is ready for use." +msgid ":obj:`bool`: Specifies if the client's internal cache is ready for use." msgstr "" #: discord.ext.commands.Bot.latency:1 of msgid "" -":obj:`float` -- Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in " -"seconds." +":obj:`float` -- Measures latency between a HEARTBEAT and a HEARTBEAT_ACK " +"in seconds." msgstr "" #: discord.ext.commands.Bot.latency:3 of @@ -1088,9 +1095,9 @@ msgstr "" #: discord.ext.commands.Bot.listen:1 of msgid "" -"A decorator that registers another function as an external event listener. " -"Basically this allows you to listen to multiple events from different places" -" e.g. such as :func:`.on_ready`" +"A decorator that registers another function as an external event " +"listener. Basically this allows you to listen to multiple events from " +"different places e.g. such as :func:`.on_ready`" msgstr "" #: discord.ext.commands.Bot.listen:5 of @@ -1113,26 +1120,26 @@ msgstr "" #: discord.ext.commands.Bot.load_extension:3 of msgid "" -"An extension is a python module that contains commands, cogs, or listeners." +"An extension is a python module that contains commands, cogs, or " +"listeners." msgstr "" #: discord.ext.commands.Bot.load_extension:6 of msgid "" "An extension must have a global function, ``setup`` defined as the entry " -"point on what to do when the extension is loaded. This entry point must have" -" a single argument, the ``bot``." +"point on what to do when the extension is loaded. This entry point must " +"have a single argument, the ``bot``." msgstr "" #: discord.ext.commands.Bot.load_extension:10 of msgid "" "The extension name to load. It must be dot separated like regular Python " -"imports if accessing a sub-module. e.g. ``foo.test`` if you want to import " -"``foo/test.py``." +"imports if accessing a sub-module. e.g. ``foo.test`` if you want to " +"import ``foo/test.py``." msgstr "" #: discord.ext.commands.Bot.load_extension:15 of -msgid "" -":exc:`ClientException` -- The extension does not have a setup function." +msgid ":exc:`ClientException` -- The extension does not have a setup function." msgstr "" #: discord.ext.commands.Bot.load_extension:16 of @@ -1150,8 +1157,9 @@ msgstr "" #: discord.ext.commands.Bot.login:9 of msgid "" "Logging on with a user token is against the Discord `Terms of Service " -"`_ and doing " -"so might potentially get your account banned. Use this at your own risk." +"`_ and " +"doing so might potentially get your account banned. Use this at your own " +"risk." msgstr "" #: discord.ext.commands.Bot.login:14 of @@ -1162,8 +1170,8 @@ msgstr "" #: discord.ext.commands.Bot.login:17 of msgid "" -"Keyword argument that specifies if the account logging on is a bot token or " -"not." +"Keyword argument that specifies if the account logging on is a bot token " +"or not." msgstr "" #: discord.ext.commands.Bot.login:21 of @@ -1172,8 +1180,8 @@ msgstr "" #: discord.ext.commands.Bot.login:22 of msgid "" -":exc:`HTTPException` -- An unknown HTTP related error occurred, usually when" -" it isn't 200 or the known incorrect credentials passing status code." +":exc:`HTTPException` -- An unknown HTTP related error occurred, usually " +"when it isn't 200 or the known incorrect credentials passing status code." msgstr "" #: discord.ext.commands.Bot.logout:3 of @@ -1186,8 +1194,8 @@ msgstr "" #: discord.ext.commands.Bot.on_command_error:5 of msgid "" -"By default this prints to ``sys.stderr`` however it could be overridden to " -"have a different implementation." +"By default this prints to ``sys.stderr`` however it could be overridden " +"to have a different implementation." msgstr "" #: discord.ext.commands.Bot.on_command_error:8 of @@ -1200,41 +1208,41 @@ msgstr "" #: discord.ext.commands.Bot.on_error:5 of msgid "" -"By default this prints to ``sys.stderr`` however it could be overridden to " -"have a different implementation. Check :func:`discord.on_error` for more " -"details." +"By default this prints to ``sys.stderr`` however it could be overridden " +"to have a different implementation. Check :func:`discord.on_error` for " +"more details." msgstr "" #: discord.ext.commands.Bot.private_channels:1 of msgid "" -"List[:class:`abc.PrivateChannel`] -- The private channels that the connected" -" client is participating on." +"List[:class:`abc.PrivateChannel`] -- The private channels that the " +"connected client is participating on." msgstr "" #: discord.ext.commands.Bot.private_channels:5 of msgid "" -"This returns only up to 128 most recent private channels due to an internal " -"working on how Discord deals with private channels." +"This returns only up to 128 most recent private channels due to an " +"internal working on how Discord deals with private channels." msgstr "" #: discord.ext.commands.Bot.process_commands:3 of msgid "" -"This function processes the commands that have been registered to the bot " -"and other groups. Without this coroutine, none of the commands will be " +"This function processes the commands that have been registered to the bot" +" and other groups. Without this coroutine, none of the commands will be " "triggered." msgstr "" #: discord.ext.commands.Bot.process_commands:7 of msgid "" -"By default, this coroutine is called inside the :func:`.on_message` event. " -"If you choose to override the :func:`.on_message` event, then you should " -"invoke this coroutine as well." +"By default, this coroutine is called inside the :func:`.on_message` " +"event. If you choose to override the :func:`.on_message` event, then you " +"should invoke this coroutine as well." msgstr "" #: discord.ext.commands.Bot.process_commands:11 of msgid "" -"This is built using other low level tools, and is equivalent to a call to " -":meth:`~.Bot.get_context` followed by a call to :meth:`~.Bot.invoke`." +"This is built using other low level tools, and is equivalent to a call to" +" :meth:`~.Bot.get_context` followed by a call to :meth:`~.Bot.invoke`." msgstr "" #: discord.ext.commands.Bot.process_commands:14 of @@ -1253,22 +1261,28 @@ msgstr "" #: discord.ext.commands.Bot.remove_check:3 of msgid "" -"This function is idempotent and will not raise an exception if the function " -"is not in the global checks." +"This function is idempotent and will not raise an exception if the " +"function is not in the global checks." msgstr "" #: discord.ext.commands.Bot.remove_check:6 of msgid "The function to remove from the global checks." msgstr "" +#: discord.ext.commands.Bot.remove_check:7 of +msgid "" +"If the function was added with ``call_once=True`` in the " +":meth:`.Bot.add_check` call or using :meth:`.check_once`." +msgstr "" + #: discord.ext.commands.Bot.remove_cog:1 of msgid "Removes a cog from the bot." msgstr "" #: discord.ext.commands.Bot.remove_cog:3 of msgid "" -"All registered commands and event listeners that the cog has registered will" -" be removed as well." +"All registered commands and event listeners that the cog has registered " +"will be removed as well." msgstr "" #: discord.ext.commands.Bot.remove_cog:6 of @@ -1277,9 +1291,9 @@ msgstr "" #: discord.ext.commands.Bot.remove_cog:8 of msgid "" -"If the cog defines a special member function named ``__unload`` then it is " -"called when removal has completed. This function **cannot** be a coroutine. " -"It must be a regular function." +"If the cog defines a special member function named ``__unload`` then it " +"is called when removal has completed. This function **cannot** be a " +"coroutine. It must be a regular function." msgstr "" #: discord.ext.commands.Bot.remove_cog:12 of @@ -1290,7 +1304,8 @@ msgstr "" #: discord.ext.commands.Group.remove_command:1 #: discord.ext.commands.GroupMixin.remove_command:1 of msgid "" -"Remove a :class:`.Command` or subclasses from the internal list of commands." +"Remove a :class:`.Command` or subclasses from the internal list of " +"commands." msgstr "" #: discord.ext.commands.Bot.remove_command:4 @@ -1328,16 +1343,15 @@ msgid "The function that was used as a listener to remove." msgstr "" #: discord.ext.commands.Bot.remove_listener:4 of -msgid "" -"The name of the event we want to remove. Defaults to ``func.__name__``." +msgid "The name of the event we want to remove. Defaults to ``func.__name__``." msgstr "" #: discord.ext.commands.Bot.request_offline_members:3 of msgid "" -"Requests previously offline members from the guild to be filled up into the " -":attr:`Guild.members` cache. This function is usually not called. It should " -"only be used if you have the ``fetch_offline_members`` parameter set to " -"``False``." +"Requests previously offline members from the guild to be filled up into " +"the :attr:`Guild.members` cache. This function is usually not called. It " +"should only be used if you have the ``fetch_offline_members`` parameter " +"set to ``False``." msgstr "" #: discord.ext.commands.Bot.request_offline_members:8 of @@ -1354,20 +1368,21 @@ msgstr "" #: discord.ext.commands.Bot.request_offline_members:15 of msgid "" -":exc:`InvalidArgument` -- If any guild is unavailable or not large in the " -"collection." +":exc:`InvalidArgument` -- If any guild is unavailable or not large in the" +" collection." msgstr "" #: discord.ext.commands.Bot.run:1 of msgid "" -"A blocking call that abstracts away the `event loop`_ initialisation from " -"you." +"A blocking call that abstracts away the `event loop`_ initialisation from" +" you." msgstr "" #: discord.ext.commands.Bot.run:4 of msgid "" -"If you want more control over the event loop then this function should not " -"be used. Use :meth:`start` coroutine or :meth:`connect` + :meth:`login`." +"If you want more control over the event loop then this function should " +"not be used. Use :meth:`start` coroutine or :meth:`connect` + " +":meth:`login`." msgstr "" #: discord.ext.commands.Bot.run:8 of @@ -1376,9 +1391,9 @@ msgstr "" #: discord.ext.commands.Bot.run:20 of msgid "" -"This function must be the last function to call due to the fact that it is " -"blocking. That means that registration of events or anything being called " -"after this function call will not execute until it returns." +"This function must be the last function to call due to the fact that it " +"is blocking. That means that registration of events or anything being " +"called after this function call will not execute until it returns." msgstr "" #: discord.ext.commands.Bot.start:3 of @@ -1397,22 +1412,23 @@ msgstr "" #: discord.ext.commands.Bot.unload_extension:6 of msgid "" -"The extension can provide an optional global function, ``teardown``, to do " -"miscellaneous clean-up if necessary. This function takes a single parameter," -" the ``bot``, similar to ``setup`` from :func:`~.Bot.load_extension`." +"The extension can provide an optional global function, ``teardown``, to " +"do miscellaneous clean-up if necessary. This function takes a single " +"parameter, the ``bot``, similar to ``setup`` from " +":func:`~.Bot.load_extension`." msgstr "" #: discord.ext.commands.Bot.unload_extension:11 of msgid "" -"The extension name to unload. It must be dot separated like regular Python " -"imports if accessing a sub-module. e.g. ``foo.test`` if you want to import " -"``foo/test.py``." +"The extension name to unload. It must be dot separated like regular " +"Python imports if accessing a sub-module. e.g. ``foo.test`` if you want " +"to import ``foo/test.py``." msgstr "" #: discord.ext.commands.Bot.user:1 of msgid "" -"Optional[:class:`ClientUser`] -- Represents the connected client. None if " -"not logged in." +"Optional[:class:`ClientUser`] -- Represents the connected client. None if" +" not logged in." msgstr "" #: discord.ext.commands.Bot.users:1 of @@ -1429,31 +1445,31 @@ msgstr "" #: discord.ext.commands.Bot.wait_for:5 of msgid "" -"This could be used to wait for a user to reply to a message, or to react to " -"a message, or to edit a message in a self-contained way." +"This could be used to wait for a user to reply to a message, or to react " +"to a message, or to edit a message in a self-contained way." msgstr "" #: discord.ext.commands.Bot.wait_for:9 of msgid "" "The ``timeout`` parameter is passed onto :func:`asyncio.wait_for`. By " "default, it does not timeout. Note that this does propagate the " -":exc:`asyncio.TimeoutError` for you in case of timeout and is provided for " -"ease of use." +":exc:`asyncio.TimeoutError` for you in case of timeout and is provided " +"for ease of use." msgstr "" #: discord.ext.commands.Bot.wait_for:14 of msgid "" "In case the event returns multiple arguments, a :obj:`tuple` containing " -"those arguments is returned instead. Please check the :ref:`documentation " -"` for a list of events and their parameters." +"those arguments is returned instead. Please check the :ref:`documentation" +" ` for a list of events and their parameters." msgstr "" #: discord.ext.commands.Bot.wait_for:19 of msgid "This function returns the **first event that meets the requirements**." msgstr "" -#: discord.ext.commands.Bot.wait_for:22 -#: discord.ext.commands.Context.history:34 discord.ext.commands.check:21 of +#: discord.ext.commands.Bot.wait_for:22 discord.ext.commands.Context.history:34 +#: discord.ext.commands.check:21 of msgid "Examples" msgstr "" @@ -1467,8 +1483,8 @@ msgstr "" #: discord.ext.commands.Bot.wait_for:55 of msgid "" -"The event name, similar to the :ref:`event reference `, " -"but without the ``on_`` prefix, to wait for." +"The event name, similar to the :ref:`event reference `, but without the ``on_`` prefix, to wait for." msgstr "" #: discord.ext.commands.Bot.wait_for:58 of @@ -1485,14 +1501,15 @@ msgstr "" #: discord.ext.commands.Bot.wait_for:65 of msgid "" -":exc:`asyncio.TimeoutError` -- If a timeout is provided and it was reached." +":exc:`asyncio.TimeoutError` -- If a timeout is provided and it was " +"reached." msgstr "" #: discord.ext.commands.Bot.wait_for:67 of msgid "" "Returns no arguments, a single argument, or a :obj:`tuple` of multiple " -"arguments that mirrors the parameters passed in the :ref:`event reference " -"`." +"arguments that mirrors the parameters passed in the :ref:`event reference" +" `." msgstr "" #: discord.ext.commands.Bot.wait_until_ready:3 of @@ -1502,8 +1519,7 @@ msgstr "" #: discord.ext.commands.Bot.walk_commands:1 #: discord.ext.commands.Group.walk_commands:1 #: discord.ext.commands.GroupMixin.walk_commands:1 of -msgid "" -"An iterator that recursively walks through all commands and subcommands." +msgid "An iterator that recursively walks through all commands and subcommands." msgstr "" #: discord.ext.commands.AutoShardedBot:1 of @@ -1513,14 +1529,14 @@ msgid "" msgstr "" #: discord.ext.commands.when_mentioned:1 of -msgid "" -"A callable that implements a command prefix equivalent to being mentioned." +msgid "A callable that implements a command prefix equivalent to being mentioned." msgstr "" #: discord.ext.commands.when_mentioned:3 #: discord.ext.commands.when_mentioned_or:3 of msgid "" -"These are meant to be passed into the :attr:`.Bot.command_prefix` attribute." +"These are meant to be passed into the :attr:`.Bot.command_prefix` " +"attribute." msgstr "" #: discord.ext.commands.when_mentioned_or:1 of @@ -1529,8 +1545,8 @@ msgstr "" #: discord.ext.commands.when_mentioned_or:13 of msgid "" -"This callable returns another callable, so if this is done inside a custom " -"callable, you must call the returned callable, for example:" +"This callable returns another callable, so if this is done inside a " +"custom callable, you must call the returned callable, for example:" msgstr "" #: discord.ext.commands.when_mentioned_or:23 of @@ -1569,13 +1585,14 @@ msgstr "" #: ../../ext/commands/api.rst:47 msgid "" -"An event that is called when a command is found and is about to be invoked." +"An event that is called when a command is found and is about to be " +"invoked." msgstr "" #: ../../ext/commands/api.rst:49 msgid "" -"This event is called regardless of whether the command itself succeeds via " -"error or completes." +"This event is called regardless of whether the command itself succeeds " +"via error or completes." msgstr "" #: ../../ext/commands/api.rst:57 @@ -1594,29 +1611,29 @@ msgstr "" #: discord.ext.commands.command:1 of msgid "" -"A decorator that transforms a function into a :class:`.Command` or if called" -" with :func:`.group`, :class:`.Group`." +"A decorator that transforms a function into a :class:`.Command` or if " +"called with :func:`.group`, :class:`.Group`." msgstr "" #: discord.ext.commands.command:4 of msgid "" "By default the ``help`` attribute is received automatically from the " "docstring of the function and is cleaned up with the use of " -"``inspect.cleandoc``. If the docstring is ``bytes``, then it is decoded into" -" :class:`str` using utf-8 encoding." +"``inspect.cleandoc``. If the docstring is ``bytes``, then it is decoded " +"into :class:`str` using utf-8 encoding." msgstr "" #: discord.ext.commands.command:9 of msgid "" -"All checks added using the :func:`.check` & co. decorators are added into " -"the function. There is no way to supply your own checks through this " +"All checks added using the :func:`.check` & co. decorators are added into" +" the function. There is no way to supply your own checks through this " "decorator." msgstr "" #: discord.ext.commands.command:13 of msgid "" -"The name to create the command with. By default this uses the function name " -"unchanged." +"The name to create the command with. By default this uses the function " +"name unchanged." msgstr "" #: discord.ext.commands.command:16 of @@ -1653,8 +1670,8 @@ msgstr "" #: discord.ext.commands.Command:3 of msgid "" -"These are not created manually, instead they are created via the decorator " -"or functional interface." +"These are not created manually, instead they are created via the " +"decorator or functional interface." msgstr "" #: discord.ext.commands.Command:8 of @@ -1689,8 +1706,8 @@ msgstr "" msgid "" ":class:`bool` -- A boolean that indicates if the command is currently " "enabled. If the command is invoked while it is disabled, then " -":exc:`.DisabledCommand` is raised to the :func:`.on_command_error` event. " -"Defaults to ``True``." +":exc:`.DisabledCommand` is raised to the :func:`.on_command_error` event." +" Defaults to ``True``." msgstr "" #: discord.ext.commands.Command:40 of @@ -1701,11 +1718,12 @@ msgstr "" #: discord.ext.commands.Command:45 of msgid "" -"A list of predicates that verifies if the command could be executed with the" -" given :class:`.Context` as the sole parameter. If an exception is necessary" -" to be thrown to signal failure, then one derived from :exc:`.CommandError` " -"should be used. Note that if the checks fail then :exc:`.CheckFailure` " -"exception is raised to the :func:`.on_command_error` event." +"A list of predicates that verifies if the command could be executed with " +"the given :class:`.Context` as the sole parameter. If an exception is " +"necessary to be thrown to signal failure, then one derived from " +":exc:`.CommandError` should be used. Note that if the checks fail then " +":exc:`.CheckFailure` exception is raised to the :func:`.on_command_error`" +" event." msgstr "" #: discord.ext.commands.Command:54 of @@ -1714,33 +1732,34 @@ msgstr "" #: discord.ext.commands.Command:58 of msgid "" -":class:`bool` -- If ``True``\\, the default help command does not show this " -"in the help output." +":class:`bool` -- If ``True``\\, the default help command does not show " +"this in the help output." msgstr "" #: discord.ext.commands.Command:63 of msgid "" -":class:`bool` -- If ``False`` and a keyword-only argument is provided then " -"the keyword only argument is stripped and handled as if it was a regular " -"argument that handles :exc:`.MissingRequiredArgument` and default values in " -"a regular matter rather than passing the rest completely raw. If ``True`` " -"then the keyword-only argument will pass in the rest of the arguments in a " -"completely raw matter. Defaults to ``False``." +":class:`bool` -- If ``False`` and a keyword-only argument is provided " +"then the keyword only argument is stripped and handled as if it was a " +"regular argument that handles :exc:`.MissingRequiredArgument` and default" +" values in a regular matter rather than passing the rest completely raw. " +"If ``True`` then the keyword-only argument will pass in the rest of the " +"arguments in a completely raw matter. Defaults to ``False``." msgstr "" #: discord.ext.commands.Command:72 of msgid "" ":class:`bool` -- If ``True``\\, ignores extraneous strings passed to a " "command if all its requirements are met (e.g. ``?foo a b c`` when only " -"expecting ``a`` and ``b``). Otherwise :func:`.on_command_error` and local " -"error handlers are called with :exc:`.TooManyArguments`. Defaults to " +"expecting ``a`` and ``b``). Otherwise :func:`.on_command_error` and local" +" error handlers are called with :exc:`.TooManyArguments`. Defaults to " "``True``." msgstr "" #: discord.ext.commands.Command.clean_params:1 #: discord.ext.commands.Group.clean_params:1 of msgid "" -"Retrieves the parameter OrderedDict without the context or self parameters." +"Retrieves the parameter OrderedDict without the context or self " +"parameters." msgstr "" #: discord.ext.commands.Command.clean_params:3 @@ -1756,8 +1775,8 @@ msgstr "" #: discord.ext.commands.Command.full_parent_name:3 #: discord.ext.commands.Group.full_parent_name:3 of msgid "" -"This the base command name required to execute it. For example, in ``?one " -"two three`` the parent name would be ``one two``." +"This the base command name required to execute it. For example, in ``?one" +" two three`` the parent name would be ``one two``." msgstr "" #: discord.ext.commands.Command.root_parent:1 @@ -1783,8 +1802,8 @@ msgstr "" #: discord.ext.commands.Command.qualified_name:3 #: discord.ext.commands.Group.qualified_name:3 of msgid "" -"This is the full parent name with the command name as well. For example, in " -"``?one two three`` the qualified name would be ``one two three``." +"This is the full parent name with the command name as well. For example, " +"in ``?one two three`` the qualified name would be ``one two three``." msgstr "" #: discord.ext.commands.Command.is_on_cooldown:1 @@ -1794,8 +1813,7 @@ msgstr "" #: discord.ext.commands.Command.is_on_cooldown:3 #: discord.ext.commands.Group.is_on_cooldown:3 of -msgid "" -"The invocation context to use when checking the commands cooldown status." +msgid "The invocation context to use when checking the commands cooldown status." msgstr "" #: discord.ext.commands.Command.is_on_cooldown:6 @@ -1828,10 +1846,10 @@ msgstr "" msgid "The coroutine to register as the local error handler." msgstr "" -#: discord.ext.commands.Command.error:10 discord.ext.commands.Group.error:10 -#: of +#: discord.ext.commands.Command.error:10 discord.ext.commands.Group.error:10 of msgid "" -":exc:`discord.ClientException` -- The coroutine is not actually a coroutine." +":exc:`discord.ClientException` -- The coroutine is not actually a " +"coroutine." msgstr "" #: discord.ext.commands.Command.before_invoke:9 @@ -1857,9 +1875,9 @@ msgstr "" #: discord.ext.commands.Command.short_doc:3 #: discord.ext.commands.Group.short_doc:3 of msgid "" -"By default, this is the :attr:`brief` attribute. If that lookup leads to an " -"empty string then the first line of the :attr:`help` attribute is used " -"instead." +"By default, this is the :attr:`brief` attribute. If that lookup leads to " +"an empty string then the first line of the :attr:`help` attribute is used" +" instead." msgstr "" #: discord.ext.commands.Command.signature:1 @@ -1870,8 +1888,8 @@ msgstr "" #: discord.ext.commands.Command.can_run:3 discord.ext.commands.Group.can_run:3 #: of msgid "" -"Checks if the command can be executed by checking all the predicates inside " -"the :attr:`.checks` attribute." +"Checks if the command can be executed by checking all the predicates " +"inside the :attr:`.checks` attribute." msgstr "" #: discord.ext.commands.Command.can_run:6 discord.ext.commands.Group.can_run:6 @@ -1882,8 +1900,8 @@ msgstr "" #: discord.ext.commands.Command.can_run:9 discord.ext.commands.Group.can_run:9 #: of msgid "" -":class:`CommandError` -- Any command error that was raised during a check " -"call will be propagated by this function." +":class:`CommandError` -- Any command error that was raised during a check" +" call will be propagated by this function." msgstr "" #: discord.ext.commands.Command.can_run:12 @@ -1893,25 +1911,25 @@ msgstr "" #: discord.ext.commands.Group:1 of msgid "" -"A class that implements a grouping protocol for commands to be executed as " -"subcommands." +"A class that implements a grouping protocol for commands to be executed " +"as subcommands." msgstr "" #: discord.ext.commands.Group:4 of msgid "" -"This class is a subclass of :class:`.Command` and thus all options valid in " -":class:`.Command` are valid in here as well." +"This class is a subclass of :class:`.Command` and thus all options valid " +"in :class:`.Command` are valid in here as well." msgstr "" #: discord.ext.commands.Group:9 of msgid "" -":class:`bool` -- Indicates if the group callback should begin parsing and " -"invocation only if no subcommand was found. Useful for making it an error " -"handling function to tell the user that no subcommand was found or to have " -"different functionality in case no subcommand was found. If this is " -"``False``, then the group callback will always be invoked first. This means " -"that the checks and the parsing dictated by its parameters will be executed." -" Defaults to ``False``." +":class:`bool` -- Indicates if the group callback should begin parsing and" +" invocation only if no subcommand was found. Useful for making it an " +"error handling function to tell the user that no subcommand was found or " +"to have different functionality in case no subcommand was found. If this " +"is ``False``, then the group callback will always be invoked first. This " +"means that the checks and the parsing dictated by its parameters will be " +"executed. Defaults to ``False``." msgstr "" #: discord.ext.commands.Group:20 of @@ -1922,8 +1940,8 @@ msgstr "" #: discord.ext.commands.GroupMixin:1 of msgid "" -"A mixin that implements common functionality for classes that behave similar" -" to :class:`.Group` and are allowed to register commands." +"A mixin that implements common functionality for classes that behave " +"similar to :class:`.Group` and are allowed to register commands." msgstr "" #: discord.ext.commands.GroupMixin:6 of @@ -1934,8 +1952,8 @@ msgstr "" #: discord.ext.commands.GroupMixin:11 of msgid "" -":class:`bool` -- Whether the commands should be case insensitive. Defaults " -"to ``False``." +":class:`bool` -- Whether the commands should be case insensitive. " +"Defaults to ``False``." msgstr "" #: ../../ext/commands/api.rst:87 @@ -1947,8 +1965,7 @@ msgid "A class that aids in paginating code blocks for Discord messages." msgstr "" #: discord.ext.commands.Paginator:5 of -msgid "" -":class:`str` -- The prefix inserted to every page. e.g. three backticks." +msgid ":class:`str` -- The prefix inserted to every page. e.g. three backticks." msgstr "" #: discord.ext.commands.Paginator:9 of @@ -1993,20 +2010,21 @@ msgstr "" #: discord.ext.commands.HelpFormatter:1 of msgid "" -"The default base implementation that handles formatting of the help command." +"The default base implementation that handles formatting of the help " +"command." msgstr "" #: discord.ext.commands.HelpFormatter:4 of msgid "" -"To override the behaviour of the formatter, :meth:`~.HelpFormatter.format` " -"should be overridden. A number of utility functions are provided for use " -"inside that method." +"To override the behaviour of the formatter, " +":meth:`~.HelpFormatter.format` should be overridden. A number of utility " +"functions are provided for use inside that method." msgstr "" #: discord.ext.commands.HelpFormatter:10 of msgid "" -":class:`bool` -- Dictates if hidden commands should be shown in the output. " -"Defaults to ``False``." +":class:`bool` -- Dictates if hidden commands should be shown in the " +"output. Defaults to ``False``." msgstr "" #: discord.ext.commands.HelpFormatter:15 of @@ -2021,18 +2039,30 @@ msgid "" "Defaults to 80." msgstr "" +#: discord.ext.commands.HelpFormatter:25 of +msgid "" +":class:`str` -- The command list's heading string used when the help " +"command is invoked with a category name. Useful for i18n. Defaults to " +"``\"Commands:\"``" +msgstr "" + +#: discord.ext.commands.HelpFormatter:30 of +msgid "" +":class:`str` -- The string used when there is a command which does not " +"belong to any category(cog). Useful for i18n. Defaults to ``\"No " +"Category\"``" +msgstr "" + #: discord.ext.commands.HelpFormatter.has_subcommands:1 of msgid ":class:`bool`: Specifies if the command has subcommands." msgstr "" #: discord.ext.commands.HelpFormatter.is_bot:1 of -msgid "" -":class:`bool`: Specifies if the command being formatted is the bot itself." +msgid ":class:`bool`: Specifies if the command being formatted is the bot itself." msgstr "" #: discord.ext.commands.HelpFormatter.is_cog:1 of -msgid "" -":class:`bool`: Specifies if the command being formatted is actually a cog." +msgid ":class:`bool`: Specifies if the command being formatted is actually a cog." msgstr "" #: discord.ext.commands.HelpFormatter.shorten:1 of @@ -2041,8 +2071,8 @@ msgstr "" #: discord.ext.commands.HelpFormatter.max_name_size:1 of msgid "" -":class:`int` -- Returns the largest name length of a command or if it has " -"subcommands the largest subcommand name." +":class:`int` -- Returns the largest name length of a command or if it has" +" subcommands the largest subcommand name." msgstr "" #: discord.ext.commands.HelpFormatter.clean_prefix:1 of @@ -2057,15 +2087,15 @@ msgstr "" #: discord.ext.commands.HelpFormatter.filter_command_list:1 of msgid "" -"Returns a filtered list of commands based on the two attributes provided, " -":attr:`show_check_failure` and :attr:`show_hidden`. Also filters based on if" -" :meth:`~.HelpFormatter.is_cog` is valid." +"Returns a filtered list of commands based on the two attributes provided," +" :attr:`show_check_failure` and :attr:`show_hidden`. Also filters based " +"on if :meth:`~.HelpFormatter.is_cog` is valid." msgstr "" #: discord.ext.commands.HelpFormatter.filter_command_list:5 of msgid "" -"An iterable with the filter being applied. The resulting value is a (key, " -"value) :class:`tuple` of the command name and the command itself." +"An iterable with the filter being applied. The resulting value is a (key," +" value) :class:`tuple` of the command name and the command itself." msgstr "" #: discord.ext.commands.HelpFormatter.format:1 of @@ -2083,8 +2113,8 @@ msgstr "" #: discord.ext.commands.HelpFormatter.format_help_for:1 of msgid "" -"Formats the help page and handles the actual heavy lifting of how the help " -"command looks like. To change the behaviour, override the " +"Formats the help page and handles the actual heavy lifting of how the " +"help command looks like. To change the behaviour, override the " ":meth:`~.HelpFormatter.format` method." msgstr "" @@ -2102,23 +2132,23 @@ msgstr "" #: discord.ext.commands.check:1 of msgid "" -"A decorator that adds a check to the :class:`.Command` or its subclasses. " -"These checks could be accessed via :attr:`.Command.checks`." +"A decorator that adds a check to the :class:`.Command` or its subclasses." +" These checks could be accessed via :attr:`.Command.checks`." msgstr "" #: discord.ext.commands.check:4 of msgid "" -"These checks should be predicates that take in a single parameter taking a " -":class:`.Context`. If the check returns a ``False``\\-like value then during" -" invocation a :exc:`.CheckFailure` exception is raised and sent to the " -":func:`.on_command_error` event." +"These checks should be predicates that take in a single parameter taking " +"a :class:`.Context`. If the check returns a ``False``\\-like value then " +"during invocation a :exc:`.CheckFailure` exception is raised and sent to " +"the :func:`.on_command_error` event." msgstr "" #: discord.ext.commands.check:9 of msgid "" "If an exception should be thrown in the predicate then it should be a " -"subclass of :exc:`.CommandError`. Any exception not subclassed from it will " -"be propagated while those subclassed will be sent to " +"subclass of :exc:`.CommandError`. Any exception not subclassed from it " +"will be propagated while those subclassed will be sent to " ":func:`.on_command_error`." msgstr "" @@ -2141,23 +2171,29 @@ msgstr "" #: discord.ext.commands.has_role:1 of msgid "" "A :func:`.check` that is added that checks if the member invoking the " -"command has the role specified via the name specified." +"command has the role specified via the name or ID specified." msgstr "" #: discord.ext.commands.has_role:4 of msgid "" -"The name is case sensitive and must be exact. No normalisation is done in " -"the input." +"If a string is specified, you must give the exact name of the role, " +"including caps and spelling." msgstr "" #: discord.ext.commands.has_role:7 of msgid "" -"If the message is invoked in a private message context then the check will " -"return ``False``." +"If an integer is specified, you must give the exact snowflake ID of the " +"role." msgstr "" -#: discord.ext.commands.has_role:10 of -msgid "The name of the role to check." +#: discord.ext.commands.has_role:9 of +msgid "" +"If the message is invoked in a private message context then the check " +"will return ``False``." +msgstr "" + +#: discord.ext.commands.has_role:12 of +msgid "The name or ID of the role to check." msgstr "" #: discord.ext.commands.has_permissions:1 of @@ -2168,14 +2204,14 @@ msgstr "" #: discord.ext.commands.has_permissions:4 of msgid "" -"The permissions passed in must be exactly like the properties shown under " -":class:`.discord.Permissions`." +"The permissions passed in must be exactly like the properties shown under" +" :class:`.discord.Permissions`." msgstr "" #: discord.ext.commands.has_permissions:7 of msgid "" -"This check raises a special exception, :exc:`.MissingPermissions` that is " -"derived from :exc:`.CheckFailure`." +"This check raises a special exception, :exc:`.MissingPermissions` that is" +" derived from :exc:`.CheckFailure`." msgstr "" #: discord.ext.commands.has_permissions:10 of @@ -2185,52 +2221,51 @@ msgstr "" #: discord.ext.commands.has_any_role:1 of msgid "" "A :func:`.check` that is added that checks if the member invoking the " -"command has **any** of the roles specified. This means that if they have one" -" out of the three roles specified, then this check will return `True`." +"command has **any** of the roles specified. This means that if they have " +"one out of the three roles specified, then this check will return `True`." msgstr "" #: discord.ext.commands.has_any_role:5 of -msgid "Similar to :func:`.has_role`\\, the names passed in must be exact." +msgid "Similar to :func:`.has_role`\\, the names or IDs passed in must be exact." msgstr "" #: discord.ext.commands.has_any_role:7 of -msgid "An argument list of names to check that the member has roles wise." +msgid "An argument list of names or IDs to check that the member has roles wise." msgstr "" #: discord.ext.commands.bot_has_role:1 of -msgid "" -"Similar to :func:`.has_role` except checks if the bot itself has the role." +msgid "Similar to :func:`.has_role` except checks if the bot itself has the role." msgstr "" #: discord.ext.commands.bot_has_permissions:1 of msgid "" -"Similar to :func:`.has_permissions` except checks if the bot itself has the " -"permissions listed." +"Similar to :func:`.has_permissions` except checks if the bot itself has " +"the permissions listed." msgstr "" #: discord.ext.commands.bot_has_permissions:4 of msgid "" -"This check raises a special exception, :exc:`.BotMissingPermissions` that is" -" derived from :exc:`.CheckFailure`." +"This check raises a special exception, :exc:`.BotMissingPermissions` that" +" is derived from :exc:`.CheckFailure`." msgstr "" #: discord.ext.commands.bot_has_any_role:1 of msgid "" -"Similar to :func:`.has_any_role` except checks if the bot itself has any of " -"the roles listed." +"Similar to :func:`.has_any_role` except checks if the bot itself has any " +"of the roles listed." msgstr "" #: discord.ext.commands.cooldown:1 of -msgid "" -"A decorator that adds a cooldown to a :class:`.Command` or its subclasses." +msgid "A decorator that adds a cooldown to a :class:`.Command` or its subclasses." msgstr "" #: discord.ext.commands.cooldown:4 of msgid "" -"A cooldown allows a command to only be used a specific amount of times in a " -"specific time frame. These cooldowns can be based either on a per-guild, " -"per-channel, per-user, or global basis. Denoted by the third argument of " -"``type`` which must be of enum type ``BucketType`` which could be either:" +"A cooldown allows a command to only be used a specific amount of times in" +" a specific time frame. These cooldowns can be based either on a per-" +"guild, per-channel, per-user, or global basis. Denoted by the third " +"argument of ``type`` which must be of enum type ``BucketType`` which " +"could be either:" msgstr "" #: discord.ext.commands.cooldown:10 of @@ -2253,33 +2288,36 @@ msgstr "" msgid "``BucketType.member`` for a per-member basis." msgstr "" -#: discord.ext.commands.cooldown:16 of +#: discord.ext.commands.cooldown:15 of +msgid "``BucketType.category`` for a per-category basis." +msgstr "" + +#: discord.ext.commands.cooldown:17 of msgid "" -"If a cooldown is triggered, then :exc:`.CommandOnCooldown` is triggered in " -":func:`.on_command_error` and the local error handler." +"If a cooldown is triggered, then :exc:`.CommandOnCooldown` is triggered " +"in :func:`.on_command_error` and the local error handler." msgstr "" -#: discord.ext.commands.cooldown:19 of +#: discord.ext.commands.cooldown:20 of msgid "A command can only have a single cooldown." msgstr "" -#: discord.ext.commands.cooldown:21 of -msgid "" -"The number of times a command can be used before triggering a cooldown." +#: discord.ext.commands.cooldown:22 of +msgid "The number of times a command can be used before triggering a cooldown." msgstr "" -#: discord.ext.commands.cooldown:23 of +#: discord.ext.commands.cooldown:24 of msgid "The amount of seconds to wait for a cooldown when it's been triggered." msgstr "" -#: discord.ext.commands.cooldown:25 of +#: discord.ext.commands.cooldown:26 of msgid "The type of cooldown to have." msgstr "" #: discord.ext.commands.guild_only:1 of msgid "" -"A :func:`.check` that indicates this command must only be used in a guild " -"context only. Basically, no private messages are allowed when using the " +"A :func:`.check` that indicates this command must only be used in a guild" +" context only. Basically, no private messages are allowed when using the " "command." msgstr "" @@ -2301,8 +2339,8 @@ msgstr "" #: discord.ext.commands.is_owner:6 of msgid "" -"This check raises a special exception, :exc:`.NotOwner` that is derived from" -" :exc:`.CheckFailure`." +"This check raises a special exception, :exc:`.NotOwner` that is derived " +"from :exc:`.CheckFailure`." msgstr "" #: discord.ext.commands.is_nsfw:1 of @@ -2319,9 +2357,9 @@ msgstr "" #: discord.ext.commands.Context:3 of msgid "" -"This class contains a lot of meta data to help you understand more about the" -" invocation context. This class is not created manually and is instead " -"passed around to commands as the first parameter." +"This class contains a lot of meta data to help you understand more about " +"the invocation context. This class is not created manually and is instead" +" passed around to commands as the first parameter." msgstr "" #: discord.ext.commands.Context:7 of @@ -2340,15 +2378,15 @@ msgstr "" #: discord.ext.commands.Context:19 of msgid "" -":class:`list` -- The list of transformed arguments that were passed into the" -" command. If this is accessed during the :func:`on_command_error` event then" -" this list could be incomplete." +":class:`list` -- The list of transformed arguments that were passed into " +"the command. If this is accessed during the :func:`on_command_error` " +"event then this list could be incomplete." msgstr "" #: discord.ext.commands.Context:25 of msgid "" -":class:`dict` -- A dictionary of transformed arguments that were passed into" -" the command. Similar to :attr:`args`\\, if this is accessed in the " +":class:`dict` -- A dictionary of transformed arguments that were passed " +"into the command. Similar to :attr:`args`\\, if this is accessed in the " ":func:`on_command_error` event then this dict could be incomplete." msgstr "" @@ -2364,8 +2402,8 @@ msgstr "" #: discord.ext.commands.Context:40 of msgid "" -":class:`str` -- The command name that triggered this invocation. Useful for " -"finding out which alias called the command." +":class:`str` -- The command name that triggered this invocation. Useful " +"for finding out which alias called the command." msgstr "" #: discord.ext.commands.Context:45 of @@ -2377,9 +2415,9 @@ msgstr "" #: discord.ext.commands.Context:51 of msgid "" "Optional[:class:`str`] -- The string that was attempted to call a " -"subcommand. This does not have to point to a valid registered subcommand and" -" could just point to a nonsense string. If nothing was passed to attempt a " -"call to a subcommand then this is set to `None`." +"subcommand. This does not have to point to a valid registered subcommand " +"and could just point to a nonsense string. If nothing was passed to " +"attempt a call to a subcommand then this is set to `None`." msgstr "" #: discord.ext.commands.Context:58 of @@ -2390,14 +2428,14 @@ msgstr "" #: discord.ext.commands.Context.history:1 of msgid "" -"Return an :class:`AsyncIterator` that enables receiving the destination's " -"message history." +"Return an :class:`AsyncIterator` that enables receiving the destination's" +" message history." msgstr "" #: discord.ext.commands.Context.history:3 of msgid "" -"You must have :attr:`~.Permissions.read_message_history` permissions to use " -"this." +"You must have :attr:`~.Permissions.read_message_history` permissions to " +"use this." msgstr "" #: discord.ext.commands.Context.history:5 of @@ -2406,36 +2444,36 @@ msgstr "" #: discord.ext.commands.Context.history:7 of msgid "" -"The number of messages to retrieve. If ``None``, retrieves every message in " -"the channel. Note, however, that this would make it a slow operation." +"The number of messages to retrieve. If ``None``, retrieves every message " +"in the channel. Note, however, that this would make it a slow operation." msgstr "" #: discord.ext.commands.Context.history:11 of msgid "" -"Retrieve messages before this date or message. If a date is provided it must" -" be a timezone-naive datetime representing UTC time." +"Retrieve messages before this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time." msgstr "" #: discord.ext.commands.Context.history:14 of msgid "" -"Retrieve messages after this date or message. If a date is provided it must " -"be a timezone-naive datetime representing UTC time." +"Retrieve messages after this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time." msgstr "" #: discord.ext.commands.Context.history:17 of msgid "" -"Retrieve messages around this date or message. If a date is provided it must" -" be a timezone-naive datetime representing UTC time. When using this " -"argument, the maximum limit is 101. Note that if the limit is an even number" -" then this will return at most limit + 1 messages." +"Retrieve messages around this date or message. If a date is provided it " +"must be a timezone-naive datetime representing UTC time. When using this " +"argument, the maximum limit is 101. Note that if the limit is an even " +"number then this will return at most limit + 1 messages." msgstr "" #: discord.ext.commands.Context.history:22 of msgid "" "If set to true, return messages in oldest->newest order. If unspecified, " -"this defaults to ``False`` for most cases. However if passing in a ``after``" -" parameter then this is set to ``True``. This avoids getting messages out of" -" order in the ``after`` case." +"this defaults to ``False`` for most cases. However if passing in a " +"``after`` parameter then this is set to ``True``. This avoids getting " +"messages out of order in the ``after`` case." msgstr "" #: discord.ext.commands.Context.history:28 of @@ -2466,8 +2504,8 @@ msgstr "" #: discord.ext.commands.Context.typing:1 of msgid "" -"Returns a context manager that allows you to type for an indefinite period " -"of time." +"Returns a context manager that allows you to type for an indefinite " +"period of time." msgstr "" #: discord.ext.commands.Context.typing:3 of @@ -2476,8 +2514,8 @@ msgstr "" #: discord.ext.commands.Context.typing:7 of msgid "" -"This is both a regular context manager and an async context manager. This " -"means that both ``with`` and ``async with`` work with this." +"This is both a regular context manager and an async context manager. This" +" means that both ``with`` and ``async with`` work with this." msgstr "" #: discord.ext.commands.Context.typing:10 of @@ -2490,8 +2528,8 @@ msgstr "" #: discord.ext.commands.Context.cog:1 of msgid "" -"Returns the cog associated with this context's command. None if it does not " -"exist." +"Returns the cog associated with this context's command. None if it does " +"not exist." msgstr "" #: discord.ext.commands.Context.get_message:3 of @@ -2573,16 +2611,16 @@ msgstr "" #: discord.ext.commands.Context.reinvoke:5 of msgid "" -"This is similar to :meth:`~.Context.invoke` except that it bypasses checks, " -"cooldowns, and error handlers." +"This is similar to :meth:`~.Context.invoke` except that it bypasses " +"checks, cooldowns, and error handlers." msgstr "" #: discord.ext.commands.Context.reinvoke:10 of msgid "" "If you want to bypass :exc:`.UserInputError` derived exceptions, it is " -"recommended to use the regular :meth:`~.Context.invoke` as it will work more" -" naturally. After all, this will end up using the old arguments the user has" -" used and will thus just fail again." +"recommended to use the regular :meth:`~.Context.invoke` as it will work " +"more naturally. After all, this will end up using the old arguments the " +"user has used and will thus just fail again." msgstr "" #: discord.ext.commands.Context.reinvoke:16 of @@ -2591,9 +2629,9 @@ msgstr "" #: discord.ext.commands.Context.reinvoke:18 of msgid "" -"Whether to start the call chain from the very beginning or where we left off" -" (i.e. the command that caused the error). The default is to start where we " -"left off." +"Whether to start the call chain from the very beginning or where we left " +"off (i.e. the command that caused the error). The default is to start " +"where we left off." msgstr "" #: discord.ext.commands.Context.send:3 of @@ -2603,22 +2641,22 @@ msgstr "" #: discord.ext.commands.Context.send:5 of msgid "" "The content must be a type that can convert to a string through " -"``str(content)``. If the content is set to ``None`` (the default), then the " -"``embed`` parameter must be provided." +"``str(content)``. If the content is set to ``None`` (the default), then " +"the ``embed`` parameter must be provided." msgstr "" #: discord.ext.commands.Context.send:9 of msgid "" -"To upload a single file, the ``file`` parameter should be used with a single" -" :class:`File` object. To upload multiple files, the ``files`` parameter " -"should be used with a :class:`list` of :class:`File` objects. **Specifying " -"both parameters will lead to an exception**." +"To upload a single file, the ``file`` parameter should be used with a " +"single :class:`File` object. To upload multiple files, the ``files`` " +"parameter should be used with a :class:`list` of :class:`File` objects. " +"**Specifying both parameters will lead to an exception**." msgstr "" #: discord.ext.commands.Context.send:14 of msgid "" -"If the ``embed`` parameter is provided, it must be of type :class:`Embed` " -"and it must be a rich embed type." +"If the ``embed`` parameter is provided, it must be of type :class:`Embed`" +" and it must be a rich embed type." msgstr "" #: discord.ext.commands.Context.send:17 of @@ -2643,15 +2681,15 @@ msgstr "" #: discord.ext.commands.Context.send:26 of msgid "" -"The nonce to use for sending this message. If the message was successfully " -"sent, then the message will have a nonce with this value." +"The nonce to use for sending this message. If the message was " +"successfully sent, then the message will have a nonce with this value." msgstr "" #: discord.ext.commands.Context.send:29 of msgid "" -"If provided, the number of seconds to wait in the background before deleting" -" the message we just sent. If the deletion fails, then it is silently " -"ignored." +"If provided, the number of seconds to wait in the background before " +"deleting the message we just sent. If the deletion fails, then it is " +"silently ignored." msgstr "" #: discord.ext.commands.Context.send:34 of @@ -2666,8 +2704,8 @@ msgstr "" #: discord.ext.commands.Context.send:36 of msgid "" -":exc:`InvalidArgument` -- The ``files`` list is not of the appropriate size " -"or you specified both ``file`` and ``files``." +":exc:`InvalidArgument` -- The ``files`` list is not of the appropriate " +"size or you specified both ``file`` and ``files``." msgstr "" #: discord.ext.commands.Context.send:39 of @@ -2692,8 +2730,8 @@ msgstr "" #: discord.ext.commands.Context.channel:1 of msgid "" -"Returns the channel associated with this context's command. Shorthand for " -":attr:`Message.channel`." +"Returns the channel associated with this context's command. Shorthand for" +" :attr:`Message.channel`." msgstr "" #: discord.ext.commands.Context.author:1 of @@ -2704,8 +2742,8 @@ msgstr "" #: discord.ext.commands.Context.me:1 of msgid "" -"Similar to :attr:`Guild.me` except it may return the :class:`ClientUser` in " -"private message contexts." +"Similar to :attr:`Guild.me` except it may return the :class:`ClientUser` " +"in private message contexts." msgstr "" #: discord.ext.commands.Context.voice_client:1 of @@ -2720,21 +2758,21 @@ msgstr "" #: discord.ext.commands.Converter:1 of msgid "" -"The base class of custom converters that require the :class:`.Context` to be" -" passed to be useful." +"The base class of custom converters that require the :class:`.Context` to" +" be passed to be useful." msgstr "" #: discord.ext.commands.Converter:4 of msgid "" -"This allows you to implement converters that function similar to the special" -" cased ``discord`` classes." +"This allows you to implement converters that function similar to the " +"special cased ``discord`` classes." msgstr "" #: discord.ext.commands.Converter:7 of msgid "" "Classes that derive from this should override the " -":meth:`~.Converter.convert` method to do its conversion logic. This method " -"must be a coroutine." +":meth:`~.Converter.convert` method to do its conversion logic. This " +"method must be a coroutine." msgstr "" #: discord.ext.commands.CategoryChannelConverter.convert:3 @@ -2768,8 +2806,8 @@ msgstr "" #: discord.ext.commands.clean_content.convert:5 of msgid "" "If an error is found while converting, it is recommended to raise a " -":exc:`.CommandError` derived exception as it will properly propagate to the " -"error handlers." +":exc:`.CommandError` derived exception as it will properly propagate to " +"the error handlers." msgstr "" #: discord.ext.commands.CategoryChannelConverter.convert:9 @@ -2813,13 +2851,13 @@ msgstr "" #: discord.ext.commands.TextChannelConverter:3 #: discord.ext.commands.VoiceChannelConverter:3 of msgid "" -"All lookups are via the local guild. If in a DM context, then the lookup is " -"done by the global cache." +"All lookups are via the local guild. If in a DM context, then the lookup " +"is done by the global cache." msgstr "" #: discord.ext.commands.CategoryChannelConverter:6 -#: discord.ext.commands.EmojiConverter:7 -#: discord.ext.commands.MemberConverter:6 discord.ext.commands.RoleConverter:7 +#: discord.ext.commands.EmojiConverter:7 discord.ext.commands.MemberConverter:6 +#: discord.ext.commands.RoleConverter:7 #: discord.ext.commands.TextChannelConverter:6 #: discord.ext.commands.UserConverter:5 #: discord.ext.commands.VoiceChannelConverter:6 of @@ -2827,8 +2865,8 @@ msgid "The lookup strategy is as follows (in order):" msgstr "" #: discord.ext.commands.CategoryChannelConverter:8 -#: discord.ext.commands.EmojiConverter:9 -#: discord.ext.commands.MemberConverter:8 discord.ext.commands.RoleConverter:9 +#: discord.ext.commands.EmojiConverter:9 discord.ext.commands.MemberConverter:8 +#: discord.ext.commands.RoleConverter:9 #: discord.ext.commands.TextChannelConverter:8 #: discord.ext.commands.UserConverter:7 #: discord.ext.commands.VoiceChannelConverter:8 of @@ -2836,16 +2874,15 @@ msgid "Lookup by ID." msgstr "" #: discord.ext.commands.CategoryChannelConverter:9 -#: discord.ext.commands.MemberConverter:9 -#: discord.ext.commands.RoleConverter:10 +#: discord.ext.commands.MemberConverter:9 discord.ext.commands.RoleConverter:10 #: discord.ext.commands.TextChannelConverter:9 #: discord.ext.commands.UserConverter:8 #: discord.ext.commands.VoiceChannelConverter:9 of msgid "Lookup by mention." msgstr "" -#: discord.ext.commands.MemberConverter:10 -#: discord.ext.commands.UserConverter:9 of +#: discord.ext.commands.MemberConverter:10 discord.ext.commands.UserConverter:9 +#: of msgid "Lookup by name#discrim" msgstr "" @@ -2933,8 +2970,8 @@ msgstr "" #: discord.ext.commands.EmojiConverter:4 of msgid "" -"All lookups are done for the local guild first, if available. If that lookup" -" fails, then it checks the client's global cache." +"All lookups are done for the local guild first, if available. If that " +"lookup fails, then it checks the client's global cache." msgstr "" #: discord.ext.commands.EmojiConverter:10 of @@ -2946,8 +2983,7 @@ msgid "Converts to a :class:`PartialEmoji`." msgstr "" #: discord.ext.commands.PartialEmojiConverter:4 of -msgid "" -"This is done by extracting the animated flag, name and ID from the emoji." +msgid "This is done by extracting the animated flag, name and ID from the emoji." msgstr "" #: discord.ext.commands.clean_content:1 of @@ -2972,15 +3008,15 @@ msgstr "" #: ../../ext/commands/api.rst:184 msgid "" -"A special converter that greedily consumes arguments until it can't. As a " -"consequence of this behaviour, most input errors are silently discarded, " -"since it is used as an indicator of when to stop parsing." +"A special converter that greedily consumes arguments until it can't. As a" +" consequence of this behaviour, most input errors are silently discarded," +" since it is used as an indicator of when to stop parsing." msgstr "" #: ../../ext/commands/api.rst:188 msgid "" -"When a parser error is met the greedy converter stops converting, undoes the" -" internal string parsing routine, and continues parsing regularly." +"When a parser error is met the greedy converter stops converting, undoes " +"the internal string parsing routine, and continues parsing regularly." msgstr "" #: ../../ext/commands/api.rst:191 @@ -2989,8 +3025,8 @@ msgstr "" #: ../../ext/commands/api.rst:199 msgid "" -"An invocation of ``[p]test 1 2 3 4 5 6 hello`` would pass ``numbers`` with " -"``[1, 2, 3, 4, 5, 6]`` and ``reason`` with ``hello``\\." +"An invocation of ``[p]test 1 2 3 4 5 6 hello`` would pass ``numbers`` " +"with ``[1, 2, 3, 4, 5, 6]`` and ``reason`` with ``hello``\\." msgstr "" #: ../../ext/commands/api.rst:202 @@ -3011,9 +3047,9 @@ msgstr "これは :exc:`discord.DiscordException` を継承しています。" #: discord.ext.commands.CommandError:5 of msgid "" -"This exception and exceptions derived from it are handled in a special way " -"as they are caught and passed into a special event from :class:`.Bot`\\, " -":func:`on_command_error`." +"This exception and exceptions derived from it are handled in a special " +"way as they are caught and passed into a special event from " +":class:`.Bot`\\, :func:`on_command_error`." msgstr "" "この例外及び、ここから派生した例外は、キャッチされると :class:`.Bot` の :func:`on_command_error` " "に渡され、特別な方法で処理されます。" @@ -3022,8 +3058,8 @@ msgstr "" msgid "Exception raised when a Converter class raises non-CommandError." msgstr "Converter クラスで、CommandErrorではない例外が発生した際に、発生する例外。" -#: discord.ext.commands.ConversionError:3 -#: discord.ext.commands.UserInputError:4 of +#: discord.ext.commands.ConversionError:3 discord.ext.commands.UserInputError:4 +#: of msgid "This inherits from :exc:`.CommandError`." msgstr "" @@ -3040,8 +3076,8 @@ msgstr "Converter内で発生した元の例外。 ``__cause__`` からも取得 #: discord.ext.commands.MissingRequiredArgument:1 of msgid "" -"Exception raised when parsing a command and a parameter that is required is " -"not encountered." +"Exception raised when parsing a command and a parameter that is required " +"is not encountered." msgstr "コマンドのパラメータ解析の際、要求されたパラメータに値が渡されていない場合に発生します。" #: discord.ext.commands.MissingRequiredArgument:6 of @@ -3050,19 +3086,18 @@ msgstr ":class:`inspect.Parameter` -- 値が渡されなかった引数。" #: discord.ext.commands.BadArgument:1 of msgid "" -"Exception raised when a parsing or conversion failure is encountered on an " -"argument to pass into a command." +"Exception raised when a parsing or conversion failure is encountered on " +"an argument to pass into a command." msgstr "コマンドの引数に渡された値の解析、または変換に失敗した場合に発生する例外。" #: discord.ext.commands.BadUnionArgument:1 of msgid "" -"Exception raised when a :class:`typing.Union` converter fails for all its " -"associated types." +"Exception raised when a :class:`typing.Union` converter fails for all its" +" associated types." msgstr "" #: discord.ext.commands.BadUnionArgument:6 of -msgid "" -":class:`inspect.Parameter` -- The parameter that failed being converted." +msgid ":class:`inspect.Parameter` -- The parameter that failed being converted." msgstr "" #: discord.ext.commands.BadUnionArgument:10 of @@ -3085,13 +3120,14 @@ msgstr "プライベートメッセージコンテキストで、要求された #: discord.ext.commands.CheckFailure:1 of msgid "" -"Exception raised when the predicates in :attr:`.Command.checks` have failed." +"Exception raised when the predicates in :attr:`.Command.checks` have " +"failed." msgstr "" #: discord.ext.commands.CommandNotFound:1 of msgid "" -"Exception raised when a command is attempted to be invoked but no command " -"under that name is found." +"Exception raised when a command is attempted to be invoked but no command" +" under that name is found." msgstr "コマンドを呼び出す際に、指定された名前を持つコマンドが存在していなかった場合に発生する例外。" #: discord.ext.commands.CommandNotFound:4 of @@ -3116,7 +3152,8 @@ msgstr "" #: discord.ext.commands.UserInputError:1 of msgid "" -"The base exception type for errors that involve errors regarding user input." +"The base exception type for errors that involve errors regarding user " +"input." msgstr "" #: discord.ext.commands.CommandOnCooldown:1 of @@ -3131,7 +3168,8 @@ msgstr "" #: discord.ext.commands.CommandOnCooldown:10 of msgid "" -":class:`float` -- The amount of seconds to wait before you can retry again." +":class:`float` -- The amount of seconds to wait before you can retry " +"again." msgstr "" #: discord.ext.commands.NotOwner:1 of @@ -3140,7 +3178,8 @@ msgstr "" #: discord.ext.commands.MissingPermissions:1 of msgid "" -"Exception raised when the command invoker lacks permissions to run command." +"Exception raised when the command invoker lacks permissions to run " +"command." msgstr "" #: discord.ext.commands.BotMissingPermissions:5 @@ -3153,17 +3192,56 @@ msgid "Exception raised when the bot lacks permissions to run command." msgstr "" #~ msgid "" -#~ "The *bytes-like* object representing the icon. See :meth:`~ClientUser.edit` " -#~ "for more details on what is expected." +#~ "The *bytes-like* object representing the" +#~ " icon. See :meth:`~ClientUser.edit` for " +#~ "more details on what is expected." +#~ msgstr "" + +#~ msgid "" +#~ "The factory class that will be " +#~ "used to create the context. By " +#~ "default, this is :class:`.Context`. Should " +#~ "a custom class be provided, it " +#~ "must be similar enough to " +#~ ":class:`.Context`'s interface." +#~ msgstr "" + +#~ msgid "" +#~ "*Optional[command]* -- The parent command " +#~ "that this command belongs to. ``None``" +#~ " is there isn't one." +#~ msgstr "" + +#~ msgid "The extra event to listen to." +#~ msgstr "" + +#~ msgid "" +#~ "If the invite is for a guild " +#~ "you have not joined, the guild and" +#~ " channel attributes of the returned " +#~ "invite will be :class:`Object` with the" +#~ " names patched in." #~ msgstr "" #~ msgid "" -#~ "The factory class that will be used to create the context. By default, this " -#~ "is :class:`.Context`. Should a custom class be provided, it must be similar " -#~ "enough to :class:`.Context`'s interface." +#~ "A :func:`.check` that is added that " +#~ "checks if the member invoking the " +#~ "command has the role specified via " +#~ "the name specified." #~ msgstr "" #~ msgid "" -#~ "*Optional[command]* -- The parent command that this command belongs to. " -#~ "``None`` is there isn't one." +#~ "The name is case sensitive and " +#~ "must be exact. No normalisation is " +#~ "done in the input." +#~ msgstr "" + +#~ msgid "The name of the role to check." #~ msgstr "" + +#~ msgid "Similar to :func:`.has_role`\\, the names passed in must be exact." +#~ msgstr "" + +#~ msgid "An argument list of names to check that the member has roles wise." +#~ msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po index e0f8e6803..4ea66b584 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po @@ -2,26 +2,26 @@ # Copyright (C) 2015-2017, Rapptz # This file is distributed under the same license as the discord.py package. # FIRST AUTHOR , 2018. -# +# # Translators: # 竹内 歩夢 , 2018 # Episword , 2018 -# #, fuzzy msgid "" msgstr "" "Project-Id-Version: discord.py 1.0.0a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-09-24 23:41-0400\n" +"POT-Creation-Date: 2019-02-18 03:50-0500\n" "PO-Revision-Date: 2018-08-01 17:09+0000\n" "Last-Translator: Episword , 2018\n" -"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-py/teams/88924/ja_JP/)\n" +"Language: ja_JP\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-" +"py/teams/88924/ja_JP/)\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.5.3\n" -"Language: ja_JP\n" -"Plural-Forms: nplurals=1; plural=0;\n" #: ../../ext/commands/commands.rst:6 msgid "Commands" @@ -29,17 +29,16 @@ msgstr "Commands" #: ../../ext/commands/commands.rst:8 msgid "" -"One of the most appealing aspect of the command extension is how easy it is " -"to define commands and how you can arbitrarily nest groups and commands to " -"have a rich sub-command system." -msgstr "" -"コマンド拡張の最も魅力的な機能の一つは、簡単にコマンドが定義でき、かつそのコマンドを好きなようにネスト状にして、豊富なサブコマンドを用意することができる点です。" +"One of the most appealing aspect of the command extension is how easy it " +"is to define commands and how you can arbitrarily nest groups and " +"commands to have a rich sub-command system." +msgstr "コマンド拡張の最も魅力的な機能の一つは、簡単にコマンドが定義でき、かつそのコマンドを好きなようにネスト状にして、豊富なサブコマンドを用意することができる点です。" #: ../../ext/commands/commands.rst:11 msgid "" "Commands are defined by attaching it to a regular Python function. The " -"command is then invoked by the user using a similar signature to the Python " -"function." +"command is then invoked by the user using a similar signature to the " +"Python function." msgstr "コマンドは、Pythonの関数と関連付けすることによって定義され、同様のシグネチャを使用してユーザーに呼び出されます。" #: ../../ext/commands/commands.rst:14 @@ -47,8 +46,7 @@ msgid "For example, in the given command definition:" msgstr "例えば、指定されたコマンド定義を使うと次のようになります:" #: ../../ext/commands/commands.rst:22 -msgid "" -"With the following prefix (``$``), it would be invoked by the user via:" +msgid "With the following prefix (``$``), it would be invoked by the user via:" msgstr "Prefixを (``$``) としたとすると、このコマンドは次の用に実行できます。" #: ../../ext/commands/commands.rst:28 @@ -60,8 +58,8 @@ msgstr "コマンドには、少なくとも :class:`.Context` を渡すため #: ../../ext/commands/commands.rst:30 msgid "" "There are two ways of registering a command. The first one is by using " -":meth:`.Bot.command` decorator, as seen in the example above. The second is " -"using the :func:`~ext.commands.command` decorator followed by " +":meth:`.Bot.command` decorator, as seen in the example above. The second " +"is using the :func:`~ext.commands.command` decorator followed by " ":meth:`.Bot.add_command` on the instance." msgstr "" "コマンドを登録するには二通りの方法があります。一つ目は :meth:`.Bot.command` を使用する方法で、二つ目が " @@ -80,9 +78,9 @@ msgstr ":meth:`.Bot.command` が簡単かつ理解がしやすいので、ドキ #: ../../ext/commands/commands.rst:55 msgid "" -"Any parameter that is accepted by the :class:`.Command` constructor can be " -"passed into the decorator. For example, to change the name to something " -"other than the function would be as simple as doing this:" +"Any parameter that is accepted by the :class:`.Command` constructor can " +"be passed into the decorator. For example, to change the name to " +"something other than the function would be as simple as doing this:" msgstr "" ":class:`.Command` " "のコンストラクタの引数はデコレータに渡すことで利用できます。例えば、コマンドの名前を関数以外のものへと変更したい場合は以下のように簡単に設定することができます。" @@ -95,13 +93,12 @@ msgstr "パラメーター" msgid "" "Since we define commands by making Python functions, we also define the " "argument passing behaviour by the function parameters." -msgstr "" -"Pythonの関数定義によって、同時にコマンドを定義するので、関数のパラメーターを設定することにより、コマンドの引数受け渡し動作も定義することができます。" +msgstr "Pythonの関数定義によって、同時にコマンドを定義するので、関数のパラメーターを設定することにより、コマンドの引数受け渡し動作も定義することができます。" #: ../../ext/commands/commands.rst:70 msgid "" -"Certain parameter types do different things in the user side and most forms " -"of parameter types are supported." +"Certain parameter types do different things in the user side and most " +"forms of parameter types are supported." msgstr "" #: ../../ext/commands/commands.rst:73 @@ -110,14 +107,14 @@ msgstr "位置引数" #: ../../ext/commands/commands.rst:75 msgid "" -"The most basic form of parameter passing is the positional parameter. This " -"is where we pass a parameter as-is:" +"The most basic form of parameter passing is the positional parameter. " +"This is where we pass a parameter as-is:" msgstr "最も基本的な引数は位置パラメーターです。与えられた値をそのまま渡します。" #: ../../ext/commands/commands.rst:84 msgid "" -"On the bot using side, you can provide positional arguments by just passing " -"a regular string:" +"On the bot using side, you can provide positional arguments by just " +"passing a regular string:" msgstr "Botの使用者側は、通常の文字列を渡すだけで位置引数に値を渡すことができます。" #: ../../ext/commands/commands.rst:88 @@ -126,14 +123,14 @@ msgstr "間に空白を含む文字列を渡す場合は、文字列を引用符 #: ../../ext/commands/commands.rst:92 msgid "" -"As a note of warning, if you omit the quotes, you will only get the first " -"word:" +"As a note of warning, if you omit the quotes, you will only get the first" +" word:" msgstr "引用符を用いなかった場合、最初の文字列のみが渡されます。" #: ../../ext/commands/commands.rst:96 msgid "" -"Since positional arguments are just regular Python arguments, you can have " -"as many as you want:" +"Since positional arguments are just regular Python arguments, you can " +"have as many as you want:" msgstr "位置引数は、Pythonの引数と同じものなので、好きなだけ設定することが可能です。" #: ../../ext/commands/commands.rst:105 @@ -142,19 +139,17 @@ msgstr "変数" #: ../../ext/commands/commands.rst:107 msgid "" -"Sometimes you want users to pass in an undetermined number of parameters. " -"The library supports this similar to how variable list parameters are done " -"in Python:" -msgstr "" -"場合によっては、可変長のパラメーターを設定したい場合もあるでしょう。このライブラリはPythonの可変長パラメーターと同様にこれをサポートしています。" +"Sometimes you want users to pass in an undetermined number of parameters." +" The library supports this similar to how variable list parameters are " +"done in Python:" +msgstr "場合によっては、可変長のパラメーターを設定したい場合もあるでしょう。このライブラリはPythonの可変長パラメーターと同様にこれをサポートしています。" #: ../../ext/commands/commands.rst:116 msgid "" -"This allows our user to accept either one or many arguments as they please. " -"This works similar to positional arguments, so multi-word parameters should " -"be quoted." -msgstr "" -"これによって一つ、あるいは複数の引数を受け取ることができます。ただし、引数を渡す際の挙動は位置引数と同様のため、複数の単語を含む文字列は引用符で囲む必要があります。" +"This allows our user to accept either one or many arguments as they " +"please. This works similar to positional arguments, so multi-word " +"parameters should be quoted." +msgstr "これによって一つ、あるいは複数の引数を受け取ることができます。ただし、引数を渡す際の挙動は位置引数と同様のため、複数の単語を含む文字列は引用符で囲む必要があります。" #: ../../ext/commands/commands.rst:119 msgid "For example, on the bot side:" @@ -162,8 +157,8 @@ msgstr "例えば、Bot側ではこのように動きます。" #: ../../ext/commands/commands.rst:123 msgid "" -"If the user wants to input a multi-word argument, they have to quote it like" -" earlier:" +"If the user wants to input a multi-word argument, they have to quote it " +"like earlier:" msgstr "複数単語の文字列を渡す際は、引用符で囲んでください。" #: ../../ext/commands/commands.rst:127 @@ -175,8 +170,8 @@ msgstr "" #: ../../ext/commands/commands.rst:132 msgid "" "Since the ``args`` variable is a `tuple " -"`_, you can do anything you would usually do with one." +"`_, you can do anything you would usually do with one." msgstr "" "また、 ``args`` は `tuple `_ のため、通常これ一つで大抵のことは行うことができます。" @@ -187,15 +182,14 @@ msgstr "キーワード引数" #: ../../ext/commands/commands.rst:138 msgid "" -"When you want to handle parsing of the argument yourself or do not feel like" -" you want to wrap multi-word user input into quotes, you can ask the library" -" to give you the rest as a single argument. We do this by using a **keyword-" -"only argument**, seen below:" +"When you want to handle parsing of the argument yourself or do not feel " +"like you want to wrap multi-word user input into quotes, you can ask the " +"library to give you the rest as a single argument. We do this by using a " +"**keyword-only argument**, seen below:" msgstr "" #: ../../ext/commands/commands.rst:150 -msgid "" -"You can only have one keyword-only argument due to parsing ambiguities." +msgid "You can only have one keyword-only argument due to parsing ambiguities." msgstr "" #: ../../ext/commands/commands.rst:152 @@ -208,8 +202,8 @@ msgstr "" #: ../../ext/commands/commands.rst:160 msgid "" -"By default, the keyword-only arguments are stripped of white space to make " -"it easier to work with. This behaviour can be toggled by the " +"By default, the keyword-only arguments are stripped of white space to " +"make it easier to work with. This behaviour can be toggled by the " ":attr:`.Command.rest_is_raw` argument in the decorator." msgstr "" @@ -219,21 +213,21 @@ msgstr "" #: ../../ext/commands/commands.rst:168 msgid "" -"As seen earlier, every command must take at least a single parameter, called" -" the :class:`~ext.commands.Context`." +"As seen earlier, every command must take at least a single parameter, " +"called the :class:`~ext.commands.Context`." msgstr "" -"前述の通り、すべてのコマンドは、必ず :class:`~ext.commands.Context` と呼ばれるパラメータを受け取らなければいけません。" +"前述の通り、すべてのコマンドは、必ず :class:`~ext.commands.Context` " +"と呼ばれるパラメータを受け取らなければいけません。" #: ../../ext/commands/commands.rst:170 msgid "" "This parameter gives you access to something called the \"invocation " -"context\". Essentially all the information you need to know how the command " -"was executed. It contains a lot of useful information:" +"context\". Essentially all the information you need to know how the " +"command was executed. It contains a lot of useful information:" msgstr "" #: ../../ext/commands/commands.rst:173 -msgid "" -":attr:`.Context.guild` to fetch the :class:`Guild` of the command, if any." +msgid ":attr:`.Context.guild` to fetch the :class:`Guild` of the command, if any." msgstr "存在する場合に限り、コマンドの :class:`Guild` を取得する :attr:`.Context.guild` 。" #: ../../ext/commands/commands.rst:174 @@ -242,25 +236,27 @@ msgstr "コマンドの :class:`Message` を取得する :attr:`.Context.message #: ../../ext/commands/commands.rst:175 msgid "" -":attr:`.Context.author` to fetch the :class:`Member` or :class:`User` that " -"called the command." +":attr:`.Context.author` to fetch the :class:`Member` or :class:`User` " +"that called the command." msgstr "" -"コマンドを実行した :class:`Member` あるいは :class:`User` を取得する :attr:`.Context.author` 。" +"コマンドを実行した :class:`Member` あるいは :class:`User` を取得する " +":attr:`.Context.author` 。" #: ../../ext/commands/commands.rst:176 msgid "" -":meth:`.Context.send` to send a message to the channel the command was used " -"in." +":meth:`.Context.send` to send a message to the channel the command was " +"used in." msgstr "コマンドが実行されたチャンネルにメッセージを送信する :meth:`.Context.send` 。" #: ../../ext/commands/commands.rst:178 msgid "" -"The context implements the :class:`abc.Messageable` interface, so anything " -"you can do on a :class:`abc.Messageable` you can do on the " +"The context implements the :class:`abc.Messageable` interface, so " +"anything you can do on a :class:`abc.Messageable` you can do on the " ":class:`~ext.commands.Context`." msgstr "" -"コンテキストは :class:`abc.Messageable` インタフェースを実装しているため、 :class:`abc.Messageable` " -"上でできることは :class:`~ext.commands.Context` 上でも行うことが可能です。" +"コンテキストは :class:`abc.Messageable` インタフェースを実装しているため、 " +":class:`abc.Messageable` 上でできることは :class:`~ext.commands.Context` " +"上でも行うことが可能です。" #: ../../ext/commands/commands.rst:182 msgid "Converters" @@ -270,8 +266,8 @@ msgstr "コンバーター" msgid "" "Adding bot arguments with function parameters is only the first step in " "defining your bot's command interface. To actually make use of the " -"arguments, we usually want to convert the data into a target type. We call " -"these :ref:`ext_commands_api_converters`." +"arguments, we usually want to convert the data into a target type. We " +"call these :ref:`ext_commands_api_converters`." msgstr "" #: ../../ext/commands/commands.rst:188 @@ -300,88 +296,126 @@ msgstr "基本的なコンバーター" #: ../../ext/commands/commands.rst:199 msgid "" -"At its core, a basic converter is a callable that takes in an argument and " -"turns it into something else." +"At its core, a basic converter is a callable that takes in an argument " +"and turns it into something else." msgstr "基本的なコンバーターは、中核をなすものであり、受け取った引数を別のものへと変換します。" #: ../../ext/commands/commands.rst:201 msgid "" -"For example, if we wanted to add two numbers together, we could request that" -" they are turned into integers for us by specifying the converter:" +"For example, if we wanted to add two numbers together, we could request " +"that they are turned into integers for us by specifying the converter:" msgstr "例えば、二つの値を加算したい場合、コンバーターを指定することにより、受け取った値を整数型へ変換するように要求できます。" #: ../../ext/commands/commands.rst:210 msgid "" -"We specify converters by using something called a **function annotation**. " -"This is a Python 3 exclusive feature that was introduced in :pep:`3107`." +"We specify converters by using something called a **function " +"annotation**. This is a Python 3 exclusive feature that was introduced in" +" :pep:`3107`." msgstr "" "コンバーターの指定には関数アノテーションというもの用います。これは :pep:`3107` にて追加された Python 3 " "にのみ実装されている機能です。" #: ../../ext/commands/commands.rst:213 msgid "" -"This works with any callable, such as a function that would convert a string" -" to all upper-case:" +"This works with any callable, such as a function that would convert a " +"string to all upper-case:" msgstr "これは、文字列をすべて大文字に変換する関数などといった、任意の呼び出し可能関数でも動作します。" +#: ../../ext/commands/commands.rst:225 +msgid "bool" +msgstr "" + #: ../../ext/commands/commands.rst:227 +msgid "" +"Unlike the other basic converters, the :class:`bool` converter is treated" +" slightly different. Instead of casting directly to the :class:`bool` " +"type, which would result in any non-empty argument returning ``True``, it" +" instead evaluates the argument as ``True`` or ``False`` based on it's " +"given content:" +msgstr "" + +#: ../../ext/commands/commands.rst:239 msgid "Advanced Converters" msgstr "応用的なコンバーター" -#: ../../ext/commands/commands.rst:229 +#: ../../ext/commands/commands.rst:241 msgid "" -"Sometimes a basic converter doesn't have enough information that we need. " -"For example, sometimes we want to get some information from the " -":class:`Message` that called the command or we want to do some asynchronous " -"processing." +"Sometimes a basic converter doesn't have enough information that we need." +" For example, sometimes we want to get some information from the " +":class:`Message` that called the command or we want to do some " +"asynchronous processing." msgstr "" -"場合によっては、基本的なコンバーターを動かすのに必要な情報が不足していることがあります。例えば、実行されたコマンドの :class:`Message` " -"から情報を取得したい場合や、非同期処理を行いたい場合です。" +"場合によっては、基本的なコンバーターを動かすのに必要な情報が不足していることがあります。例えば、実行されたコマンドの " +":class:`Message` から情報を取得したい場合や、非同期処理を行いたい場合です。" -#: ../../ext/commands/commands.rst:232 +#: ../../ext/commands/commands.rst:244 msgid "" "For this, the library provides the :class:`~ext.commands.Converter` " -"interface. This allows you to have access to the :class:`.Context` and have " -"the callable be asynchronous. Defining a custom converter using this " -"interface requires overriding a single method, :meth:`.Converter.convert`." +"interface. This allows you to have access to the :class:`.Context` and " +"have the callable be asynchronous. Defining a custom converter using this" +" interface requires overriding a single method, " +":meth:`.Converter.convert`." msgstr "" -"そういった用途のために、このライブラリは :class:`~ext.commands.Converter` インタフェースを提供します。これによって " -":class:`.Context` " -"にアクセスが可能になり、また、呼び出し可能関数を非同期にもできるようになります。このインタフェースを使用して、カスタムコンバーターを定義したい場合は " -":meth:`.Converter.convert` をオーバーライドしてください。" +"そういった用途のために、このライブラリは :class:`~ext.commands.Converter` " +"インタフェースを提供します。これによって :class:`.Context` " +"にアクセスが可能になり、また、呼び出し可能関数を非同期にもできるようになります。このインタフェースを使用して、カスタムコンバーターを定義したい場合は" +" :meth:`.Converter.convert` をオーバーライドしてください。" -#: ../../ext/commands/commands.rst:236 +#: ../../ext/commands/commands.rst:248 msgid "An example converter:" msgstr "コンバーターの例" -#: ../../ext/commands/commands.rst:251 +#: ../../ext/commands/commands.rst:263 msgid "" -"The converter provided can either be constructed or not. Essentially these " -"two are equivalent:" +"The converter provided can either be constructed or not. Essentially " +"these two are equivalent:" msgstr "コンバーターはインスタンス化されていなくても構いません。以下の例の二つのは同じ処理になります。" -#: ../../ext/commands/commands.rst:265 +#: ../../ext/commands/commands.rst:277 msgid "" -"Having the possibility of the converter be constructed allows you to set up " -"some state in the converter's ``__init__`` for fine tuning the converter. An" -" example of this is actually in the library, " +"Having the possibility of the converter be constructed allows you to set " +"up some state in the converter's ``__init__`` for fine tuning the " +"converter. An example of this is actually in the library, " ":class:`~ext.commands.clean_content`." msgstr "" "コンバーターをインスタンス化する可能性がある場合、コンバーターの調整を行うために ``__init__`` " "で何かしらの状態を設定することが出来ます。この例としてライブラリに実際に存在する " ":class:`~ext.commands.clean_content` があります。" -#: ../../ext/commands/commands.rst:281 +#: ../../ext/commands/commands.rst:293 msgid "" -"If a converter fails to convert an argument to its designated target type, " -"the :exc:`.BadArgument` exception must be raised." +"If a converter fails to convert an argument to its designated target " +"type, the :exc:`.BadArgument` exception must be raised." msgstr "コンバーターが渡された引数を指定の型に変換できなかった場合は :exc:`.BadArgument` を発生させてください。" -#: ../../ext/commands/commands.rst:285 +#: ../../ext/commands/commands.rst:297 +msgid "Inline Advanced Converters" +msgstr "" + +#: ../../ext/commands/commands.rst:299 +msgid "" +"If we don't want to inherit from :class:`~ext.commands.Converter`, we can" +" still provide a converter that has the advanced functionalities of an " +"advanced converter and save us from specifying two types." +msgstr "" + +#: ../../ext/commands/commands.rst:302 +msgid "" +"For example, a common idiom would be to have a class and a converter for " +"that class:" +msgstr "" + +#: ../../ext/commands/commands.rst:328 +msgid "" +"This can get tedious, so an inline advanced converter is possible through" +" a ``classmethod`` inside the type:" +msgstr "" + +#: ../../ext/commands/commands.rst:355 msgid "Discord Converters" msgstr "Discord コンバーター" -#: ../../ext/commands/commands.rst:287 +#: ../../ext/commands/commands.rst:357 msgid "" "Working with :ref:`discord_api_models` is a fairly common thing when " "defining commands, as a result the library makes working with them easy." @@ -389,80 +423,81 @@ msgstr "" ":ref:`discord_api_models` " "を使用して作業を行うのは、コマンドを定義する際には一般的なことです。そのため、このライブラリでは簡単に作業が行えるようになっています。" -#: ../../ext/commands/commands.rst:290 +#: ../../ext/commands/commands.rst:360 msgid "" "For example, to receive a :class:`Member`, you can just pass it as a " "converter:" msgstr "例えば、 :class:`Member` を受け取るには、これをコンバーターとして渡すだけです。" -#: ../../ext/commands/commands.rst:298 +#: ../../ext/commands/commands.rst:368 msgid "" -"When this command is executed, it attempts to convert the string given into " -"a :class:`Member` and then passes it as a parameter for the function. This " -"works by checking if the string is a mention, an ID, a nickname, a username " -"+ discriminator, or just a regular username. The default set of converters " -"have been written to be as easy to use as possible." +"When this command is executed, it attempts to convert the string given " +"into a :class:`Member` and then passes it as a parameter for the " +"function. This works by checking if the string is a mention, an ID, a " +"nickname, a username + discriminator, or just a regular username. The " +"default set of converters have been written to be as easy to use as " +"possible." msgstr "" "このコマンドが実行されると、与えられた文字列を :class:`Member` " "に変換して、それを関数のパラメーターとして渡します。これは文字列がメンション、ID、ニックネーム、ユーザー名 + " "Discordタグ、または普通のユーザー名かどうかをチェックすることで機能しています。デフォルトで定義されているコンバーターは、できるだけ簡単に使えるように作られています。" -#: ../../ext/commands/commands.rst:302 +#: ../../ext/commands/commands.rst:372 msgid "A lot of discord models work out of the gate as a parameter:" msgstr "Discordモデルの多くがコンバーターとして動作します。" -#: ../../ext/commands/commands.rst:304 ../../ext/commands/commands.rst:325 +#: ../../ext/commands/commands.rst:374 ../../ext/commands/commands.rst:395 msgid ":class:`Member`" msgstr ":class:`Member`" -#: ../../ext/commands/commands.rst:305 ../../ext/commands/commands.rst:327 +#: ../../ext/commands/commands.rst:375 ../../ext/commands/commands.rst:397 msgid ":class:`User`" msgstr ":class:`User`" -#: ../../ext/commands/commands.rst:306 ../../ext/commands/commands.rst:329 +#: ../../ext/commands/commands.rst:376 ../../ext/commands/commands.rst:399 msgid ":class:`TextChannel`" msgstr ":class:`TextChannel`" -#: ../../ext/commands/commands.rst:307 ../../ext/commands/commands.rst:331 -#: ../../ext/commands/commands.rst:333 +#: ../../ext/commands/commands.rst:377 ../../ext/commands/commands.rst:401 +#: ../../ext/commands/commands.rst:403 msgid ":class:`VoiceChannel`" msgstr ":class:`VoiceChannel`" -#: ../../ext/commands/commands.rst:308 +#: ../../ext/commands/commands.rst:378 msgid ":class:`CategoryChannel`" msgstr ":class:`CategoryChannel`" -#: ../../ext/commands/commands.rst:309 ../../ext/commands/commands.rst:335 +#: ../../ext/commands/commands.rst:379 ../../ext/commands/commands.rst:405 msgid ":class:`Role`" msgstr ":class:`Role`" -#: ../../ext/commands/commands.rst:310 ../../ext/commands/commands.rst:337 +#: ../../ext/commands/commands.rst:380 ../../ext/commands/commands.rst:407 msgid ":class:`Invite`" msgstr ":class:`Invite`" -#: ../../ext/commands/commands.rst:311 ../../ext/commands/commands.rst:339 +#: ../../ext/commands/commands.rst:381 ../../ext/commands/commands.rst:409 msgid ":class:`Game`" msgstr ":class:`Game`" -#: ../../ext/commands/commands.rst:312 ../../ext/commands/commands.rst:341 +#: ../../ext/commands/commands.rst:382 ../../ext/commands/commands.rst:411 msgid ":class:`Emoji`" msgstr ":class:`Emoji`" -#: ../../ext/commands/commands.rst:313 ../../ext/commands/commands.rst:343 +#: ../../ext/commands/commands.rst:383 ../../ext/commands/commands.rst:413 msgid ":class:`PartialEmoji`" msgstr ":class:`PartialEmoji`" -#: ../../ext/commands/commands.rst:314 ../../ext/commands/commands.rst:345 +#: ../../ext/commands/commands.rst:384 ../../ext/commands/commands.rst:415 msgid ":class:`Colour`" msgstr ":class:`Colour`" -#: ../../ext/commands/commands.rst:316 +#: ../../ext/commands/commands.rst:386 msgid "" "Having any of these set as the converter will intelligently convert the " "argument to the appropriate target type you specify." msgstr "これらをコンバーターとして設定すると、引数を指定した型へとインテリジェントに変換します。" -#: ../../ext/commands/commands.rst:319 +#: ../../ext/commands/commands.rst:389 msgid "" "Under the hood, these are implemented by the " ":ref:`ext_commands_adv_converters` interface. A table of the equivalent " @@ -471,375 +506,362 @@ msgstr "" "これらは :ref:`ext_commands_adv_converters` " "インタフェースによって実装されています。コンバーターとクラスの関係は以下の通りです。" -#: ../../ext/commands/commands.rst:323 +#: ../../ext/commands/commands.rst:393 msgid "Discord Class" msgstr "Discord クラス" -#: ../../ext/commands/commands.rst:323 +#: ../../ext/commands/commands.rst:393 msgid "Converter" msgstr "コンバーター" -#: ../../ext/commands/commands.rst:325 +#: ../../ext/commands/commands.rst:395 msgid ":class:`~ext.commands.MemberConverter`" msgstr ":class:`~ext.commands.MemberConverter`" -#: ../../ext/commands/commands.rst:327 +#: ../../ext/commands/commands.rst:397 msgid ":class:`~ext.commands.UserConverter`" msgstr ":class:`~ext.commands.UserConverter`" -#: ../../ext/commands/commands.rst:329 +#: ../../ext/commands/commands.rst:399 msgid ":class:`~ext.commands.TextChannelConverter`" msgstr ":class:`~ext.commands.TextChannelConverter`" -#: ../../ext/commands/commands.rst:331 +#: ../../ext/commands/commands.rst:401 msgid ":class:`~ext.commands.VoiceChannelConverter`" msgstr ":class:`~ext.commands.VoiceChannelConverter`" -#: ../../ext/commands/commands.rst:333 +#: ../../ext/commands/commands.rst:403 msgid ":class:`~ext.commands.CategoryChannelConverter`" msgstr ":class:`~ext.commands.CategoryChannelConverter`" -#: ../../ext/commands/commands.rst:335 +#: ../../ext/commands/commands.rst:405 msgid ":class:`~ext.commands.RoleConverter`" msgstr ":class:`~ext.commands.RoleConverter`" -#: ../../ext/commands/commands.rst:337 +#: ../../ext/commands/commands.rst:407 msgid ":class:`~ext.commands.InviteConverter`" msgstr ":class:`~ext.commands.InviteConverter`" -#: ../../ext/commands/commands.rst:339 +#: ../../ext/commands/commands.rst:409 msgid ":class:`~ext.commands.GameConverter`" msgstr ":class:`~ext.commands.GameConverter`" -#: ../../ext/commands/commands.rst:341 +#: ../../ext/commands/commands.rst:411 msgid ":class:`~ext.commands.EmojiConverter`" msgstr ":class:`~ext.commands.EmojiConverter`" -#: ../../ext/commands/commands.rst:343 +#: ../../ext/commands/commands.rst:413 msgid ":class:`~ext.commands.PartialEmojiConverter`" msgstr ":class:`~ext.commands.PartialEmojiConverter`" -#: ../../ext/commands/commands.rst:345 +#: ../../ext/commands/commands.rst:415 msgid ":class:`~ext.commands.ColourConverter`" msgstr ":class:`~ext.commands.ColourConverter`" -#: ../../ext/commands/commands.rst:348 +#: ../../ext/commands/commands.rst:418 msgid "" -"By providing the converter it allows us to use them as building blocks for " -"another converter:" -msgstr "" - -#: ../../ext/commands/commands.rst:363 -msgid "Inline Advanced Converters" +"By providing the converter it allows us to use them as building blocks " +"for another converter:" msgstr "" -#: ../../ext/commands/commands.rst:365 -msgid "" -"If we don't want to inherit from :class:`~ext.commands.Converter`, we can " -"still provide a converter that has the advanced functionalities of an " -"advanced converter and save us from specifying two types." -msgstr "" - -#: ../../ext/commands/commands.rst:368 -msgid "" -"For example, a common idiom would be to have a class and a converter for " -"that class:" -msgstr "" - -#: ../../ext/commands/commands.rst:394 -msgid "" -"This can get tedious, so an inline advanced converter is possible through a " -"``classmethod`` inside the type:" -msgstr "" +#: ../../ext/commands/commands.rst:435 +#, fuzzy +msgid "Special Converters" +msgstr "コンバーターの例" -#: ../../ext/commands/commands.rst:425 +#: ../../ext/commands/commands.rst:437 msgid "" -"The command extension also has support for certain converters to allow for " -"more advanced and intricate use cases that go beyond the generic linear " -"parsing. These converters allow you to introduce some more relaxed and " -"dynamic grammar to your commands in an easy to use manner." +"The command extension also has support for certain converters to allow " +"for more advanced and intricate use cases that go beyond the generic " +"linear parsing. These converters allow you to introduce some more relaxed" +" and dynamic grammar to your commands in an easy to use manner." msgstr "" -#: ../../ext/commands/commands.rst:430 +#: ../../ext/commands/commands.rst:442 msgid "typing.Union" msgstr "typing.Union" -#: ../../ext/commands/commands.rst:432 +#: ../../ext/commands/commands.rst:444 msgid "" -"A :data:`typing.Union` is a special type hint that allows for the command to" -" take in any of the specific types instead of a singular type. For example, " -"given the following:" +"A :data:`typing.Union` is a special type hint that allows for the command" +" to take in any of the specific types instead of a singular type. For " +"example, given the following:" msgstr "" -#: ../../ext/commands/commands.rst:444 +#: ../../ext/commands/commands.rst:456 msgid "" "The ``what`` parameter would either take a :class:`discord.TextChannel` " "converter or a :class:`discord.Member` converter. The way this works is " -"through a left-to-right order. It first attempts to convert the input to a " -":class:`discord.TextChannel`, and if it fails it tries to convert it to a " -":class:`discord.Member`. If all converters fail, then a special error is " -"raised, :exc:`~ext.commands.BadUnionArgument`." +"through a left-to-right order. It first attempts to convert the input to " +"a :class:`discord.TextChannel`, and if it fails it tries to convert it to" +" a :class:`discord.Member`. If all converters fail, then a special error " +"is raised, :exc:`~ext.commands.BadUnionArgument`." msgstr "" -#: ../../ext/commands/commands.rst:449 +#: ../../ext/commands/commands.rst:461 msgid "" "Note that any valid converter discussed above can be passed in to the " "argument list of a :data:`typing.Union`." msgstr "" -#: ../../ext/commands/commands.rst:452 +#: ../../ext/commands/commands.rst:464 msgid "typing.Optional" msgstr "typing.Optional" -#: ../../ext/commands/commands.rst:454 +#: ../../ext/commands/commands.rst:466 msgid "" "A :data:`typing.Optional` is a special type hint that allows for \"back-" -"referencing\" behaviour. If the converter fails to parse into the specified " -"type, the parser will skip the parameter and then either ``None`` or the " -"specified default will be passed into the parameter instead. The parser will" -" then continue on to the next parameters and converters, if any." +"referencing\" behaviour. If the converter fails to parse into the " +"specified type, the parser will skip the parameter and then either " +"``None`` or the specified default will be passed into the parameter " +"instead. The parser will then continue on to the next parameters and " +"converters, if any." msgstr "" -#: ../../ext/commands/commands.rst:458 ../../ext/commands/commands.rst:485 +#: ../../ext/commands/commands.rst:470 ../../ext/commands/commands.rst:497 msgid "Consider the following example:" msgstr "" -#: ../../ext/commands/commands.rst:471 +#: ../../ext/commands/commands.rst:483 msgid "" -"In this example, since the argument could not be converted into an ``int``, " -"the default of ``99`` is passed and the parser resumes handling, which in " -"this case would be to pass it into the ``liquid`` parameter." +"In this example, since the argument could not be converted into an " +"``int``, the default of ``99`` is passed and the parser resumes handling," +" which in this case would be to pass it into the ``liquid`` parameter." msgstr "" -#: ../../ext/commands/commands.rst:476 +#: ../../ext/commands/commands.rst:488 msgid "" "This converter only works in regular positional parameters, not variable " "parameters or keyword-only parameters." msgstr "" -#: ../../ext/commands/commands.rst:479 +#: ../../ext/commands/commands.rst:491 msgid "Greedy" msgstr "" -#: ../../ext/commands/commands.rst:481 +#: ../../ext/commands/commands.rst:493 msgid "" "The :data:`~ext.commands.Greedy` converter is a generalisation of the " -":data:`typing.Optional` converter, except applied to a list of arguments. In" -" simple terms, this means that it tries to convert as much as it can until " -"it can't convert any further." +":data:`typing.Optional` converter, except applied to a list of arguments." +" In simple terms, this means that it tries to convert as much as it can " +"until it can't convert any further." msgstr "" -#: ../../ext/commands/commands.rst:494 +#: ../../ext/commands/commands.rst:506 msgid "When invoked, it allows for any number of members to be passed in:" msgstr "" -#: ../../ext/commands/commands.rst:498 +#: ../../ext/commands/commands.rst:510 msgid "" -"The type passed when using this converter depends on the parameter type that" -" it is being attached to:" +"The type passed when using this converter depends on the parameter type " +"that it is being attached to:" msgstr "" -#: ../../ext/commands/commands.rst:500 +#: ../../ext/commands/commands.rst:512 msgid "" -"Positional parameter types will receive either the default parameter or a " -":class:`list` of the converted values." +"Positional parameter types will receive either the default parameter or a" +" :class:`list` of the converted values." msgstr "" -#: ../../ext/commands/commands.rst:501 +#: ../../ext/commands/commands.rst:513 msgid "Variable parameter types will be a :class:`tuple` as usual." msgstr "" -#: ../../ext/commands/commands.rst:502 +#: ../../ext/commands/commands.rst:514 msgid "" "Keyword-only parameter types will be the same as if " ":data:`~ext.commands.Greedy` was not passed at all." msgstr "" -#: ../../ext/commands/commands.rst:504 +#: ../../ext/commands/commands.rst:516 msgid "" ":data:`~ext.commands.Greedy` parameters can also be made optional by " "specifying an optional value." msgstr "" -#: ../../ext/commands/commands.rst:506 +#: ../../ext/commands/commands.rst:518 msgid "" -"When mixed with the :data:`typing.Optional` converter you can provide simple" -" and expressive command invocation syntaxes:" +"When mixed with the :data:`typing.Optional` converter you can provide " +"simple and expressive command invocation syntaxes:" msgstr "" -#: ../../ext/commands/commands.rst:521 +#: ../../ext/commands/commands.rst:533 msgid "This command can be invoked any of the following ways:" msgstr "" -#: ../../ext/commands/commands.rst:531 +#: ../../ext/commands/commands.rst:543 msgid "" -"The usage of :data:`~ext.commands.Greedy` and :data:`typing.Optional` are " -"powerful and useful, however as a price, they open you up to some parsing " -"ambiguities that might surprise some people." +"The usage of :data:`~ext.commands.Greedy` and :data:`typing.Optional` are" +" powerful and useful, however as a price, they open you up to some " +"parsing ambiguities that might surprise some people." msgstr "" -#: ../../ext/commands/commands.rst:534 +#: ../../ext/commands/commands.rst:546 msgid "" "For example, a signature expecting a :data:`typing.Optional` of a " ":class:`discord.Member` followed by a :class:`int` could catch a member " "named after a number due to the different ways a " -":class:`~ext.commands.MemberConverter` decides to fetch members. You should " -"take care to not introduce unintended parsing ambiguities in your code. One " -"technique would be to clamp down the expected syntaxes allowed through " -"custom converters or reordering the parameters to minimise clashes." +":class:`~ext.commands.MemberConverter` decides to fetch members. You " +"should take care to not introduce unintended parsing ambiguities in your " +"code. One technique would be to clamp down the expected syntaxes allowed " +"through custom converters or reordering the parameters to minimise " +"clashes." msgstr "" -#: ../../ext/commands/commands.rst:540 +#: ../../ext/commands/commands.rst:552 msgid "" "To help aid with some parsing ambiguities, :class:`str`, ``None`` and " ":data:`~ext.commands.Greedy` are forbidden as parameters for the " ":data:`~ext.commands.Greedy` converter." msgstr "" -#: ../../ext/commands/commands.rst:546 +#: ../../ext/commands/commands.rst:558 msgid "Error Handling" msgstr "" -#: ../../ext/commands/commands.rst:548 +#: ../../ext/commands/commands.rst:560 msgid "" -"When our commands fail to either parse we will, by default, receive a noisy " -"error in ``stderr`` of our console that tells us that an error has happened " -"and has been silently ignored." +"When our commands fail to either parse we will, by default, receive a " +"noisy error in ``stderr`` of our console that tells us that an error has " +"happened and has been silently ignored." msgstr "" -#: ../../ext/commands/commands.rst:551 +#: ../../ext/commands/commands.rst:563 msgid "" "In order to handle our errors, we must use something called an error " -"handler. There is a global error handler, called :func:`on_command_error` " -"which works like any other event in the :ref:`discord-api-events`. This " +"handler. There is a global error handler, called :func:`on_command_error`" +" which works like any other event in the :ref:`discord-api-events`. This " "global error handler is called for every error reached." msgstr "" -#: ../../ext/commands/commands.rst:555 +#: ../../ext/commands/commands.rst:567 msgid "" -"Most of the time however, we want to handle an error local to the command " -"itself. Luckily, commands come with local error handlers that allow us to do" -" just that. First we decorate an error handler function with " +"Most of the time however, we want to handle an error local to the command" +" itself. Luckily, commands come with local error handlers that allow us " +"to do just that. First we decorate an error handler function with " ":meth:`.Command.error`:" msgstr "" -#: ../../ext/commands/commands.rst:571 +#: ../../ext/commands/commands.rst:583 msgid "" -"The first parameter of the error handler is the :class:`.Context` while the " -"second one is an exception that is derived from " +"The first parameter of the error handler is the :class:`.Context` while " +"the second one is an exception that is derived from " ":exc:`~ext.commands.CommandError`. A list of errors is found in the " ":ref:`ext_commands_api_errors` page of the documentation." msgstr "" -#: ../../ext/commands/commands.rst:575 +#: ../../ext/commands/commands.rst:587 msgid "Checks" msgstr "チェック" -#: ../../ext/commands/commands.rst:577 +#: ../../ext/commands/commands.rst:589 msgid "" -"There are cases when we don't want a user to use our commands. They don't " -"have permissions to do so or maybe we blocked them from using our bot " -"earlier. The commands extension comes with full support for these things in " -"a concept called a :ref:`ext_commands_api_checks`." +"There are cases when we don't want a user to use our commands. They don't" +" have permissions to do so or maybe we blocked them from using our bot " +"earlier. The commands extension comes with full support for these things " +"in a concept called a :ref:`ext_commands_api_checks`." msgstr "" -#: ../../ext/commands/commands.rst:581 +#: ../../ext/commands/commands.rst:593 msgid "" "A check is a basic predicate that can take in a :class:`.Context` as its " "sole parameter. Within it, you have the following options:" msgstr "" -#: ../../ext/commands/commands.rst:584 +#: ../../ext/commands/commands.rst:596 msgid "Return ``True`` to signal that the person can run the command." msgstr "" -#: ../../ext/commands/commands.rst:585 +#: ../../ext/commands/commands.rst:597 msgid "Return ``False`` to signal that the person cannot run the command." msgstr "" -#: ../../ext/commands/commands.rst:586 +#: ../../ext/commands/commands.rst:598 msgid "" -"Raise a :exc:`~ext.commands.CommandError` derived exception to signal the " -"person cannot run the command." +"Raise a :exc:`~ext.commands.CommandError` derived exception to signal the" +" person cannot run the command." msgstr "" -#: ../../ext/commands/commands.rst:588 +#: ../../ext/commands/commands.rst:600 msgid "" "This allows you to have custom error messages for you to handle in the " ":ref:`error handlers `." msgstr "" -#: ../../ext/commands/commands.rst:591 +#: ../../ext/commands/commands.rst:603 msgid "" -"To register a check for a command, we would have two ways of doing so. The " -"first is using the :meth:`~ext.commands.check` decorator. For example:" +"To register a check for a command, we would have two ways of doing so. " +"The first is using the :meth:`~ext.commands.check` decorator. For " +"example:" msgstr "" -#: ../../ext/commands/commands.rst:605 +#: ../../ext/commands/commands.rst:617 msgid "" -"This would only evaluate the command if the function ``is_owner`` returns " -"``True``. Sometimes we re-use a check often and want to split it into its " -"own decorator. To do that we can just add another level of depth:" +"This would only evaluate the command if the function ``is_owner`` returns" +" ``True``. Sometimes we re-use a check often and want to split it into " +"its own decorator. To do that we can just add another level of depth:" msgstr "" -#: ../../ext/commands/commands.rst:622 +#: ../../ext/commands/commands.rst:634 msgid "" "Since an owner check is so common, the library provides it for you " "(:func:`~ext.commands.is_owner`):" msgstr "" -#: ../../ext/commands/commands.rst:632 +#: ../../ext/commands/commands.rst:644 msgid "When multiple checks are specified, **all** of them must be ``True``:" msgstr "" -#: ../../ext/commands/commands.rst:647 +#: ../../ext/commands/commands.rst:659 msgid "" -"If any of those checks fail in the example above, then the command will not " -"be run." +"If any of those checks fail in the example above, then the command will " +"not be run." msgstr "" -#: ../../ext/commands/commands.rst:649 +#: ../../ext/commands/commands.rst:661 msgid "" -"When an error happens, the error is propagated to the :ref:`error handlers " -"`. If you do not raise a custom " +"When an error happens, the error is propagated to the :ref:`error " +"handlers `. If you do not raise a custom " ":exc:`~ext.commands.CommandError` derived exception, then it will get " "wrapped up into a :exc:`~ext.commands.CheckFailure` exception as so:" msgstr "" -#: ../../ext/commands/commands.rst:666 +#: ../../ext/commands/commands.rst:678 msgid "" -"If you want a more robust error system, you can derive from the exception " -"and raise it instead of returning ``False``:" +"If you want a more robust error system, you can derive from the exception" +" and raise it instead of returning ``False``:" msgstr "" -#: ../../ext/commands/commands.rst:691 +#: ../../ext/commands/commands.rst:703 msgid "" -"Since having a ``guild_only`` decorator is pretty common, it comes built-in " -"via :func:`~ext.commands.guild_only`." +"Since having a ``guild_only`` decorator is pretty common, it comes built-" +"in via :func:`~ext.commands.guild_only`." msgstr "" -#: ../../ext/commands/commands.rst:694 +#: ../../ext/commands/commands.rst:706 msgid "Global Checks" msgstr "グローバルチェック" -#: ../../ext/commands/commands.rst:696 +#: ../../ext/commands/commands.rst:708 msgid "" -"Sometimes we want to apply a check to **every** command, not just certain " -"commands. The library supports this as well using the global check concept." +"Sometimes we want to apply a check to **every** command, not just certain" +" commands. The library supports this as well using the global check " +"concept." msgstr "" -#: ../../ext/commands/commands.rst:699 +#: ../../ext/commands/commands.rst:711 msgid "" -"Global checks work similarly to regular checks except they are registered " -"with the :func:`.Bot.check` decorator." +"Global checks work similarly to regular checks except they are registered" +" with the :func:`.Bot.check` decorator." msgstr "" -#: ../../ext/commands/commands.rst:701 +#: ../../ext/commands/commands.rst:713 msgid "For example, to block all DMs we could do the following:" msgstr "" -#: ../../ext/commands/commands.rst:711 +#: ../../ext/commands/commands.rst:723 msgid "" -"Be careful on how you write your global checks, as it could also lock you " -"out of your own bot." +"Be careful on how you write your global checks, as it could also lock you" +" out of your own bot." msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/faq.po b/docs/locale/ja/LC_MESSAGES/faq.po index d7b0d8fb0..d93cb7d84 100644 --- a/docs/locale/ja/LC_MESSAGES/faq.po +++ b/docs/locale/ja/LC_MESSAGES/faq.po @@ -2,22 +2,23 @@ # Copyright (C) 2015-2019, Rapptz # This file is distributed under the same license as the discord.py package. # FIRST AUTHOR , 2018. -# +# #, fuzzy msgid "" msgstr "" "Project-Id-Version: discord.py 1.0.0a\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-07-31 14:21-0400\n" +"POT-Creation-Date: 2019-02-18 03:50-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Episword , 2018\n" -"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-py/teams/88924/ja_JP/)\n" +"Language: ja_JP\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-" +"py/teams/88924/ja_JP/)\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.5.3\n" -"Language: ja_JP\n" -"Plural-Forms: nplurals=1; plural=0;\n" #: ../../faq.rst:5 msgid "Frequently Asked Questions" @@ -25,11 +26,10 @@ msgstr "よくある質問" #: ../../faq.rst:7 msgid "" -"This is a list of Frequently Asked Questions regarding using ``discord.py`` " -"and its extension modules. Feel free to suggest a new question or submit one" -" via pull requests." -msgstr "" -"これは ``discord.py`` 及び 拡張モジュールに対して、よくある質問をまとめたものです。気軽に質問やプルリクエストを提出してください。" +"This is a list of Frequently Asked Questions regarding using " +"``discord.py`` and its extension modules. Feel free to suggest a new " +"question or submit one via pull requests." +msgstr "これは ``discord.py`` 及び 拡張モジュールに対して、よくある質問をまとめたものです。気軽に質問やプルリクエストを提出してください。" #: ../../faq.rst:11 msgid "Questions" @@ -53,8 +53,8 @@ msgid "" "from``. When Python encounters an ``await`` it stops the function's " "execution at that point and works on other things until it comes back to " "that point and finishes off its work. This allows for your program to be " -"doing multiple things at the same time without using threads or complicated " -"multiprocessing." +"doing multiple things at the same time without using threads or " +"complicated multiprocessing." msgstr "" "コルーチンとは ``await`` または ``yield from`` から呼び出さなければならない関数です。 ``await`` " "にエンカウントした場合、そのポイントで関数の実行を停止し、他の作業を実行します。 これは作業が終了し、このポイントに戻ってくるまで続きます。 " @@ -62,8 +62,8 @@ msgstr "" #: ../../faq.rst:26 msgid "" -"**If you forget to await a coroutine then the coroutine will not run. Never " -"forget to await a coroutine.**" +"**If you forget to await a coroutine then the coroutine will not run. " +"Never forget to await a coroutine.**" msgstr "**コルーチンにawaitを記述し忘れた場合、コルーチンは実行されません。awaitの記述を忘れないように注意してください。**" #: ../../faq.rst:29 @@ -72,7 +72,8 @@ msgstr "``await`` はどこで使用することができますか。" #: ../../faq.rst:31 msgid "" -"You can only use ``await`` inside ``async def`` functions and nowhere else." +"You can only use ``await`` inside ``async def`` functions and nowhere " +"else." msgstr "``await`` は ``async def`` 関数の中でのみ使用できます。" #: ../../faq.rst:34 @@ -81,12 +82,13 @@ msgstr "「ブロッキング」とはなんですか。" #: ../../faq.rst:36 msgid "" -"In asynchronous programming a blocking call is essentially all the parts of " -"the function that are not ``await``. Do not despair however, because not all" -" forms of blocking are bad! Using blocking calls is inevitable, but you must" -" work to make sure that you don't excessively block functions. Remember, if " -"you block for too long then your bot will freeze since it has not stopped " -"the function's execution at that point to do other things." +"In asynchronous programming a blocking call is essentially all the parts " +"of the function that are not ``await``. Do not despair however, because " +"not all forms of blocking are bad! Using blocking calls is inevitable, " +"but you must work to make sure that you don't excessively block " +"functions. Remember, if you block for too long then your bot will freeze " +"since it has not stopped the function's execution at that point to do " +"other things." msgstr "" "非同期プログラミングにおけるブロッキングとは、関数内の ``await`` 修飾子がないコードすべてを指します。 " "しかし、全てのブロッキングが悪いというわけではありません。ブロッキングを使用することは避けられませんが、ブロックの発生は出来るだけ少なくする必要があります。長時間のブロックが発生すると、関数の実行が停止しないため、長時間Botがフリーズすることになることを覚えておきましょう。" @@ -102,13 +104,15 @@ msgstr "" #: ../../faq.rst:50 msgid "" -"Another common source of blocking for too long is using HTTP requests with " -"the famous module ``requests``. While ``requests`` is an amazing module for " -"non-asynchronous programming, it is not a good choice for :mod:`asyncio` " -"because certain requests can block the event loop too long. Instead, use the" -" ``aiohttp`` library which is installed on the side with this library." +"Another common source of blocking for too long is using HTTP requests " +"with the famous module ``requests``. While ``requests`` is an amazing " +"module for non-asynchronous programming, it is not a good choice for " +":mod:`asyncio` because certain requests can block the event loop too " +"long. Instead, use the ``aiohttp`` library which is installed on the side" +" with this library." msgstr "" -"また、これだけでなく、有名なモジュール ``requests`` のHTTPリクエストも長時間ブロックの原因になります。 ``requests`` " +"また、これだけでなく、有名なモジュール ``requests`` のHTTPリクエストも長時間ブロックの原因になります。 ``requests``" +" " "モジュールは非非同期プログラミングでは素晴らしいモジュールですが、特定のリクエストがイベントループを長時間ブロックする可能性があるため、``asyncio``" " には適していません。 代わりにこのライブラリと一緒にインストールされた :mod:`aiohttp` を使用してください。" @@ -129,158 +133,175 @@ msgid "How do I set the \"Playing\" status?" msgstr "「プレイ中」状態の設定をするにはどうすればいいですか。" #: ../../faq.rst:77 +#, fuzzy msgid "" "There is a method for this under :class:`Client` called " -":meth:`Client.change_presence`. The relevant aspect of this is its ``game`` " -"keyword argument which takes in a :class:`Game` object. Putting both of " -"these pieces of info together, you get the following: ::" +":meth:`Client.change_presence`. The relevant aspect of this is its " +"``activity`` keyword argument which takes in an :class:`Activity` object." msgstr "" ":class:`Client` 下にプレイ中状態の設定を行うためのメソッド :meth:`Client.change_presence` " "が用意されています。 これの引数 ``game`` に :class:`Game` を渡します。これらの情報をまとめると以下のようになります。" +#: ../../faq.rst:80 +msgid "" +"The status type (playing, listening, streaming, watching) can be set " +"using the :class:`ActivityType` enum. For memory optimisation purposes, " +"some activities are offered in slimmed down versions:" +msgstr "" + +#: ../../faq.rst:83 +msgid ":class:`Game`" +msgstr "" + #: ../../faq.rst:84 +msgid ":class:`Streaming`" +msgstr "" + +#: ../../faq.rst:86 +msgid "Putting both of these pieces of info together, you get the following: ::" +msgstr "" + +#: ../../faq.rst:91 msgid "How do I send a message to a specific channel?" msgstr "特定のチャンネルにメッセージを送るにはどうすればいいですか。" -#: ../../faq.rst:86 +#: ../../faq.rst:93 msgid "" -"You must fetch the channel directly and then call the appropriate method. " -"Example: ::" +"You must fetch the channel directly and then call the appropriate method." +" Example: ::" msgstr "チャンネルを直接取得してから、適切なメソッドの呼び出しを行う必要があります。以下がその例です。" -#: ../../faq.rst:92 +#: ../../faq.rst:99 msgid "How do I upload an image?" msgstr "画像をアップロードするにはどうすればいいですか。" -#: ../../faq.rst:94 -msgid "" -"To upload something to Discord you have to use the :class:`File` object." +#: ../../faq.rst:101 +msgid "To upload something to Discord you have to use the :class:`File` object." msgstr "Discordに何かをアップロードする際には :class:`File` オブジェクトを使用する必要があります。" -#: ../../faq.rst:96 +#: ../../faq.rst:103 msgid "" -"A :class:`File` accepts two parameters, the file-like object (or file path) " -"and the filename to pass to Discord when uploading." -msgstr "" -":class:`File` は二つのパラメータがあり、ファイルライクなオブジェクト(または、そのファイルパス)と、ファイル名を渡すことができます。" +"A :class:`File` accepts two parameters, the file-like object (or file " +"path) and the filename to pass to Discord when uploading." +msgstr ":class:`File` は二つのパラメータがあり、ファイルライクなオブジェクト(または、そのファイルパス)と、ファイル名を渡すことができます。" -#: ../../faq.rst:99 +#: ../../faq.rst:106 msgid "If you want to upload an image it's as simple as: ::" msgstr "画像をアップロードするだけなら、以下のように簡単に行なえます。" -#: ../../faq.rst:103 +#: ../../faq.rst:110 msgid "If you have a file-like object you can do as follows: ::" msgstr "もし、ファイルライクなオブジェクトがあるなら、以下のような実装が可能です。" -#: ../../faq.rst:108 +#: ../../faq.rst:115 msgid "" -"To upload multiple files, you can use the ``files`` keyword argument instead" -" of ``file``\\: ::" +"To upload multiple files, you can use the ``files`` keyword argument " +"instead of ``file``\\: ::" msgstr "複数のファイルをアップロードするには、 ``file`` の代わりに ``files`` を使用しましょう。" -#: ../../faq.rst:116 +#: ../../faq.rst:123 msgid "" "If you want to upload something from a URL, you will have to use an HTTP " -"request using ``aiohttp`` and then pass an :class:`io.BytesIO` instance to " -":class:`File` like so:" +"request using ``aiohttp`` and then pass an :class:`io.BytesIO` instance " +"to :class:`File` like so:" msgstr "" -"URLから何かをアップロードする場合は、 ``aiohttp`` のHTTPリクエストを使用し、 :class:`io.BytesIO` インスタンスを" -" :class:`File` にわたす必要があります。" +"URLから何かをアップロードする場合は、 ``aiohttp`` のHTTPリクエストを使用し、 :class:`io.BytesIO` " +"インスタンスを :class:`File` にわたす必要があります。" -#: ../../faq.rst:133 +#: ../../faq.rst:140 msgid "How can I add a reaction to a message?" msgstr "メッセージにリアクションをつけるにはどうすればいいですか。" -#: ../../faq.rst:135 +#: ../../faq.rst:142 msgid "You use the :meth:`Message.add_reaction` method." msgstr ":meth:`Client.add_reaction` を使用してください。" -#: ../../faq.rst:137 +#: ../../faq.rst:144 msgid "" -"If you want to use unicode emoji, you must pass a valid unicode code point " -"in a string. In your code, you can write this in a few different ways:" -msgstr "" -"Unicodeの絵文字を使用する場合は、文字列内の有効なUnicodeのコードポイントを渡す必要があります。 例を挙げると、このようになります。" +"If you want to use unicode emoji, you must pass a valid unicode code " +"point in a string. In your code, you can write this in a few different " +"ways:" +msgstr "Unicodeの絵文字を使用する場合は、文字列内の有効なUnicodeのコードポイントを渡す必要があります。 例を挙げると、このようになります。" -#: ../../faq.rst:139 +#: ../../faq.rst:146 msgid "``'👍'``" msgstr "``'👍'``" -#: ../../faq.rst:140 +#: ../../faq.rst:147 msgid "``'\\U0001F44D'``" msgstr "``'\\U0001F44D'``" -#: ../../faq.rst:141 +#: ../../faq.rst:148 msgid "``'\\N{THUMBS UP SIGN}'``" msgstr "``'\\N{THUMBS UP SIGN}'``" -#: ../../faq.rst:143 ../../faq.rst:154 ../../faq.rst:218 +#: ../../faq.rst:150 ../../faq.rst:161 ../../faq.rst:225 msgid "Quick example: ::" msgstr "簡単な例。" -#: ../../faq.rst:147 +#: ../../faq.rst:154 msgid "" "In case you want to use emoji that come from a message, you already get " -"their code points in the content without needing to do anything special. You" -" **cannot** send ``':thumbsup:'`` style shorthands." +"their code points in the content without needing to do anything special. " +"You **cannot** send ``':thumbsup:'`` style shorthands." msgstr "" "メッセージから来た絵文字を使用したい場合は、特になにをするでもなく、コンテンツのコードポイントをあなたは取得しています。また、 " "``':thumbsup:'`` のような簡略化したものを送信することは**できません**。" -#: ../../faq.rst:150 +#: ../../faq.rst:157 msgid "" "For custom emoji, you should pass an instance of :class:`Emoji`. You can " -"also pass a ``'name:id'`` string, but if you can use said emoji, you should " -"be able to use :meth:`Client.get_emoji` to get an emoji via ID or use " -":func:`utils.find`/ :func:`utils.get` on :attr:`Client.emojis` or " +"also pass a ``'name:id'`` string, but if you can use said emoji, you " +"should be able to use :meth:`Client.get_emoji` to get an emoji via ID or " +"use :func:`utils.find`/ :func:`utils.get` on :attr:`Client.emojis` or " ":attr:`Guild.emojis` collections." msgstr "" "カスタム絵文字の場合、 :class:`discord.Emoji` のインスタンスを渡す必要があります。``'name:id'`` " "の文字列を渡すこともできます。その場合はあなたが絵文字を使用可能であれば、 :meth:`Client.get_all_emojis` " -"を使用してID経由で取得するか、あるいは :attr:`Client.emojis` か :attr:`Guild.emojis` コレクションから " -":func:`utils.find`/ :func:`utils.get` を使用して取得が可能です。" +"を使用してID経由で取得するか、あるいは :attr:`Client.emojis` か :attr:`Guild.emojis` " +"コレクションから :func:`utils.find`/ :func:`utils.get` を使用して取得が可能です。" -#: ../../faq.rst:166 +#: ../../faq.rst:173 msgid "How do I pass a coroutine to the player's \"after\" function?" msgstr "どうやってコルーチンをプレイヤーの後処理に渡すのですか。" -#: ../../faq.rst:168 +#: ../../faq.rst:175 msgid "" -"The library's music player launches on a separate thread, ergo it does not " -"execute inside a coroutine. This does not mean that it is not possible to " -"call a coroutine in the ``after`` parameter. To do so you must pass a " -"callable that wraps up a couple of aspects." +"The library's music player launches on a separate thread, ergo it does " +"not execute inside a coroutine. This does not mean that it is not " +"possible to call a coroutine in the ``after`` parameter. To do so you " +"must pass a callable that wraps up a couple of aspects." msgstr "" "ライブラリの音楽プレーヤーは別のスレッドで起動するもので、コルーチン内で実行されるものではありません。しかし、 ``after`` " "にコルーチンが渡せないというわけではありません。コルーチンを渡すためには、いくつかの機能を包括した呼び出し可能コードで渡す必要があります。" -#: ../../faq.rst:172 +#: ../../faq.rst:179 msgid "" -"The first gotcha that you must be aware of is that calling a coroutine is " -"not a thread-safe operation. Since we are technically in another thread, we " -"must take caution in calling thread-safe operations so things do not bug " -"out. Luckily for us, :mod:`asyncio` comes with a " -":func:`asyncio.run_coroutine_threadsafe` function that allows us to call a " -"coroutine from another thread." +"The first gotcha that you must be aware of is that calling a coroutine is" +" not a thread-safe operation. Since we are technically in another thread," +" we must take caution in calling thread-safe operations so things do not " +"bug out. Luckily for us, :mod:`asyncio` comes with a " +":func:`asyncio.run_coroutine_threadsafe` function that allows us to call " +"a coroutine from another thread." msgstr "" "コルーチンを呼び出すという動作はスレッドセーフなものではないということを最初に理解しておく必要があります。技術的に別スレッドなので、スレッドセーフに呼び出す際には注意が必要です。幸運にも、" " :mod:`asyncio` には :func:`asyncio.run_coroutine_threadsafe` " "という関数があります。これを用いることで、別スレッドからコルーチンを呼び出すことが可能です。" -#: ../../faq.rst:177 +#: ../../faq.rst:184 msgid "" -"However, this function returns a :class:`concurrent.Future` and to actually " -"call it we have to fetch its result. Putting all of this together we can do " -"the following: ::" +"However, this function returns a :class:`concurrent.Future` and to " +"actually call it we have to fetch its result. Putting all of this " +"together we can do the following: ::" msgstr "" "しかし、この関数は :class:`concurrent.Future` " "を返すので、実際にはそこから結果を読み出す必要があります。これをすべてまとめると、次のことができます。" -#: ../../faq.rst:192 +#: ../../faq.rst:199 msgid "How do I run something in the background?" msgstr "バックグラウンドで何かを動かすにはどうすればいいですか。" -#: ../../faq.rst:194 +#: ../../faq.rst:201 msgid "" "`Check the background_task.py example. " "`_" @@ -288,139 +309,107 @@ msgstr "" "`background_task.pyの例を参照してください。 " "`_" -#: ../../faq.rst:197 +#: ../../faq.rst:204 msgid "How do I get a specific model?" msgstr "特定のユーザー、役割、チャンネル、サーバを取得するにはどうすればいいですか。" -#: ../../faq.rst:199 +#: ../../faq.rst:206 msgid "" "There are multiple ways of doing this. If you have a specific model's ID " "then you can use one of the following functions:" msgstr "方法は複数ありますが、特定のモデルのIDがわかっていれば、以下の方法が使えます。" -#: ../../faq.rst:202 +#: ../../faq.rst:209 msgid ":meth:`Client.get_channel`" msgstr ":meth:`Client.get_channel`" -#: ../../faq.rst:203 +#: ../../faq.rst:210 msgid ":meth:`Client.get_guild`" msgstr ":meth:`Client.get_guild`" -#: ../../faq.rst:204 +#: ../../faq.rst:211 msgid ":meth:`Client.get_user`" msgstr ":meth:`Client.get_user`" -#: ../../faq.rst:205 +#: ../../faq.rst:212 msgid ":meth:`Client.get_emoji`" msgstr ":meth:`Client.get_emoji`" -#: ../../faq.rst:206 +#: ../../faq.rst:213 msgid ":meth:`Guild.get_member`" msgstr ":meth:`Guild.get_member`" -#: ../../faq.rst:207 +#: ../../faq.rst:214 msgid ":meth:`Guild.get_channel`" msgstr ":meth:`Guild.get_channel`" -#: ../../faq.rst:209 +#: ../../faq.rst:216 msgid "The following use an HTTP request:" msgstr "以下の例ではHTTPリクエストを使用します。" -#: ../../faq.rst:211 +#: ../../faq.rst:218 msgid ":meth:`abc.Messageable.get_message`" msgstr ":meth:`abc.Messageable.get_message`" -#: ../../faq.rst:212 +#: ../../faq.rst:219 msgid ":meth:`Client.get_user_info`" msgstr ":meth:`Client.get_user_info`" -#: ../../faq.rst:215 +#: ../../faq.rst:222 msgid "" -"If the functions above do not help you, then use of :func:`utils.find` or " -":func:`utils.get` would serve some use in finding specific models." +"If the functions above do not help you, then use of :func:`utils.find` or" +" :func:`utils.get` would serve some use in finding specific models." msgstr "上記の関数を使えない状況の場合、 :func:`utils.find` または :func:`utils.get` が役に立つでしょう。" -#: ../../faq.rst:229 +#: ../../faq.rst:236 msgid "Commands Extension" msgstr "コマンド拡張" -#: ../../faq.rst:231 +#: ../../faq.rst:238 msgid "Questions regarding ``discord.ext.commands`` belong here." msgstr "``discord.ext.commands`` に関する質問。" -#: ../../faq.rst:234 -msgid "Is there any documentation for this?" -msgstr "コマンド拡張についてのドキュメントはありますか。" - -#: ../../faq.rst:236 -msgid "" -"Not at the moment. Writing documentation for stuff takes time. A lot of " -"people get by reading the docstrings in the source code. Others get by via " -"asking questions in the `Discord server `_. " -"Others look at the source code of `other existing bots " -"`_." -msgstr "" -"いいえ、まだありません。ドキュメントを書くには多くの時間が必要になります。大抵の場合はソースコードのdocstringを読むことになります。 または " -"'Discordサーバー `_ で質問したり、'既存のBot " -"`_ のソースコードを見るといいでしょう。" - -#: ../../faq.rst:240 -msgid "" -"There is a `basic example " -"`_ " -"showcasing some functionality." -msgstr "" -"いくつかの機能を紹介するための `具体例 " -"`_ " -"もあります。" - -#: ../../faq.rst:243 -msgid "" -"**Documentation is being worked on, it will just take some time to polish " -"it**." -msgstr "**ドキュメントは現在制作中です。きちんとしたものに仕上げるにはまだ時間がかかります。**" - -#: ../../faq.rst:246 +#: ../../faq.rst:241 msgid "Why does ``on_message`` make my commands stop working?" msgstr "``on_message`` を使うとコマンドが動作しなくなります。どうしてですか。" -#: ../../faq.rst:248 +#: ../../faq.rst:243 msgid "" -"Overriding the default provided ``on_message`` forbids any extra commands " -"from running. To fix this, add a ``bot.process_commands(message)`` line at " -"the end of your ``on_message``. For example: ::" +"Overriding the default provided ``on_message`` forbids any extra commands" +" from running. To fix this, add a ``bot.process_commands(message)`` line " +"at the end of your ``on_message``. For example: ::" msgstr "" "デフォルトで提供されている ``on_message`` をオーバーライドすると、コマンドが実行されなくなります。これを修正するには " "``on_message`` の最後に ``bot.process_commands(message)`` を追加してみてください。" -#: ../../faq.rst:258 +#: ../../faq.rst:253 msgid "Why do my arguments require quotes?" msgstr "コマンドの引数にクォーテーションが必要なのはなぜですか。" -#: ../../faq.rst:260 +#: ../../faq.rst:255 msgid "In a simple command defined as: ::" msgstr "次の簡単なコマンドを見てみましょう。" -#: ../../faq.rst:266 +#: ../../faq.rst:261 msgid "" "Calling it via ``?echo a b c`` will only fetch the first argument and " -"disregard the rest. To fix this you should either call it via ``?echo \"a b " -"c\"`` or change the signature to have \"consume rest\" behaviour. Example: " -"::" +"disregard the rest. To fix this you should either call it via ``?echo \"a" +" b c\"`` or change the signature to have \"consume rest\" behaviour. " +"Example: ::" msgstr "" "このコマンドを ``?echo a b c`` " -"のように実行したとき、コマンドに渡されるのは最初の引数だけです。その後の引数はすべて無視されます。これを正常に動かすためには ``?echo \"a b" -" c\"`` のようにしてコマンドを実行するか、コマンドの引数を下記の例のようにしてみましょう" +"のように実行したとき、コマンドに渡されるのは最初の引数だけです。その後の引数はすべて無視されます。これを正常に動かすためには ``?echo " +"\"a b c\"`` のようにしてコマンドを実行するか、コマンドの引数を下記の例のようにしてみましょう" -#: ../../faq.rst:273 +#: ../../faq.rst:268 msgid "This will allow you to use ``?echo a b c`` without needing the quotes." msgstr "これにより、クォーテーションなしで ``?echo a b c`` を使用することができます。" -#: ../../faq.rst:276 +#: ../../faq.rst:271 msgid "How do I get the original ``message``\\?" msgstr "元の ``message`` を取得するにはどうすればよいですか。" -#: ../../faq.rst:278 +#: ../../faq.rst:273 msgid "" "The :class:`~ext.commands.Context` contains an attribute, " ":attr:`~.Context.message` to get the original message." @@ -428,23 +417,58 @@ msgstr "" ":class:`~ext.commands.Context` は元のメッセージを取得するための属性である " ":attr:`~.Context.message` を持っています。" -#: ../../faq.rst:281 ../../faq.rst:294 +#: ../../faq.rst:276 ../../faq.rst:288 msgid "Example: ::" msgstr "例:" -#: ../../faq.rst:289 +#: ../../faq.rst:283 msgid "How do I make a subcommand?" msgstr "サブコマンドを作るにはどうすればいいですか。" -#: ../../faq.rst:291 +#: ../../faq.rst:285 msgid "" "Use the ``group`` decorator. This will transform the callback into a " -"``Group`` which will allow you to add commands into the group operating as " -"\"subcommands\". These groups can be arbitrarily nested as well." +"``Group`` which will allow you to add commands into the group operating " +"as \"subcommands\". These groups can be arbitrarily nested as well." msgstr "" "``group`` デコレータを使います。これにより、コールバックが ``Group`` " "に変換され、groupに「サブコマンド」として動作するコマンドを追加できます。これらのグループは、ネストすることもできます。" -#: ../../faq.rst:305 +#: ../../faq.rst:299 msgid "This could then be used as ``?git push origin master``." msgstr "これは ``?git push origin master`` のように使うことができます。" + +#~ msgid "Is there any documentation for this?" +#~ msgstr "コマンド拡張についてのドキュメントはありますか。" + +#~ msgid "" +#~ "Not at the moment. Writing documentation" +#~ " for stuff takes time. A lot of" +#~ " people get by reading the docstrings" +#~ " in the source code. Others get " +#~ "by via asking questions in the " +#~ "`Discord server `_." +#~ " Others look at the source code " +#~ "of `other existing bots " +#~ "`_." +#~ msgstr "" +#~ "いいえ、まだありません。ドキュメントを書くには多くの時間が必要になります。大抵の場合はソースコードのdocstringを読むことになります。" +#~ " または 'Discordサーバー `_ で質問したり、'既存のBot " +#~ "`_ のソースコードを見るといいでしょう。" + +#~ msgid "" +#~ "There is a `basic example " +#~ "`_" +#~ " showcasing some functionality." +#~ msgstr "" +#~ "いくつかの機能を紹介するための `具体例 " +#~ "`_" +#~ " もあります。" + +#~ msgid "" +#~ "**Documentation is being worked on, it" +#~ " will just take some time to " +#~ "polish it**." +#~ msgstr "**ドキュメントは現在制作中です。きちんとしたものに仕上げるにはまだ時間がかかります。**" + diff --git a/docs/locale/ja/LC_MESSAGES/migrating.po b/docs/locale/ja/LC_MESSAGES/migrating.po index 62f2e5fa9..66f43a2c7 100644 --- a/docs/locale/ja/LC_MESSAGES/migrating.po +++ b/docs/locale/ja/LC_MESSAGES/migrating.po @@ -2,19 +2,27 @@ # Copyright (C) 2015-2019, Rapptz # This file is distributed under the same license as the discord.py package. # FIRST AUTHOR , 2018. -# +# # Translators: # Ogura Azuki , 2018 # 和泉田 済人 , 2018 # Episword , 2018 -# #, fuzzy msgid "" msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2019-02-18 03:50-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Episword , 2018\n" -"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-py/teams/88924/ja_JP/)\n" "Language: ja_JP\n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language-Team: Japanese (Japan) (https://www.transifex.com/discord-" +"py/teams/88924/ja_JP/)\n" +"Plural-Forms: nplurals=1; plural=0\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.5.3\n" #: ../../migrating.rst:6 msgid "Migrating to v1.0" @@ -22,8 +30,8 @@ msgstr "v1.0への移行" #: ../../migrating.rst:8 msgid "" -"v1.0 is one of the biggest breaking changes in the library due to a complete" -" redesign." +"v1.0 is one of the biggest breaking changes in the library due to a " +"complete redesign." msgstr "v1.0 では完全な書き直しが行われたため,このライブラリにおけるもっとも大きな更新のひとつといえます。" #: ../../migrating.rst:11 @@ -34,12 +42,13 @@ msgstr "すべての意図と目的を達成するために変更点が長大に #: ../../migrating.rst:14 msgid "" -"Part of the redesign involves making things more easy to use and natural. " -"Things are done on the :ref:`models ` instead of " +"Part of the redesign involves making things more easy to use and natural." +" Things are done on the :ref:`models ` instead of " "requiring a :class:`Client` instance to do any work." msgstr "" "一部の書き換えは,より使いやすく自然に物事を表現するために行われています。あらゆる仕事をするのに :class:`Client` " -"インスタンスを要求するのではなく,代わりに :ref:`models ` を用いることができるようになりました。" +"インスタンスを要求するのではなく,代わりに :ref:`models ` " +"を用いることができるようになりました。" #: ../../migrating.rst:18 msgid "Python Version Change" @@ -47,10 +56,10 @@ msgstr "Pythonのバージョンの変更" #: ../../migrating.rst:20 msgid "" -"In order to make development easier and also to allow for our dependencies " -"to upgrade to allow usage of 3.7 or higher, the library had to remove " -"support for Python versions lower than 3.5.3, which essentially means that " -"**support for Python 3.4 is dropped**." +"In order to make development easier and also to allow for our " +"dependencies to upgrade to allow usage of 3.7 or higher, the library had " +"to remove support for Python versions lower than 3.5.3, which essentially" +" means that **support for Python 3.4 is dropped**." msgstr "" "discord.py の開発をより簡単にし,またその依存関係にあるライブラリをアップグレードして Python 3.7 " "以上を使えるようにするために,discord.py は Python 3.5.3 " @@ -71,8 +80,8 @@ msgstr "Snowflakeのint型への変更" #: ../../migrating.rst:32 msgid "" -"Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has " -"been changed to :class:`int`." +"Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has" +" been changed to :class:`int`." msgstr "" "v1.0以前は、全てのsnowflake (``id`` 属性) が文字列として扱われていましたが、これは :class:`int` " "型に変更されました。" @@ -83,10 +92,10 @@ msgstr "簡単な例:" #: ../../migrating.rst:46 msgid "" -"This change allows for fewer errors when using the Copy ID feature in the " -"official client since you no longer have to wrap it in quotes and allows for" -" optimisation opportunities by allowing ETF to be used instead of JSON " -"internally." +"This change allows for fewer errors when using the Copy ID feature in the" +" official client since you no longer have to wrap it in quotes and allows" +" for optimisation opportunities by allowing ETF to be used instead of " +"JSON internally." msgstr "" "この変更により,公式クライアントの「 ID をコピー」機能を使用した際に間違いがより起こりにくくなりました。もはや取得した ID " "をクォーテーションマークで囲う必要はありませんし,内部で JSON の代わりに ETF を用いることで最適化の機会を得ることにもなります。" @@ -99,8 +108,8 @@ msgstr "Server は Guild になりました" msgid "" "The official API documentation calls the \"Server\" concept a \"Guild\" " "instead. In order to be more consistent with the API documentation when " -"necessary, the model has been renamed to :class:`Guild` and all instances " -"referring to it has been changed as well." +"necessary, the model has been renamed to :class:`Guild` and all instances" +" referring to it has been changed as well." msgstr "" "公式のAPIドキュメントでは、「Server」は「Guild」と呼ばれています。APIドキュメントとの一貫性を保つため、モデルの名称が " ":class:`Guild` へ変更されました。同時にこのモデルを参照するすべてのインスタンスも変更されています。" @@ -268,10 +277,8 @@ msgid "``Client.create_channel``" msgstr "``Client.create_channel``" #: ../../migrating.rst:107 -msgid "" -":meth:`Guild.create_text_channel` and :meth:`Guild.create_voice_channel`" -msgstr "" -":meth:`Guild.create_text_channel` および :meth:`Guild.create_voice_channel`" +msgid ":meth:`Guild.create_text_channel` and :meth:`Guild.create_voice_channel`" +msgstr ":meth:`Guild.create_text_channel` および :meth:`Guild.create_voice_channel`" #: ../../migrating.rst:109 msgid "``Client.create_custom_emoji``" @@ -311,9 +318,11 @@ msgstr "``Client.delete_channel_permissions``" #: ../../migrating.rst:117 msgid "" -":meth:`abc.GuildChannel.set_permissions` with ``overwrite`` set to ``None``" +":meth:`abc.GuildChannel.set_permissions` with ``overwrite`` set to " +"``None``" msgstr "" -":meth:`abc.GuildChannel.set_permissions` の ``overwrite`` を ``None`` に設定しました" +":meth:`abc.GuildChannel.set_permissions` の ``overwrite`` を ``None`` " +"に設定しました" #: ../../migrating.rst:119 msgid "``Client.delete_custom_emoji``" @@ -497,8 +506,7 @@ msgstr "``Client.logs_from``" #: ../../migrating.rst:163 msgid ":meth:`abc.Messageable.history` (see :ref:`migrating_1_0_async_iter`)" -msgstr "" -":meth:`abc.Messageable.history` ( :ref:`migrating_1_0_async_iter` を参照)" +msgstr ":meth:`abc.Messageable.history` ( :ref:`migrating_1_0_async_iter` を参照)" #: ../../migrating.rst:165 msgid "``Client.move_channel``" @@ -569,10 +577,8 @@ msgid "``Client.send_file``" msgstr "``Client.send_file``" #: ../../migrating.rst:185 ../../migrating.rst:187 -msgid "" -":meth:`abc.Messageable.send` (see :ref:`migrating_1_0_sending_messages`)" -msgstr "" -":meth:`abc.Messageable.send` ( :ref:`migrating_1_0_sending_messages` を参照)" +msgid ":meth:`abc.Messageable.send` (see :ref:`migrating_1_0_sending_messages`)" +msgstr ":meth:`abc.Messageable.send` ( :ref:`migrating_1_0_sending_messages` を参照)" #: ../../migrating.rst:187 msgid "``Client.send_message``" @@ -584,7 +590,8 @@ msgstr "``Client.send_typing``" #: ../../migrating.rst:189 msgid "" -":meth:`abc.Messageable.trigger_typing` (use :meth:`abc.Messageable.typing`)" +":meth:`abc.Messageable.trigger_typing` (use " +":meth:`abc.Messageable.typing`)" msgstr "" ":meth:`abc.Messageable.trigger_typing` (:meth:`abc.Messageable.typing` " "を使用してください)" @@ -655,13 +662,14 @@ msgstr "プロパティの変更" #: ../../migrating.rst:213 msgid "" -"In order to be a bit more consistent, certain things that were properties " -"were changed to methods instead." +"In order to be a bit more consistent, certain things that were properties" +" were changed to methods instead." msgstr "一貫性を持たせるために、いくつかのプロパティがメソッドに変更されました。" #: ../../migrating.rst:215 msgid "" -"The following are now methods instead of properties (requires parentheses):" +"The following are now methods instead of properties (requires " +"parentheses):" msgstr "プロパティの代わりに追加されたメソッドは以下のとおりです。(使用の際にはカッコが必要です)" #: ../../migrating.rst:217 @@ -682,17 +690,16 @@ msgstr "辞書の値の変更" #: ../../migrating.rst:224 msgid "" -"Prior to v1.0 some aggregating properties that retrieved models would return" -" \"dict view\" objects." +"Prior to v1.0 some aggregating properties that retrieved models would " +"return \"dict view\" objects." msgstr "v1.0以前では、複数のモデルを集約して取得するプロパティは「辞書ビュー」オブジェクトで結果を返していました。" #: ../../migrating.rst:226 msgid "" -"As a consequence, when the dict would change size while you would iterate " -"over it, a RuntimeError would be raised and crash the task. To alleviate " -"this, the \"dict view\" objects were changed into lists." -msgstr "" -"これは、オブジェクトを用いて繰り返し処理を行っている間に、辞書サイズが変更されたとき、RuntimeErrorを発生させてタスクをクラッシュさせていました。これを軽減させるため「辞書ビュー」オブジェクトはリストに変更されました。" +"As a consequence, when the dict would change size while you would iterate" +" over it, a RuntimeError would be raised and crash the task. To alleviate" +" this, the \"dict view\" objects were changed into lists." +msgstr "これは、オブジェクトを用いて繰り返し処理を行っている間に、辞書サイズが変更されたとき、RuntimeErrorを発生させてタスクをクラッシュさせていました。これを軽減させるため「辞書ビュー」オブジェクトはリストに変更されました。" #: ../../migrating.rst:229 msgid "The following views were changed to a list:" @@ -732,16 +739,16 @@ msgstr "ボイスステートの変更" #: ../../migrating.rst:243 msgid "" -"Earlier, in v0.11.0 a :class:`VoiceState` class was added to refer to voice " -"states along with a :attr:`Member.voice` attribute to refer to it." +"Earlier, in v0.11.0 a :class:`VoiceState` class was added to refer to " +"voice states along with a :attr:`Member.voice` attribute to refer to it." msgstr "" "v0.11.0では、ボイスステートを参照するために :class:`VoiceState` が追加され、このクラスを参照するために " ":attr:`Member.voice` が使われていました。" #: ../../migrating.rst:246 msgid "" -"However, it was transparent to the user. In an effort to make the library " -"save more memory, the voice state change is now more visible." +"However, it was transparent to the user. In an effort to make the library" +" save more memory, the voice state change is now more visible." msgstr "これはユーザーにとって透過的なものでしたが、ライブラリがメモリを節約できるようボイスステートの変化が可視的になりました。" #: ../../migrating.rst:249 @@ -760,10 +767,10 @@ msgstr "ユーザーとメンバーの分離" #: ../../migrating.rst:267 msgid "" "In v1.0 to save memory, :class:`User` and :class:`Member` are no longer " -"inherited. Instead, they are \"flattened\" by having equivalent properties " -"that map out to the functional underlying :class:`User`. Thus, there is no " -"functional change in how they are used. However this breaks ``isinstance`` " -"checks and thus is something to keep in mind." +"inherited. Instead, they are \"flattened\" by having equivalent " +"properties that map out to the functional underlying :class:`User`. Thus," +" there is no functional change in how they are used. However this breaks " +"``isinstance`` checks and thus is something to keep in mind." msgstr "" "v1.0では、メモリの節約のため、 :class:`Member` は :class:`User` のサブクラスではなくなりました。代わりに、 " ":class:`User` " @@ -774,13 +781,14 @@ msgstr "" msgid "" "These memory savings were accomplished by having a global :class:`User` " "cache, and as a positive consequence you can now easily fetch a " -":class:`User` by their ID by using the new :meth:`Client.get_user`. You can " -"also get a list of all :class:`User` your client can see with " +":class:`User` by their ID by using the new :meth:`Client.get_user`. You " +"can also get a list of all :class:`User` your client can see with " ":attr:`Client.users`." msgstr "" "メモリの節約は、グローバルな :class:`User` のキャッシュを持つことで実現しました。これによって " ":meth:`Client.get_user` を使ってIDから簡単に :class:`User` " -"を取得できます。また、あなたのクライアントが見ることができるユーザーを :attr:`Client.users` ですべて取得できるようにもなりました。" +"を取得できます。また、あなたのクライアントが見ることができるユーザーを :attr:`Client.users` " +"ですべて取得できるようにもなりました。" #: ../../migrating.rst:278 msgid "Channel Type Split" @@ -792,12 +800,13 @@ msgid "" "``PrivateChannel`` with a ``is_private`` property to help differentiate " "between them." msgstr "" -"v1.0以前のバージョンでは、チャンネルは ``is_private`` で判別する ``Channel`` と ``PrivateChannel`` " -"の二通りしかありませんでした。" +"v1.0以前のバージョンでは、チャンネルは ``is_private`` で判別する ``Channel`` と " +"``PrivateChannel`` の二通りしかありませんでした。" #: ../../migrating.rst:283 msgid "" -"In order to save memory the channels have been split into 4 different types:" +"In order to save memory the channels have been split into 4 different " +"types:" msgstr "メモリ使用量を削減するため、チャンネルを4つのタイプへ分割しました。" #: ../../migrating.rst:285 @@ -818,10 +827,9 @@ msgstr "メンバーが参加するグループDMチャンネル用である :cl #: ../../migrating.rst:290 msgid "" -"With this split came the removal of the ``is_private`` attribute. You should" -" now use ``isinstance``." -msgstr "" -"これらに分割されたことにより、 ``is_private`` は削除されました。v1.0では ``isinstance`` を使うべきでしょう。" +"With this split came the removal of the ``is_private`` attribute. You " +"should now use ``isinstance``." +msgstr "これらに分割されたことにより、 ``is_private`` は削除されました。v1.0では ``isinstance`` を使うべきでしょう。" #: ../../migrating.rst:292 msgid "The types are split into two different :ref:`discord_api_abcs`:" @@ -845,8 +853,8 @@ msgstr "チャンネルがプライベートチャンネルであるかをチェ #: ../../migrating.rst:305 msgid "" -"Of course, if you're looking for only a specific type you can pass that too," -" e.g. ::" +"Of course, if you're looking for only a specific type you can pass that " +"too, e.g. ::" msgstr "もちろん、特定のチャンネルタイプを探したい場合、そのチャンネルタイプを渡すことも可能です。" #: ../../migrating.rst:309 @@ -854,15 +862,15 @@ msgid "" "With this type split also came event changes, which are enumerated in " ":ref:`migrating_1_0_event_changes`." msgstr "" -"この分割により、イベントにも変更がありました。これについては :ref:`migrating_1_0_event_changes` に詳細があります。" +"この分割により、イベントにも変更がありました。これについては :ref:`migrating_1_0_event_changes` " +"に詳細があります。" #: ../../migrating.rst:313 msgid "Miscellaneous Model Changes" msgstr "その他のモデルの変更" #: ../../migrating.rst:315 -msgid "" -"There were lots of other things added or removed in the models in general." +msgid "There were lots of other things added or removed in the models in general." msgstr "一般的なモデルには追加、あるいは削除されたものが多くあります。" #: ../../migrating.rst:317 @@ -887,8 +895,7 @@ msgstr "代わりに :attr:`Client.emojis` を使用してください。" #: ../../migrating.rst:329 msgid "``Client.wait_for_message`` and ``Client.wait_for_reaction`` are gone." -msgstr "" -"``Client.wait_for_message`` および ``Client.wait_for_reaction`` は削除されました。" +msgstr "``Client.wait_for_message`` および ``Client.wait_for_reaction`` は削除されました。" #: ../../migrating.rst:331 msgid "Use :meth:`Client.wait_for` instead." @@ -908,7 +915,8 @@ msgstr "``Channel.is_private``" #: ../../migrating.rst:339 msgid "" -"Use ``isinstance`` instead with one of the :ref:`discord_api_abcs` instead." +"Use ``isinstance`` instead with one of the :ref:`discord_api_abcs` " +"instead." msgstr "代わりに ``isinstance`` と :ref:`discord_api_abcs` を使用してください。" #: ../../migrating.rst:340 @@ -925,8 +933,8 @@ msgstr "``Client.accept_invite``" #: ../../migrating.rst:344 msgid "" -"There is no replacement for this one. This functionality is deprecated API " -"wise." +"There is no replacement for this one. This functionality is deprecated " +"API wise." msgstr "これに代わるものはありません。これは非推奨のAPIです。" #: ../../migrating.rst:346 @@ -942,8 +950,9 @@ msgid "" "The concept of a default channel was removed from Discord. See `#329 " "`_." msgstr "" -"デフォルトチャンネルの概念は、Discordから削除されました。 `#329 `_ を参照してください。" +"デフォルトチャンネルの概念は、Discordから削除されました。 `#329 " +"`_ " +"を参照してください。" #: ../../migrating.rst:351 msgid "``Message.edited_timestamp``" @@ -1003,33 +1012,31 @@ msgstr "**変更**" #: ../../migrating.rst:378 msgid "" -":attr:`Member.avatar_url` and :attr:`User.avatar_url` now return the default" -" avatar if a custom one is not set." +":attr:`Member.avatar_url` and :attr:`User.avatar_url` now return the " +"default avatar if a custom one is not set." msgstr "" ":attr:`Member.avatar_url` と :attr:`User.avatar_url` " "はアバターが設定されていなければ、デフォルトアバターが返るようになりました。" #: ../../migrating.rst:379 msgid "" -":attr:`Message.embeds` is now a list of :class:`Embed` instead of ``dict`` " -"objects." -msgstr "" -":attr:`Message.embeds` は ``dict`` オブジェクトから :class:`Embed` のリストに変更されました。" +":attr:`Message.embeds` is now a list of :class:`Embed` instead of " +"``dict`` objects." +msgstr ":attr:`Message.embeds` は ``dict`` オブジェクトから :class:`Embed` のリストに変更されました。" #: ../../migrating.rst:380 msgid "" -":attr:`Message.attachments` is now a list of :class:`Attachment` instead of " -"``dict`` object." +":attr:`Message.attachments` is now a list of :class:`Attachment` instead " +"of ``dict`` object." msgstr "" ":attr:`Message.attachments` は ``dict`` オブジェクトから :class:`Attachment` " "のリストに変更されました。" #: ../../migrating.rst:381 msgid "" -":attr:`Guild.roles` is now sorted through hierarchy. The first element is " -"always the ``@everyone`` role." -msgstr "" -":attr:`Guild.roles` はヒエラルキー順にソートされるようになりました。先頭には必ず ``@everyone`` が格納されます。" +":attr:`Guild.roles` is now sorted through hierarchy. The first element is" +" always the ``@everyone`` role." +msgstr ":attr:`Guild.roles` はヒエラルキー順にソートされるようになりました。先頭には必ず ``@everyone`` が格納されます。" #: ../../migrating.rst:383 msgid "**Added**" @@ -1050,8 +1057,7 @@ msgid "" msgstr "ボイスチャンネルに接続しているメンバーを取得する :attr:`VoiceChannel.members` 。" #: ../../migrating.rst:388 -msgid "" -":attr:`TextChannel.members` for fetching members that can see the channel." +msgid ":attr:`TextChannel.members` for fetching members that can see the channel." msgstr "テキストチャンネルを閲覧可能なメンバーを取得する :attr:`TextChannel.members` 。" #: ../../migrating.rst:389 @@ -1072,8 +1078,8 @@ msgstr "チャンネルのカテゴリのみを取得する :attr:`Guild.categor #: ../../migrating.rst:393 msgid "" -":attr:`TextChannel.category` and :attr:`VoiceChannel.category` to get the " -"category a channel belongs to." +":attr:`TextChannel.category` and :attr:`VoiceChannel.category` to get the" +" category a channel belongs to." msgstr "" "チャンネルが属するカテゴリを取得する :attr:`TextChannel.category` と " ":attr:`VoiceChannel.category` 。" @@ -1103,8 +1109,7 @@ msgid ":meth:`Client.get_user` to get a :class:`User` by ID." msgstr "IDから :class:`User` を取得する :meth:`Client.get_user` 。" #: ../../migrating.rst:400 -msgid "" -":meth:`User.avatar_url_as` to get an avatar in a specific size or format." +msgid ":meth:`User.avatar_url_as` to get an avatar in a specific size or format." msgstr "特定のサイズ、あるいはフォーマットのアバターを取得する :meth:`User.avatar_url_as` 。" #: ../../migrating.rst:401 @@ -1121,11 +1126,11 @@ msgstr "メッセージのWebhook IDを取得する :attr:`Message.webhook_id` #: ../../migrating.rst:404 msgid "" -":attr:`Message.activity` and :attr:`Message.application` for Rich Presence " -"related information." +":attr:`Message.activity` and :attr:`Message.application` for Rich " +"Presence related information." msgstr "" -"リッチプレゼンスに関する情報を取得する :attr:`Message.activity` および :attr:`Message.application`" -" 。" +"リッチプレゼンスに関する情報を取得する :attr:`Message.activity` および " +":attr:`Message.application` 。" #: ../../migrating.rst:405 msgid ":meth:`TextChannel.is_nsfw` to check if a text channel is NSFW." @@ -1135,6 +1140,11 @@ msgstr "テキストチャンネルがNSFWであるかを確認する :meth:`Tex msgid ":meth:`Colour.from_rgb` to construct a :class:`Colour` from RGB tuple." msgstr "RGBのタプルから :class:`Colour` を作成する :meth:`Colour.from_rgb` 。" +#: ../../migrating.rst:407 +#, fuzzy +msgid ":meth:`Guild.get_role` to get a role by its ID." +msgstr "IDから :class:`User` を取得する :meth:`Client.get_user` 。" + #: ../../migrating.rst:412 msgid "Sending Messages" msgstr "メッセージの送信" @@ -1142,8 +1152,8 @@ msgstr "メッセージの送信" #: ../../migrating.rst:414 msgid "" "One of the changes that were done was the merger of the previous " -"``Client.send_message`` and ``Client.send_file`` functionality into a single" -" method, :meth:`~abc.Messageable.send`." +"``Client.send_message`` and ``Client.send_file`` functionality into a " +"single method, :meth:`~abc.Messageable.send`." msgstr "" "変更点の一つは、以前の ``Client.send_message`` と ``Client.send_file`` の機能を単一のメソッド " ":meth:`~abc.Messageable.send` に統合したことです。" @@ -1177,16 +1187,16 @@ msgstr "非同期のイテレータ" #: ../../migrating.rst:453 msgid "" -"Prior to v1.0, certain functions like ``Client.logs_from`` would return a " -"different type if done in Python 3.4 or 3.5+." +"Prior to v1.0, certain functions like ``Client.logs_from`` would return a" +" different type if done in Python 3.4 or 3.5+." msgstr "" "v1.0以前のバージョンは、Python 3.4 または 3.5以上の環境において ``Client.logs_from`` " "のような特定の関数で、処理終了時に異なった型を返していました。" #: ../../migrating.rst:455 msgid "" -"In v1.0, this change has been reverted and will now return a singular type " -"meeting an abstract concept called :class:`AsyncIterator`." +"In v1.0, this change has been reverted and will now return a singular " +"type meeting an abstract concept called :class:`AsyncIterator`." msgstr "これはv1.0で元に戻り、 :class:`AsyncIterator` という抽象概念を満たす特異な型を返します。" #: ../../migrating.rst:458 @@ -1199,15 +1209,16 @@ msgstr "またはリストにできます。" #: ../../migrating.rst:469 msgid "" -"A handy aspect of returning :class:`AsyncIterator` is that it allows you to " -"chain functions together such as :meth:`AsyncIterator.map` or " +"A handy aspect of returning :class:`AsyncIterator` is that it allows you " +"to chain functions together such as :meth:`AsyncIterator.map` or " ":meth:`AsyncIterator.filter`: ::" msgstr "" #: ../../migrating.rst:475 msgid "" "The functions passed to :meth:`AsyncIterator.map` or " -":meth:`AsyncIterator.filter` can be either coroutines or regular functions." +":meth:`AsyncIterator.filter` can be either coroutines or regular " +"functions." msgstr "" #: ../../migrating.rst:478 @@ -1324,8 +1335,7 @@ msgid ":func:`on_guild_unavailable`" msgstr ":func:`on_guild_unavailable`" #: ../../migrating.rst:523 -msgid "" -"The :func:`on_voice_state_update` event has received an argument change." +msgid "The :func:`on_voice_state_update` event has received an argument change." msgstr ":func:`on_voice_state_update` イベントの引数が変更されました。" #: ../../migrating.rst:525 ../../migrating.rst:537 ../../migrating.rst:549 @@ -1347,19 +1357,17 @@ msgstr "" ":class:`VoiceState` を受け取るようになりました。" #: ../../migrating.rst:535 -msgid "" -"The :func:`on_guild_emojis_update` event has received an argument change." +msgid "The :func:`on_guild_emojis_update` event has received an argument change." msgstr ":func:`on_guild_emojis_update` イベントの引数が変更されました。" #: ../../migrating.rst:545 msgid "" -"The first argument is now the :class:`Guild` that the emojis were updated " -"from." +"The first argument is now the :class:`Guild` that the emojis were updated" +" from." msgstr "最初の引数は絵文字の更新が行われた :class:`Guild` です。" #: ../../migrating.rst:547 -msgid "" -"The :func:`on_member_ban` event has received an argument change as well:" +msgid "The :func:`on_member_ban` event has received an argument change as well:" msgstr ":func:`on_member_ban` も引数が変更されました。" #: ../../migrating.rst:557 @@ -1418,9 +1426,10 @@ msgstr ":func:`on_private_channel_update`" #: ../../migrating.rst:577 msgid "" "The ``on_guild_channel_`` events correspond to :class:`abc.GuildChannel` " -"being updated (i.e. :class:`TextChannel` and :class:`VoiceChannel`) and the " -"``on_private_channel_`` events correspond to :class:`abc.PrivateChannel` " -"being updated (i.e. :class:`DMChannel` and :class:`GroupChannel`)." +"being updated (i.e. :class:`TextChannel` and :class:`VoiceChannel`) and " +"the ``on_private_channel_`` events correspond to " +":class:`abc.PrivateChannel` being updated (i.e. :class:`DMChannel` and " +":class:`GroupChannel`)." msgstr "" "``on_guild_channel_`` イベントは更新される :class:`abc.GuildChannel` " "(:class:`TextChannel` および :class:`VoiceChannel`)に対応しており、 " @@ -1449,13 +1458,14 @@ msgstr "" #: ../../migrating.rst:591 msgid "" -"You no longer create players and operate on them (you no longer store them)." +"You no longer create players and operate on them (you no longer store " +"them)." msgstr "プレイヤーを作成せずに操作が可能になりました。(プレイヤーの保存の必要もありません)" #: ../../migrating.rst:592 msgid "" -"You instead request :class:`VoiceClient` to play an :class:`AudioSource` via" -" :meth:`VoiceClient.play`." +"You instead request :class:`VoiceClient` to play an :class:`AudioSource` " +"via :meth:`VoiceClient.play`." msgstr "" #: ../../migrating.rst:593 @@ -1468,8 +1478,8 @@ msgstr "" #: ../../migrating.rst:597 msgid "" -"create_ffmpeg_player/create_stream_player/create_ytdl_player have all been " -"removed." +"create_ffmpeg_player/create_stream_player/create_ytdl_player have all " +"been removed." msgstr "" #: ../../migrating.rst:599 @@ -1494,8 +1504,8 @@ msgstr "基本的には以下のとおりです。" #: ../../migrating.rst:631 msgid "" -"With the changed :class:`AudioSource` design, you can now change the source " -"that the :class:`VoiceClient` is playing at runtime via " +"With the changed :class:`AudioSource` design, you can now change the " +"source that the :class:`VoiceClient` is playing at runtime via " ":attr:`VoiceClient.source`." msgstr "" ":class:`AudioSource` の再設計により、 :attr:`VoiceClient.source` を介して実行中の " @@ -1503,8 +1513,8 @@ msgstr "" #: ../../migrating.rst:634 msgid "" -"For example, you can add a :class:`PCMVolumeTransformer` to allow changing " -"the volume: ::" +"For example, you can add a :class:`PCMVolumeTransformer` to allow " +"changing the volume: ::" msgstr "例えば、 :class:`PCMVolumeTransformer` を追加すると、ボリュームの変更ができるようになります。" #: ../../migrating.rst:639 @@ -1521,8 +1531,8 @@ msgstr "音声ウェブソケットは、切断された際に自動的に再接 #: ../../migrating.rst:642 msgid "" -"The initial connect handshake will now retry up to 5 times so you no longer " -"get as many ``asyncio.TimeoutError``." +"The initial connect handshake will now retry up to 5 times so you no " +"longer get as many ``asyncio.TimeoutError``." msgstr "" "初期接続のハンドシェイクは、最大5回までの再試行となったので、大量の ``asyncio.TimeoutError`` " "に悩まされることはなくなりました。" @@ -1541,11 +1551,11 @@ msgstr "イベントの待機" #: ../../migrating.rst:653 msgid "" -"Prior to v1.0, the machinery for waiting for an event outside of the event " -"itself was done through two different functions, ``Client.wait_for_message``" -" and ``Client.wait_for_reaction``. One problem with one such approach is " -"that it did not allow you to wait for events outside of the ones provided by" -" the library." +"Prior to v1.0, the machinery for waiting for an event outside of the " +"event itself was done through two different functions, " +"``Client.wait_for_message`` and ``Client.wait_for_reaction``. One problem" +" with one such approach is that it did not allow you to wait for events " +"outside of the ones provided by the library." msgstr "" "v1.0以前のバージョンでは、イベントの発生を待つ方法として ``Client.wait_for_message`` と " "``Client.wait_for_reaction`` " @@ -1565,8 +1575,7 @@ msgstr "例えば、メッセージを待つ処理は以下のようになりま msgid "" "To facilitate multiple returns, :meth:`Client.wait_for` returns either a " "single argument, no arguments, or a tuple of arguments." -msgstr "" -"複数の返り値に対応するため、 :meth:`Client.wait_for` は単一の引数、引数なし、あるいは引数のタプルを返すようになっています。" +msgstr "複数の返り値に対応するため、 :meth:`Client.wait_for` は単一の引数、引数なし、あるいは引数のタプルを返すようになっています。" #: ../../migrating.rst:673 msgid "For example, to wait for a reaction: ::" @@ -1575,8 +1584,8 @@ msgstr "例えば、リアクションを待つ処理は以下のようになり #: ../../migrating.rst:679 msgid "" "Since this function now can return multiple arguments, the ``timeout`` " -"parameter will now raise a :exc:`asyncio.TimeoutError` when reached instead " -"of setting the return to ``None``. For example:" +"parameter will now raise a :exc:`asyncio.TimeoutError` when reached " +"instead of setting the return to ``None``. For example:" msgstr "" "この関数は複数の引数を返すため、 ``timeout`` に設定した時間経過すると、 ``None`` を返すのではなく、 " ":exc:`asyncio.TimeoutError` を発生させるようになりました。以下はその例になります。" @@ -1587,27 +1596,28 @@ msgstr "依存関係のアップグレード" #: ../../migrating.rst:698 msgid "" -"Following v1.0 of the library, we've updated our requirements to ``aiohttp``" -" v2.0 or higher." +"Following v1.0 of the library, we've updated our requirements to " +"``aiohttp`` v2.0 or higher." msgstr "ライブラリのv1.0への更新に伴い、要件が ``aiohttp`` v2.0以上へと変更されました。" #: ../../migrating.rst:700 msgid "" -"Since this is a backwards incompatible change, it is recommended that you " -"see the `changes " -"`_ and " -"the `migrating `_ " -"pages for details on the breaking changes in ``aiohttp``." +"Since this is a backwards incompatible change, it is recommended that you" +" see the `changes " +"`_ " +"and the `migrating " +"`_ pages for " +"details on the breaking changes in ``aiohttp``." msgstr "" "これは後方互換性のない変更となるため、 ``aiohttp`` の変更点の詳細については `changes " -"`_ と " -"`migrating `_ " +"`_ と" +" `migrating `_ " "ページを参照してください。" #: ../../migrating.rst:705 msgid "" -"Of the most significant for common users is the removal of helper functions " -"such as:" +"Of the most significant for common users is the removal of helper " +"functions such as:" msgstr "ユーザーにとって最も重要な変更点は、以下のヘルパー関数の削除です。" #: ../../migrating.rst:707 @@ -1645,8 +1655,8 @@ msgstr "代わりにセッションを作成することをお勧めします。 #: ../../migrating.rst:721 msgid "" "Since it is better to not create a session for every request, you should " -"store it in a variable and then call ``session.close`` on it when it needs " -"to be disposed." +"store it in a variable and then call ``session.close`` on it when it " +"needs to be disposed." msgstr "" "リクエストごとにセッションを作成するのは良いとは言えないため、変数に格納しておき、破棄しなければならない時に ``session.close`` " "を呼び出すのが良いでしょう。" @@ -1657,14 +1667,14 @@ msgstr "シャーディング" #: ../../migrating.rst:727 msgid "" -"The library has received significant changes on how it handles sharding and " -"now has sharding as a first-class citizen." +"The library has received significant changes on how it handles sharding " +"and now has sharding as a first-class citizen." msgstr "シャーディングの扱いに対して大きな変更があり、現在、シャーディングは第一級オブジェクトとして扱われています。" #: ../../migrating.rst:729 msgid "" -"If using a Bot account and you want to shard your bot in a single process " -"then you can use the :class:`AutoShardedClient`." +"If using a Bot account and you want to shard your bot in a single process" +" then you can use the :class:`AutoShardedClient`." msgstr "" "Botアカウントを使用していて、かつ一つのプロセスでBotをシャーディングしたい場合は、 :class:`AutoShardedClient` " "を使用してください。" @@ -1680,8 +1690,7 @@ msgid "" "It should be noted that **the sharded client does not support user " "accounts**. This is due to the changes in connection logic and state " "handling." -msgstr "" -"シャーディングしたクライアントはユーザーアカウントをサポートしないことを覚えておきましょう。これは、接続の形態と状態処理の変更によるものです。" +msgstr "シャーディングしたクライアントはユーザーアカウントをサポートしないことを覚えておきましょう。これは、接続の形態と状態処理の変更によるものです。" #: ../../migrating.rst:736 msgid "Usage is as simple as doing: ::" @@ -1693,16 +1702,16 @@ msgstr ":class:`Client` の代わりに上記のようにしてください。" #: ../../migrating.rst:742 msgid "" -"This will launch as many shards as your bot needs using the ``/gateway/bot``" -" endpoint, which allocates about 1000 guilds per shard." +"This will launch as many shards as your bot needs using the " +"``/gateway/bot`` endpoint, which allocates about 1000 guilds per shard." msgstr "" "これは ``/gateway/bot`` " "エンドポイントを使って、あなたのBotに必要な数のシャードを起動します。このエンドポイントはシャードごとに1000ギルドを割り当てます。" #: ../../migrating.rst:745 msgid "" -"If you want more control over the sharding you can specify ``shard_count`` " -"and ``shard_ids``. ::" +"If you want more control over the sharding you can specify " +"``shard_count`` and ``shard_ids``. ::" msgstr "シャードをより詳細に制御したい場合は、 ``shard_count`` と ``shard_ids`` を利用してください。" #: ../../migrating.rst:753 @@ -1718,16 +1727,16 @@ msgid "Connection Improvements" msgstr "接続の改善" #: ../../migrating.rst:758 -msgid "" -"In v1.0, the auto reconnection logic has been powered up significantly." +msgid "In v1.0, the auto reconnection logic has been powered up significantly." msgstr "v1.0では、自動再接続機能が大幅に強化されました。" #: ../../migrating.rst:760 msgid "" -":meth:`Client.connect` has gained a new keyword argument, ``reconnect`` that" -" defaults to ``True`` which controls the reconnect logic. When enabled, the " -"client will automatically reconnect in all instances of your internet going " -"offline or Discord going offline with exponential back-off." +":meth:`Client.connect` has gained a new keyword argument, ``reconnect`` " +"that defaults to ``True`` which controls the reconnect logic. When " +"enabled, the client will automatically reconnect in all instances of your" +" internet going offline or Discord going offline with exponential back-" +"off." msgstr "" ":meth:`Client.connect` には新しいキーワード引数が追加されました。再接続機能の設定を行う ``reconnect`` " "はデフォルトで ``True`` " @@ -1735,9 +1744,9 @@ msgstr "" #: ../../migrating.rst:764 msgid "" -":meth:`Client.run` and :meth:`Client.start` gains this keyword argument as " -"well, but for most cases you will not need to specify it unless turning it " -"off." +":meth:`Client.run` and :meth:`Client.start` gains this keyword argument " +"as well, but for most cases you will not need to specify it unless " +"turning it off." msgstr "" ":meth:`Client.run` や :meth:`Client.start` " "にも同様のキーワード引数が追加されていますが、このさい接続機能をオフにする場合以外は指定する必要はありません。" @@ -1748,8 +1757,8 @@ msgstr "コマンド拡張の変更" #: ../../migrating.rst:772 msgid "" -"Due to the :ref:`migrating_1_0_model_state` changes, some of the design of " -"the extension module had to undergo some design changes as well." +"Due to the :ref:`migrating_1_0_model_state` changes, some of the design " +"of the extension module had to undergo some design changes as well." msgstr ":ref:`migrating_1_0_model_state` により、拡張モジュールの設計にもいくつかの変更があります。" #: ../../migrating.rst:776 @@ -1758,8 +1767,8 @@ msgstr "コンテキストの変更" #: ../../migrating.rst:778 msgid "" -"In v1.0, the :class:`.Context` has received a lot of changes with how it's " -"retrieved and used." +"In v1.0, the :class:`.Context` has received a lot of changes with how " +"it's retrieved and used." msgstr "v1.0において、 :class:`.Context` は取得と利用の面において、多くの変更があります。" #: ../../migrating.rst:780 @@ -1772,25 +1781,26 @@ msgstr "" #: ../../migrating.rst:794 msgid "" -"The reason for this is because :class:`~ext.commands.Context` now meets the " -"requirements of :class:`abc.Messageable`. This makes it have similar " +"The reason for this is because :class:`~ext.commands.Context` now meets " +"the requirements of :class:`abc.Messageable`. This makes it have similar " "functionality to :class:`TextChannel` or :class:`DMChannel`. Using " ":meth:`~.Context.send` will either DM the user in a DM context or send a " "message in the channel it was in, similar to the old ``bot.say`` " "functionality. The old helpers have been removed in favour of the new " -":class:`abc.Messageable` interface. See :ref:`migrating_1_0_removed_helpers`" -" for more information." +":class:`abc.Messageable` interface. See " +":ref:`migrating_1_0_removed_helpers` for more information." msgstr "" "その理由として、 :class:`~ext.commands.Context` が :class:`abc.Messageable` " "の要件を満たしていることが挙げられます。 これは :class:`TextChannel` や :class:`DMChannel` " "と同等の機能を持っており、 :meth:`~.Context.send` を用いることで、従来の ``bot.say`` " -"のようにDMまたはテキストチャンネルにメッセージを送信することが出来ます。古いヘルパー関数は新しい :class:`abc.Messageable` " -"インタフェースの実装に伴い削除されました。詳細は :ref:`migrating_1_0_removed_helpers` を参照してください。" +"のようにDMまたはテキストチャンネルにメッセージを送信することが出来ます。古いヘルパー関数は新しい " +":class:`abc.Messageable` インタフェースの実装に伴い削除されました。詳細は " +":ref:`migrating_1_0_removed_helpers` を参照してください。" #: ../../migrating.rst:800 msgid "" -"Since the :class:`~ext.commands.Context` is now by default passed, several " -"shortcuts have been added:" +"Since the :class:`~ext.commands.Context` is now by default passed, " +"several shortcuts have been added:" msgstr ":class:`~ext.commands.Context` が常に渡されるようになったため、いくつかのショートカットが追加されています。" #: ../../migrating.rst:802 @@ -1801,26 +1811,26 @@ msgstr "**新しいショートカット**" msgid "" ":attr:`~ext.commands.Context.author` is a shortcut for " "``ctx.message.author``." -msgstr "" -":attr:`~ext.commands.Context.author` は ``ctx.message.author`` のショートカットです。" +msgstr ":attr:`~ext.commands.Context.author` は ``ctx.message.author`` のショートカットです。" #: ../../migrating.rst:805 msgid "" -":attr:`~ext.commands.Context.guild` is a shortcut for ``ctx.message.guild``." -msgstr "" -":attr:`~ext.commands.Context.guild` は ``ctx.message.guild`` のショートカットです。" +":attr:`~ext.commands.Context.guild` is a shortcut for " +"``ctx.message.guild``." +msgstr ":attr:`~ext.commands.Context.guild` は ``ctx.message.guild`` のショートカットです。" #: ../../migrating.rst:806 msgid "" ":attr:`~ext.commands.Context.channel` is a shortcut for " "``ctx.message.channel``." msgstr "" -":attr:`~ext.commands.Context.channel` は ``ctx.message.channel`` のショートカットです。" +":attr:`~ext.commands.Context.channel` は ``ctx.message.channel`` " +"のショートカットです。" #: ../../migrating.rst:807 msgid "" -":attr:`~ext.commands.Context.me` is a shortcut for ``ctx.message.guild.me`` " -"or ``ctx.bot.user``." +":attr:`~ext.commands.Context.me` is a shortcut for " +"``ctx.message.guild.me`` or ``ctx.bot.user``." msgstr "" ":attr:`~ext.commands.Context.me` は ``ctx.message.guild.me`` あるいは " "``ctx.bot.user`` のショートカットです。" @@ -1851,8 +1861,9 @@ msgstr "コンテキストのサブクラス" #: ../../migrating.rst:819 msgid "" -"In v1.0, there is now the ability to subclass :class:`~ext.commands.Context`" -" and use it instead of the default provided one." +"In v1.0, there is now the ability to subclass " +":class:`~ext.commands.Context` and use it instead of the default provided" +" one." msgstr "" "v1.0では、 :class:`~ext.commands.Context` " "を継承したサブクラスを作成し、デフォルトで実装されているものの代わりに使うことが出来ます。" @@ -1864,8 +1875,8 @@ msgstr "例えば、コンテキストに機能の追加を行いたい場合は #: ../../migrating.rst:831 msgid "" "Then you can use :meth:`~ext.commands.Bot.get_context` inside " -":func:`on_message` with combination with :meth:`~ext.commands.Bot.invoke` to" -" use your custom context:" +":func:`on_message` with combination with :meth:`~ext.commands.Bot.invoke`" +" to use your custom context:" msgstr "" "また、 :func:`on_message` 内で :meth:`~ext.commands.Bot.get_context` と " ":meth:`~ext.commands.Bot.invoke` を組み合わせることであなたのカスタムコンテキストを使用できます。" @@ -1930,8 +1941,9 @@ msgstr "コマンドの変更" #: ../../migrating.rst:875 msgid "" -"As mentioned earlier, the first command change is that ``pass_context=True``" -" no longer exists, so there is no need to pass this as a parameter." +"As mentioned earlier, the first command change is that " +"``pass_context=True`` no longer exists, so there is no need to pass this " +"as a parameter." msgstr "前述の通り、 ``pass_context=True`` は削除されたため、これをパラメータとして渡す必要はありません。" #: ../../migrating.rst:878 @@ -1945,9 +1957,9 @@ msgstr "" #: ../../migrating.rst:881 msgid "" "The ``commands`` attribute of :class:`~ext.commands.Bot` and " -":class:`~ext.commands.Group` have been changed from a dictionary to a set " -"that does not have aliases. To retrieve the previous dictionary behaviour, " -"use ``all_commands`` instead." +":class:`~ext.commands.Group` have been changed from a dictionary to a set" +" that does not have aliases. To retrieve the previous dictionary " +"behaviour, use ``all_commands`` instead." msgstr "" ":class:`~ext.commands.Bot` と :class:`~ext.commands.Group` の ``commands`` " "属性は辞書からエイリアスを持たないsetに変更されました。以前のような辞書を取得するには ``all_commands`` を使用してください。" @@ -1958,25 +1970,25 @@ msgstr "コマンドインスタンスには新たな属性とプロパティが #: ../../migrating.rst:886 msgid "" -":attr:`~ext.commands.Command.signature` to get the signature of the command." +":attr:`~ext.commands.Command.signature` to get the signature of the " +"command." msgstr "コマンドのシグネチャを取得する :attr:`~ext.commands.Command.signature` 。" #: ../../migrating.rst:887 -msgid "" -":attr:`~.Command.usage`, an attribute to override the default signature." +msgid ":attr:`~.Command.usage`, an attribute to override the default signature." msgstr "デフォルトのシグネチャをオーバーライドする属性 :attr:`~.Command.usage` 。" #: ../../migrating.rst:888 msgid "" -":attr:`~.Command.root_parent` to get the root parent group of a subcommand." +":attr:`~.Command.root_parent` to get the root parent group of a " +"subcommand." msgstr "サブコマンドのルートである親グループを取得する :attr:`~.Command.root_parent` 。" #: ../../migrating.rst:890 msgid "" "For :class:`~ext.commands.Group` and :class:`~ext.commands.Bot` the " "following changed:" -msgstr "" -":class:`~ext.commands.Group` と :class:`~ext.commands.Bot` は次のように変更されました。" +msgstr ":class:`~ext.commands.Group` と :class:`~ext.commands.Bot` は次のように変更されました。" #: ../../migrating.rst:892 msgid "Changed :attr:`~.GroupMixin.commands` to be a ``set`` without aliases." @@ -1986,8 +1998,7 @@ msgstr ":attr:`~.GroupMixin.commands` は エイリアスなしの ``set`` に msgid "" "Use :attr:`~.GroupMixin.all_commands` to get the old ``dict`` with all " "commands." -msgstr "" -"すべてのコマンドを従来の ``dict`` で取得するには :attr:`~.GroupMixin.all_commands` を使用してください。" +msgstr "すべてのコマンドを従来の ``dict`` で取得するには :attr:`~.GroupMixin.all_commands` を使用してください。" #: ../../migrating.rst:897 msgid "Check Changes" @@ -1995,10 +2006,11 @@ msgstr "チェックの変更" #: ../../migrating.rst:899 msgid "" -"Prior to v1.0, :func:`~ext.commands.check`\\s could only be synchronous. As " -"of v1.0 checks can now be coroutines." +"Prior to v1.0, :func:`~ext.commands.check`\\s could only be synchronous. " +"As of v1.0 checks can now be coroutines." msgstr "" -"v1.0以前のバージョンでは :func:`~ext.commands.check` は同期関数でしたが、 v1.0のチェックはコルーチンになりました。" +"v1.0以前のバージョンでは :func:`~ext.commands.check` は同期関数でしたが、 " +"v1.0のチェックはコルーチンになりました。" #: ../../migrating.rst:901 msgid "Along with this change, a couple new checks were added." @@ -2030,8 +2042,8 @@ msgstr ":attr:`.Bot.owner_id` に値を指定することで自分でオーナ #: ../../migrating.rst:909 msgid "" -":func:`~ext.commands.is_nsfw` checks if the channel the command is in is a " -"NSFW channel." +":func:`~ext.commands.is_nsfw` checks if the channel the command is in is " +"a NSFW channel." msgstr ":func:`~ext.commands.is_nsfw` はコマンドが実行されたチャンネルがNSFWチャンネルかどうかをチェックします。" #: ../../migrating.rst:911 @@ -2046,9 +2058,9 @@ msgstr "すべてのコマンド拡張のイベントが変更されました。 msgid "" "The extraneous ``command`` parameter in :func:`.on_command` and " ":func:`.on_command_completion` have been removed. The " -":class:`~ext.commands.Command` instance was not kept up-to date so it was " -"incorrect. In order to get the up to date :class:`~ext.commands.Command` " -"instance, use the :attr:`.Context.command` attribute." +":class:`~ext.commands.Command` instance was not kept up-to date so it was" +" incorrect. In order to get the up to date :class:`~ext.commands.Command`" +" instance, use the :attr:`.Context.command` attribute." msgstr "" ":func:`.on_command` と :func:`.on_command_completion` の ``command`` " "パラメータが削除されました。 :class:`~ext.commands.Command` " @@ -2059,8 +2071,8 @@ msgstr "" msgid "" "The error handlers, either :meth:`.Command.error` or " ":func:`.on_command_error`, have been re-ordered to use the " -":class:`~ext.commands.Context` as its first parameter to be consistent with " -"other events and commands." +":class:`~ext.commands.Context` as its first parameter to be consistent " +"with other events and commands." msgstr "" ":meth:`.Command.error` や :func:`.on_command_error` " "のようなエラーハンドラは他のイベント及びコマンドとの一貫性を保つため、最初のパラメータとして " @@ -2085,25 +2097,25 @@ msgstr "" #: ../../migrating.rst:947 msgid "" "To complement the new ``__global_check`` there is now a new " -"``__local_check`` to facilitate a check that will run on every command in " -"the cog. There is also a ``__global_check_once``, which is similar to a " +"``__local_check`` to facilitate a check that will run on every command in" +" the cog. There is also a ``__global_check_once``, which is similar to a " "global check instead it is only called once per :meth:`.Bot.invoke` call " -"rather than every :meth:`.Command.invoke` call. Practically, the difference " -"is only for black-listing users or channels without constantly opening a " -"database connection." +"rather than every :meth:`.Command.invoke` call. Practically, the " +"difference is only for black-listing users or channels without constantly" +" opening a database connection." msgstr "" #: ../../migrating.rst:952 msgid "" -"Cogs have also gained a ``__before_invoke`` and ``__after_invoke`` cog local" -" before and after invocation hook, which can be seen in " +"Cogs have also gained a ``__before_invoke`` and ``__after_invoke`` cog " +"local before and after invocation hook, which can be seen in " ":ref:`migrating_1_0_before_after_hook`." msgstr "" #: ../../migrating.rst:955 msgid "" -"The final addition is cog-local error handler, ``__error``, that is run on " -"every command in the cog." +"The final addition is cog-local error handler, ``__error``, that is run " +"on every command in the cog." msgstr "" #: ../../migrating.rst:957 @@ -2116,16 +2128,15 @@ msgstr "前後処理のフック" #: ../../migrating.rst:990 msgid "" -"Commands have gained new before and after invocation hooks that allow you to" -" do an action before and after a command is run." +"Commands have gained new before and after invocation hooks that allow you" +" to do an action before and after a command is run." msgstr "コマンドに、コマンドの実行前および実行後に処理が行えるようにするフックが新たに追加されました。" #: ../../migrating.rst:993 msgid "" -"They take a single parameter, :class:`~ext.commands.Context` and they must " -"be a coroutine." -msgstr "" -"これは単一のパラメータとして :class:`~ext.commands.Context` を受け取り、かつコルーチンである必要があります。" +"They take a single parameter, :class:`~ext.commands.Context` and they " +"must be a coroutine." +msgstr "これは単一のパラメータとして :class:`~ext.commands.Context` を受け取り、かつコルーチンである必要があります。" #: ../../migrating.rst:995 msgid "They are on a global, per-cog, or per-command basis." @@ -2133,9 +2144,9 @@ msgstr "また、このフックは全体、コグごと、あるいはコマン #: ../../migrating.rst:1012 msgid "" -"The after invocation is hook always called, **regardless of an error in the " -"command**. This makes it ideal for some error handling or clean up of " -"certain resources such a database connection." +"The after invocation is hook always called, **regardless of an error in " +"the command**. This makes it ideal for some error handling or clean up of" +" certain resources such a database connection." msgstr "" "後処理のフックは **コマンドのエラー発生に関わらず** " "必ず呼び出されます。そのため、データベース接続のようなリソースのクリーンアップやエラー処理に最適です。" @@ -2148,8 +2159,7 @@ msgstr "コマンドごとに設定する方法は以下のとおりです。" msgid "" "The special cog method for these is ``__before_invoke`` and " "``__after_invoke``, e.g.: ::" -msgstr "" -"特定のコグへの実装は以下の例のように ``__before_invoke`` と ``__after_invoke`` メソッドを用いてください。" +msgstr "特定のコグへの実装は以下の例のように ``__before_invoke`` と ``__after_invoke`` メソッドを用いてください。" #: ../../migrating.rst:1044 msgid "" @@ -2196,24 +2206,25 @@ msgstr "コンバーターの変更" #: ../../migrating.rst:1060 msgid "" "Prior to v1.0, a converter was a type hint that could be a callable that " -"could be invoked with a singular argument denoting the argument passed by " -"the user as a string." +"could be invoked with a singular argument denoting the argument passed by" +" the user as a string." msgstr "" #: ../../migrating.rst:1063 msgid "" "This system was eventually expanded to support a " ":class:`~ext.commands.Converter` system to allow plugging in the " -":class:`~ext.commands.Context` and do more complicated conversions such as " -"the built-in \"discord\" converters." +":class:`~ext.commands.Context` and do more complicated conversions such " +"as the built-in \"discord\" converters." msgstr "" #: ../../migrating.rst:1067 msgid "" "In v1.0 this converter system was revamped to allow instances of " ":class:`~ext.commands.Converter` derived classes to be passed. For " -"consistency, the :meth:`~ext.commands.Converter.convert` method was changed " -"to always be a coroutine and will now take the two arguments as parameters." +"consistency, the :meth:`~ext.commands.Converter.convert` method was " +"changed to always be a coroutine and will now take the two arguments as " +"parameters." msgstr "" #: ../../migrating.rst:1071 @@ -2245,7 +2256,6 @@ msgid ":class:`~ext.commands.TextChannelConverter` for :class:`TextChannel`." msgstr ":class:`TextChannel` 用の :class:`~ext.commands.TextChannelConverter` 。" #: ../../migrating.rst:1090 -msgid "" -":class:`~ext.commands.VoiceChannelConverter` for :class:`VoiceChannel`." -msgstr "" -":class:`VoiceChannel` 用の :class:`~ext.commands.VoiceChannelConverter` 。" +msgid ":class:`~ext.commands.VoiceChannelConverter` for :class:`VoiceChannel`." +msgstr ":class:`VoiceChannel` 用の :class:`~ext.commands.VoiceChannelConverter` 。" +