diff --git a/docs/locale/ja/LC_MESSAGES/api.po b/docs/locale/ja/LC_MESSAGES/api.po index f60aaccd5..bd4dd27ed 100644 --- a/docs/locale/ja/LC_MESSAGES/api.po +++ b/docs/locale/ja/LC_MESSAGES/api.po @@ -2,22 +2,23 @@ # Copyright (C) 2015-2017, 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-09-15 09:52-0400\n" +"POT-Creation-Date: 2018-09-24 23:41-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: 竹内 歩夢 , 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" #: ../../api.rst:4 msgid "API Reference" @@ -29,10 +30,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` を参照してください。" @@ -42,8 +44,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 @@ -55,8 +56,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'``." @@ -68,8 +69,8 @@ msgstr "Client" #: 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 @@ -118,46 +119,46 @@ msgstr "多くのオプションを :class:`Client` に渡すことが可能で #: discord.Permissions.update 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`` です。この場合、デフォルトのイベントループは " @@ -185,10 +186,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 @@ -202,15 +203,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 @@ -221,8 +220,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 @@ -231,7 +230,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 @@ -240,14 +240,14 @@ 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." +"This returns only up to 128 most recent private channels due to an " +"internal working on how Discord deals with private channels." msgstr "" #: discord.Client.voice_clients:1 of @@ -255,8 +255,7 @@ 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 @@ -265,21 +264,22 @@ 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 "" #: 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 "" #: 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` を使用してください。" @@ -290,11 +290,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." @@ -302,8 +301,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`]] -- " "ログイン時のアクティビティ。" @@ -314,18 +313,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 @@ -333,14 +332,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 @@ -349,9 +347,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` " "を受け取ったからと言って、そのチャンネルで発言ができるという意味ではありません。発現可能なチャンネルのみを取得したいのなら、 " @@ -361,7 +359,7 @@ msgstr "" msgid "Returns a generator with every :class:`Member` the client can see." msgstr "クライアントが参照可能なすべての :class:`Member` のジェネレータを返します。" -#: ../../api.rst:1361 ../../api.rst:1368 ../../api.rst:1378 ../../api.rst:1397 +#: ../../api.rst:1367 ../../api.rst:1374 ../../api.rst:1384 ../../api.rst:1403 #: discord.Attachment.save:1 discord.AutoShardedClient.change_presence:1 #: discord.AutoShardedClient.close:1 #: discord.AutoShardedClient.request_offline_members:1 @@ -433,23 +431,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 @@ -478,8 +476,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 @@ -557,7 +555,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 @@ -594,17 +593,16 @@ msgstr "" #: 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.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 @@ -641,9 +639,8 @@ msgstr "" #: 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.abc.GuildChannel.permissions_for discord.abc.Messageable.get_message +#: discord.abc.Messageable.send discord.opus.is_loaded of msgid "Return type" msgstr "" @@ -658,8 +655,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 @@ -682,49 +678,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 "" #: discord.AutoShardedClient.close:3 discord.Client.close:3 of @@ -743,18 +738,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.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 "" #: discord.Client.connect:16 of -msgid "" -":exc:`ConnectionClosed` -- The websocket connection has been terminated." +msgid ":exc:`ConnectionClosed` -- The websocket connection has been terminated." msgstr "" #: discord.Client.create_guild:3 of @@ -787,8 +782,8 @@ msgstr ":exc:`HTTPException` -- ギルドの作成に失敗した際に発生し #: discord.Client.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 "" ":exc:`InvalidArgument` -- " "アイコン画像として無効なフォーマットの画像が渡された際に発生します。PNGかJPGで指定してください。" @@ -863,8 +858,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 "" @@ -876,8 +871,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`" @@ -891,7 +886,8 @@ msgstr "" #: 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 @@ -953,8 +949,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 @@ -965,8 +962,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 @@ -975,8 +972,8 @@ msgstr "" #: 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 "" #: discord.Client.logout:3 of @@ -989,18 +986,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 @@ -1020,8 +1017,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 @@ -1034,23 +1031,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 @@ -1067,36 +1064,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 @@ -1105,8 +1102,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 @@ -1127,8 +1124,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 "" @@ -1137,8 +1133,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 @@ -1162,8 +1157,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 "" #: discord.VoiceClient.user:1 of @@ -1180,8 +1174,8 @@ msgstr "" #: 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 "" #: discord.VoiceClient.play:6 of @@ -1196,10 +1190,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 "" #: discord.VoiceClient.play:16 of @@ -1208,8 +1202,8 @@ msgstr "" #: discord.VoiceClient.play:17 of msgid "" -":exc:`TypeError` -- source is not a :class:`AudioSource` or after is not a " -"callable." +":exc:`TypeError` -- source is not a :class:`AudioSource` or after is not " +"a callable." msgstr "" #: discord.VoiceClient.is_playing:1 of @@ -1246,13 +1240,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 "" #: 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 @@ -1285,8 +1280,9 @@ 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." +"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 "" #: discord.AudioSource:8 of @@ -1319,9 +1315,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 "" #: discord.AudioSource.read:13 discord.FFmpegPCMAudio.read:13 @@ -1345,7 +1342,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 @@ -1354,8 +1352,8 @@ msgstr "" #: 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 "" #: discord.FFmpegPCMAudio:1 of @@ -1375,7 +1373,8 @@ msgstr "" #: 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 @@ -1384,8 +1383,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 @@ -1412,8 +1411,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 @@ -1434,8 +1433,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 @@ -1463,17 +1462,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 @@ -1506,17 +1505,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` が呼び出されます。 " "デフォルトではトレースバックが出力され、例外は無視されます。" @@ -1524,16 +1524,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` を参照してください。" @@ -1545,18 +1546,17 @@ 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 "" -"このイベントは、最初に呼び出されるイベントとは限りません。同時に、このイベントは**一度だけ呼ばれるという保証もできません**。このライブラリは、再接続ロジックを実装しているためリジューム要求が失敗するたびにこのイベントが呼び出されることになります。" +msgstr "このイベントは、最初に呼び出されるイベントとは限りません。同時に、このイベントは**一度だけ呼ばれるという保証もできません**。このライブラリは、再接続ロジックを実装しているためリジューム要求が失敗するたびにこのイベントが呼び出されることになります。" #: ../../api.rst:120 msgid "" @@ -1576,13 +1576,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 "" @@ -1592,13 +1591,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." @@ -1615,40 +1615,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 @@ -1657,15 +1657,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 @@ -1686,10 +1686,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 @@ -1699,9 +1700,9 @@ 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 " -"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 " +":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 "" @@ -1711,8 +1712,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 @@ -1722,15 +1724,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 :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 "" @@ -1758,8 +1760,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 @@ -1778,8 +1779,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 "" @@ -1787,16 +1788,16 @@ 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` " -"cache, then this event will not be called." +"on_message_edit, if the message is not found in the " +":attr:`Client.messages` cache, then this event will not be called." msgstr "" #: ../../api.rst:286 @@ -1815,32 +1816,31 @@ 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` " -"cache, then this event will not be called." +"on_message_edit, if the message is not found in the " +":attr:`Client.messages` 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." +msgid "A :class:`User` or :class:`Member` of the user who removed the reaction." msgstr "" #: ../../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 @@ -1874,8 +1874,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 @@ -1887,8 +1886,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 @@ -1935,289 +1933,300 @@ msgstr "" msgid "The :class:`abc.GuildChannel` that had it's pins updated." msgstr "" -#: ../../api.rst:386 +#: ../../api.rst:385 +msgid "" +"Called whenever a webhook is created, modified, or removed from a guild " +"channel." +msgstr "" + +#: ../../api.rst:387 +msgid "The :class:`abc.GuildChannel` that had its webhooks updated." +msgstr "" + +#: ../../api.rst:392 msgid "Called when a :class:`Member` leaves or joins a :class:`Guild`." msgstr "" -#: ../../api.rst:388 +#: ../../api.rst:394 msgid "The :class:`Member` that joined or left." msgstr "" -#: ../../api.rst:392 +#: ../../api.rst:398 msgid "Called when a :class:`Member` updates their profile." msgstr "" -#: ../../api.rst:394 +#: ../../api.rst:400 msgid "This is called when one or more of the following things change:" msgstr "" -#: ../../api.rst:396 +#: ../../api.rst:402 msgid "status" msgstr "" -#: ../../api.rst:397 +#: ../../api.rst:403 msgid "game playing" msgstr "" -#: ../../api.rst:398 +#: ../../api.rst:404 msgid "avatar" msgstr "" -#: ../../api.rst:399 +#: ../../api.rst:405 msgid "nickname" msgstr "" -#: ../../api.rst:400 discord.Member.edit:16 of +#: ../../api.rst:406 discord.Member.edit:16 of msgid "roles" msgstr "" -#: ../../api.rst:402 +#: ../../api.rst:408 msgid "The :class:`Member` that updated their profile with the old info." msgstr "" -#: ../../api.rst:403 +#: ../../api.rst:409 msgid "The :class:`Member` that updated their profile with the updated info." msgstr "" -#: ../../api.rst:407 +#: ../../api.rst:413 msgid "" "Called when a :class:`Guild` is either created by the :class:`Client` or " "when the :class:`Client` joins a guild." msgstr "" -#: ../../api.rst:410 +#: ../../api.rst:416 msgid "The :class:`Guild` that was joined." msgstr "" -#: ../../api.rst:414 +#: ../../api.rst:420 msgid "Called when a :class:`Guild` is removed from the :class:`Client`." msgstr "" -#: ../../api.rst:416 +#: ../../api.rst:422 msgid "This happens through, but not limited to, these circumstances:" msgstr "" -#: ../../api.rst:418 +#: ../../api.rst:424 msgid "The client got banned." msgstr "" -#: ../../api.rst:419 +#: ../../api.rst:425 msgid "The client got kicked." msgstr "" -#: ../../api.rst:420 +#: ../../api.rst:426 msgid "The client left the guild." msgstr "" -#: ../../api.rst:421 +#: ../../api.rst:427 msgid "The client or the guild owner deleted the guild." msgstr "" -#: ../../api.rst:423 +#: ../../api.rst:429 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:426 +#: ../../api.rst:432 msgid "The :class:`Guild` that got removed." msgstr "" -#: ../../api.rst:430 +#: ../../api.rst:436 msgid "Called when a :class:`Guild` updates, for example:" msgstr "" -#: ../../api.rst:432 +#: ../../api.rst:438 msgid "Changed name" msgstr "" -#: ../../api.rst:433 +#: ../../api.rst:439 msgid "Changed AFK channel" msgstr "" -#: ../../api.rst:434 +#: ../../api.rst:440 msgid "Changed AFK timeout" msgstr "" -#: ../../api.rst:435 +#: ../../api.rst:441 msgid "etc" msgstr "" -#: ../../api.rst:437 +#: ../../api.rst:443 msgid "The :class:`Guild` prior to being updated." msgstr "" -#: ../../api.rst:438 +#: ../../api.rst:444 msgid "The :class:`Guild` after being updated." msgstr "" -#: ../../api.rst:443 +#: ../../api.rst:449 msgid "Called when a :class:`Guild` creates or deletes a new :class:`Role`." msgstr "" -#: ../../api.rst:445 +#: ../../api.rst:451 msgid "To get the guild it belongs to, use :attr:`Role.guild`." msgstr "" -#: ../../api.rst:447 +#: ../../api.rst:453 msgid "The :class:`Role` that was created or deleted." msgstr "" -#: ../../api.rst:451 +#: ../../api.rst:457 msgid "Called when a :class:`Role` is changed guild-wide." msgstr "" -#: ../../api.rst:453 +#: ../../api.rst:459 msgid "The :class:`Role` that updated with the old info." msgstr "" -#: ../../api.rst:454 +#: ../../api.rst:460 msgid "The :class:`Role` that updated with the updated info." msgstr "" -#: ../../api.rst:458 +#: ../../api.rst:464 msgid "Called when a :class:`Guild` adds or removes :class:`Emoji`." msgstr "" -#: ../../api.rst:460 +#: ../../api.rst:466 msgid "The :class:`Guild` who got their emojis updated." msgstr "" -#: ../../api.rst:461 +#: ../../api.rst:467 msgid "A list of :class:`Emoji` before the update." msgstr "" -#: ../../api.rst:462 +#: ../../api.rst:468 msgid "A list of :class:`Emoji` after the update." msgstr "" -#: ../../api.rst:467 +#: ../../api.rst:473 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:470 +#: ../../api.rst:476 msgid "The :class:`Guild` that has changed availability." msgstr "" -#: ../../api.rst:474 +#: ../../api.rst:480 msgid "Called when a :class:`Member` changes their :class:`VoiceState`." msgstr "" -#: ../../api.rst:476 +#: ../../api.rst:482 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:478 +#: ../../api.rst:484 msgid "A member joins a voice room." msgstr "" -#: ../../api.rst:479 +#: ../../api.rst:485 msgid "A member leaves a voice room." msgstr "" -#: ../../api.rst:480 +#: ../../api.rst:486 msgid "A member is muted or deafened by their own accord." msgstr "" -#: ../../api.rst:481 +#: ../../api.rst:487 msgid "A member is muted or deafened by a guild administrator." msgstr "" -#: ../../api.rst:483 +#: ../../api.rst:489 msgid "The :class:`Member` whose voice states changed." msgstr "" -#: ../../api.rst:484 +#: ../../api.rst:490 msgid "The :class:`VoiceState` prior to the changes." msgstr "" -#: ../../api.rst:485 +#: ../../api.rst:491 msgid "The :class:`VoiceState` after to the changes." msgstr "" -#: ../../api.rst:489 +#: ../../api.rst:495 msgid "Called when user gets banned from a :class:`Guild`." msgstr "" -#: ../../api.rst:491 +#: ../../api.rst:497 msgid "The :class:`Guild` the user got banned from." msgstr "" -#: ../../api.rst:492 +#: ../../api.rst:498 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:498 +#: ../../api.rst:504 msgid "Called when a :class:`User` gets unbanned from a :class:`Guild`." msgstr "" -#: ../../api.rst:500 +#: ../../api.rst:506 msgid "The :class:`Guild` the user got unbanned from." msgstr "" -#: ../../api.rst:501 +#: ../../api.rst:507 msgid "The :class:`User` that got unbanned." msgstr "" -#: ../../api.rst:506 +#: ../../api.rst:512 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:509 +#: ../../api.rst:515 msgid "The group that the user joined or left." msgstr "" -#: ../../api.rst:510 +#: ../../api.rst:516 msgid "The user that joined or left." msgstr "" -#: ../../api.rst:515 +#: ../../api.rst:521 msgid "" "Called when a :class:`Relationship` is added or removed from the " ":class:`ClientUser`." msgstr "" -#: ../../api.rst:518 +#: ../../api.rst:524 msgid "The relationship that was added or removed." msgstr "" -#: ../../api.rst:522 +#: ../../api.rst:528 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:525 +#: ../../api.rst:531 msgid "The previous relationship status." msgstr "" -#: ../../api.rst:526 +#: ../../api.rst:532 msgid "The updated relationship status." msgstr "" -#: ../../api.rst:531 +#: ../../api.rst:537 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 @@ -2236,16 +2245,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 @@ -2296,8 +2305,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 @@ -2308,1005 +2317,1009 @@ msgstr "" msgid "An optional valid redirect URI." msgstr "" -#: ../../api.rst:542 +#: ../../api.rst:548 msgid "Application Info" msgstr "" -#: ../../api.rst:546 +#: ../../api.rst:552 msgid "A namedtuple representing the bot's application info." msgstr "" -#: ../../api.rst:550 +#: ../../api.rst:556 msgid "The application's ``client_id``." msgstr "" -#: ../../api.rst:553 +#: ../../api.rst:559 msgid "The application's name." msgstr "" -#: ../../api.rst:556 +#: ../../api.rst:562 msgid "The application's description" msgstr "" -#: ../../api.rst:559 +#: ../../api.rst:565 msgid "The application's icon hash if it exists, ``None`` otherwise." msgstr "" -#: ../../api.rst:562 +#: ../../api.rst:568 msgid "A property that retrieves the application's icon URL if it exists." msgstr "" -#: ../../api.rst:564 +#: ../../api.rst:570 msgid "If it doesn't exist an empty string is returned." msgstr "" -#: ../../api.rst:567 +#: ../../api.rst:573 msgid "" "The owner of the application. This is a :class:`User` instance with the " "owner's information at the time of the call." msgstr "" -#: ../../api.rst:572 +#: ../../api.rst:578 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 "" -#: ../../api.rst:579 +#: ../../api.rst:585 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:585 +#: ../../api.rst:591 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:589 +#: ../../api.rst:595 msgid "Profile" msgstr "" -#: ../../api.rst:593 +#: ../../api.rst:599 msgid "A namedtuple representing a user's Discord public profile." msgstr "" -#: ../../api.rst:597 +#: ../../api.rst:603 msgid "The :class:`User` the profile belongs to." msgstr "" -#: ../../api.rst:600 +#: ../../api.rst:606 msgid "A boolean indicating if the user has premium (i.e. Discord Nitro)." msgstr "" -#: ../../api.rst:603 +#: ../../api.rst:609 msgid "An alias for :attr:`premium`." msgstr "" -#: ../../api.rst:606 +#: ../../api.rst:612 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:610 +#: ../../api.rst:616 msgid "A boolean indicating if the user is Discord Staff." msgstr "" -#: ../../api.rst:613 +#: ../../api.rst:619 msgid "A boolean indicating if the user is a Discord Partner." msgstr "" -#: ../../api.rst:616 +#: ../../api.rst:622 msgid "A boolean indicating if the user is in Discord HypeSquad." msgstr "" -#: ../../api.rst:619 +#: ../../api.rst:625 msgid "A list of :class:`HypeSquadHouse` that the user is in." msgstr "" -#: ../../api.rst:622 +#: ../../api.rst:628 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:626 +#: ../../api.rst:632 msgid "A list of dict objects indicating the accounts the user has connected." msgstr "" -#: ../../api.rst:628 +#: ../../api.rst:634 msgid "An example entry can be seen below: ::" msgstr "" -#: ../../api.rst:635 +#: ../../api.rst:641 msgid "Enumerations" msgstr "" -#: ../../api.rst:637 +#: ../../api.rst:643 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:640 +#: ../../api.rst:646 msgid "All enumerations are subclasses of `enum`_." msgstr "" -#: ../../api.rst:646 +#: ../../api.rst:652 msgid "Specifies the type of channel." msgstr "" -#: ../../api.rst:650 +#: ../../api.rst:656 msgid "A text channel." msgstr "" -#: ../../api.rst:653 +#: ../../api.rst:659 msgid "A voice channel." msgstr "" -#: ../../api.rst:656 +#: ../../api.rst:662 msgid "A private text channel. Also called a direct message." msgstr "" -#: ../../api.rst:659 +#: ../../api.rst:665 msgid "A private group text channel." msgstr "" -#: ../../api.rst:663 +#: ../../api.rst:669 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:668 +#: ../../api.rst:674 msgid "The default message type. This is the same as regular messages." msgstr "" -#: ../../api.rst:671 +#: ../../api.rst:677 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:675 +#: ../../api.rst:681 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:679 +#: ../../api.rst:685 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:683 +#: ../../api.rst:689 msgid "The system message denoting that a channel's name has been changed." msgstr "" -#: ../../api.rst:686 +#: ../../api.rst:692 msgid "The system message denoting that a channel's icon has been changed." msgstr "" -#: ../../api.rst:689 +#: ../../api.rst:695 msgid "" "The system message denoting that a pinned message has been added to a " "channel." msgstr "" -#: ../../api.rst:692 +#: ../../api.rst:698 msgid "The system message denoting that a new member has joined a Guild." msgstr "" -#: ../../api.rst:696 +#: ../../api.rst:702 msgid "" "Specifies the type of :class:`Activity`. This is used to check how to " "interpret the activity itself." msgstr "" -#: ../../api.rst:701 +#: ../../api.rst:707 msgid "An unknown activity type. This should generally not happen." msgstr "" -#: ../../api.rst:704 +#: ../../api.rst:710 msgid "A \"Playing\" activity type." msgstr "" -#: ../../api.rst:707 +#: ../../api.rst:713 msgid "A \"Streaming\" activity type." msgstr "" -#: ../../api.rst:710 +#: ../../api.rst:716 msgid "A \"Listening\" activity type." msgstr "" -#: ../../api.rst:713 +#: ../../api.rst:719 msgid "A \"Watching\" activity type." msgstr "" -#: ../../api.rst:717 +#: ../../api.rst:723 msgid "Specifies the HypeSquad house a user belongs to." msgstr "" -#: ../../api.rst:721 +#: ../../api.rst:727 msgid "The \"Bravery\" house." msgstr "" -#: ../../api.rst:724 +#: ../../api.rst:730 msgid "The \"Brilliance\" house." msgstr "" -#: ../../api.rst:727 +#: ../../api.rst:733 msgid "The \"Balance\" house." msgstr "" -#: ../../api.rst:731 +#: ../../api.rst:737 msgid "Specifies the region a voice server belongs to." msgstr "" -#: ../../api.rst:735 +#: ../../api.rst:741 msgid "The Amsterdam region." msgstr "" -#: ../../api.rst:738 +#: ../../api.rst:744 msgid "The Brazil region." msgstr "" -#: ../../api.rst:741 +#: ../../api.rst:747 msgid "The EU Central region." msgstr "" -#: ../../api.rst:744 +#: ../../api.rst:750 msgid "The EU West region." msgstr "" -#: ../../api.rst:747 +#: ../../api.rst:753 msgid "The Frankfurt region." msgstr "" -#: ../../api.rst:750 +#: ../../api.rst:756 msgid "The Hong Kong region." msgstr "" -#: ../../api.rst:753 +#: ../../api.rst:759 msgid "The Japan region." msgstr "" -#: ../../api.rst:756 +#: ../../api.rst:762 msgid "The London region." msgstr "" -#: ../../api.rst:759 +#: ../../api.rst:765 msgid "The Russia region." msgstr "" -#: ../../api.rst:762 +#: ../../api.rst:768 msgid "The Singapore region." msgstr "" -#: ../../api.rst:765 +#: ../../api.rst:771 msgid "The South Africa region." msgstr "" -#: ../../api.rst:768 +#: ../../api.rst:774 msgid "The Sydney region." msgstr "" -#: ../../api.rst:771 +#: ../../api.rst:777 msgid "The US Central region." msgstr "" -#: ../../api.rst:774 +#: ../../api.rst:780 msgid "The US East region." msgstr "" -#: ../../api.rst:777 +#: ../../api.rst:783 msgid "The US South region." msgstr "" -#: ../../api.rst:780 +#: ../../api.rst:786 msgid "The US West region." msgstr "" -#: ../../api.rst:783 +#: ../../api.rst:789 msgid "The Amsterdam region for VIP guilds." msgstr "" -#: ../../api.rst:786 +#: ../../api.rst:792 msgid "The US East region for VIP guilds." msgstr "" -#: ../../api.rst:789 +#: ../../api.rst:795 msgid "The US West region for VIP guilds." msgstr "" -#: ../../api.rst:793 +#: ../../api.rst:799 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:800 +#: ../../api.rst:806 msgid "Checks if two verification levels are equal." msgstr "" -#: ../../api.rst:803 +#: ../../api.rst:809 msgid "Checks if two verification levels are not equal." msgstr "" -#: ../../api.rst:806 +#: ../../api.rst:812 msgid "Checks if a verification level is higher than another." msgstr "" -#: ../../api.rst:809 +#: ../../api.rst:815 msgid "Checks if a verification level is lower than another." msgstr "" -#: ../../api.rst:812 +#: ../../api.rst:818 msgid "Checks if a verification level is higher or equal to another." msgstr "" -#: ../../api.rst:815 +#: ../../api.rst:821 msgid "Checks if a verification level is lower or equal to another." msgstr "" -#: ../../api.rst:819 +#: ../../api.rst:825 msgid "No criteria set." msgstr "" -#: ../../api.rst:822 +#: ../../api.rst:828 msgid "Member must have a verified email on their Discord account." msgstr "" -#: ../../api.rst:825 +#: ../../api.rst:831 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:829 +#: ../../api.rst:835 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:834 +#: ../../api.rst:840 msgid "An alias for :attr:`high`." msgstr "" -#: ../../api.rst:837 +#: ../../api.rst:843 msgid "Member must have a verified phone on their Discord account." msgstr "" -#: ../../api.rst:841 +#: ../../api.rst:847 msgid "An alias for :attr:`extreme`." msgstr "" -#: ../../api.rst:845 +#: ../../api.rst:851 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 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:853 +#: ../../api.rst:859 msgid "Checks if two content filter levels are equal." msgstr "" -#: ../../api.rst:856 +#: ../../api.rst:862 msgid "Checks if two content filter levels are not equal." msgstr "" -#: ../../api.rst:859 +#: ../../api.rst:865 msgid "Checks if a content filter level is higher than another." msgstr "" -#: ../../api.rst:862 +#: ../../api.rst:868 msgid "Checks if a content filter level is lower than another." msgstr "" -#: ../../api.rst:865 +#: ../../api.rst:871 msgid "Checks if a content filter level is higher or equal to another." msgstr "" -#: ../../api.rst:868 +#: ../../api.rst:874 msgid "Checks if a content filter level is lower or equal to another." msgstr "" -#: ../../api.rst:872 +#: ../../api.rst:878 msgid "The guild does not have the content filter enabled." msgstr "" -#: ../../api.rst:875 +#: ../../api.rst:881 msgid "The guild has the content filter enabled for members without a role." msgstr "" -#: ../../api.rst:878 +#: ../../api.rst:884 msgid "The guild has the content filter enabled for every member." msgstr "" -#: ../../api.rst:882 +#: ../../api.rst:888 msgid "Specifies a :class:`Member` 's status." msgstr "" -#: ../../api.rst:886 +#: ../../api.rst:892 msgid "The member is online." msgstr "" -#: ../../api.rst:889 +#: ../../api.rst:895 msgid "The member is offline." msgstr "" -#: ../../api.rst:892 +#: ../../api.rst:898 msgid "The member is idle." msgstr "" -#: ../../api.rst:895 +#: ../../api.rst:901 msgid "The member is \"Do Not Disturb\"." msgstr "" -#: ../../api.rst:898 +#: ../../api.rst:904 msgid "An alias for :attr:`dnd`." msgstr "" -#: ../../api.rst:901 +#: ../../api.rst:907 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:907 +#: ../../api.rst:913 msgid "Specifies the type of :class:`Relationship`" msgstr "" -#: ../../api.rst:911 +#: ../../api.rst:917 msgid "You are friends with this user." msgstr "" -#: ../../api.rst:914 +#: ../../api.rst:920 msgid "You have blocked this user." msgstr "" -#: ../../api.rst:917 +#: ../../api.rst:923 msgid "The user has sent you a friend request." msgstr "" -#: ../../api.rst:920 +#: ../../api.rst:926 msgid "You have sent a friend request to this user." msgstr "" -#: ../../api.rst:925 +#: ../../api.rst:931 msgid "" "Represents the type of action being done for a :class:`AuditLogEntry`\\, " "which is retrievable via :meth:`Guild.audit_logs`." msgstr "" -#: ../../api.rst:930 +#: ../../api.rst:936 msgid "The guild has updated. Things that trigger this include:" msgstr "" -#: ../../api.rst:932 +#: ../../api.rst:938 msgid "Changing the guild vanity URL" msgstr "" -#: ../../api.rst:933 +#: ../../api.rst:939 msgid "Changing the guild invite splash" msgstr "" -#: ../../api.rst:934 +#: ../../api.rst:940 msgid "Changing the guild AFK channel or timeout" msgstr "" -#: ../../api.rst:935 +#: ../../api.rst:941 msgid "Changing the guild voice server region" msgstr "" -#: ../../api.rst:936 +#: ../../api.rst:942 msgid "Changing the guild icon" msgstr "" -#: ../../api.rst:937 +#: ../../api.rst:943 msgid "Changing the guild moderation settings" msgstr "" -#: ../../api.rst:938 +#: ../../api.rst:944 msgid "Changing things related to the guild widget" msgstr "" -#: ../../api.rst:940 +#: ../../api.rst:946 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:943 ../../api.rst:966 ../../api.rst:985 ../../api.rst:1004 -#: ../../api.rst:1023 ../../api.rst:1039 ../../api.rst:1054 ../../api.rst:1113 -#: ../../api.rst:1127 ../../api.rst:1138 ../../api.rst:1158 ../../api.rst:1173 -#: ../../api.rst:1188 ../../api.rst:1212 ../../api.rst:1229 ../../api.rst:1245 -#: ../../api.rst:1257 ../../api.rst:1270 ../../api.rst:1281 ../../api.rst:1292 +#: ../../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 msgid "Possible attributes for :class:`AuditLogDiff`:" msgstr "" -#: ../../api.rst:945 +#: ../../api.rst:951 msgid ":attr:`~AuditLogDiff.afk_channel`" msgstr "" -#: ../../api.rst:946 +#: ../../api.rst:952 msgid ":attr:`~AuditLogDiff.system_channel`" msgstr "" -#: ../../api.rst:947 +#: ../../api.rst:953 msgid ":attr:`~AuditLogDiff.afk_timeout`" msgstr "" -#: ../../api.rst:948 +#: ../../api.rst:954 msgid ":attr:`~AuditLogDiff.default_message_notifications`" msgstr "" -#: ../../api.rst:949 +#: ../../api.rst:955 msgid ":attr:`~AuditLogDiff.explicit_content_filter`" msgstr "" -#: ../../api.rst:950 +#: ../../api.rst:956 msgid ":attr:`~AuditLogDiff.mfa_level`" msgstr "" -#: ../../api.rst:951 ../../api.rst:968 ../../api.rst:987 ../../api.rst:1006 -#: ../../api.rst:1143 ../../api.rst:1163 ../../api.rst:1178 ../../api.rst:1232 -#: ../../api.rst:1248 ../../api.rst:1260 ../../api.rst:1272 ../../api.rst:1283 -#: ../../api.rst:1294 +#: ../../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 msgid ":attr:`~AuditLogDiff.name`" msgstr "" -#: ../../api.rst:952 +#: ../../api.rst:958 msgid ":attr:`~AuditLogDiff.owner`" msgstr "" -#: ../../api.rst:953 +#: ../../api.rst:959 msgid ":attr:`~AuditLogDiff.splash`" msgstr "" -#: ../../api.rst:954 +#: ../../api.rst:960 msgid ":attr:`~AuditLogDiff.vanity_url_code`" msgstr "" -#: ../../api.rst:958 +#: ../../api.rst:964 msgid "A new channel was created." msgstr "" -#: ../../api.rst:960 +#: ../../api.rst:966 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:963 +#: ../../api.rst:969 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:969 ../../api.rst:988 ../../api.rst:1007 ../../api.rst:1028 -#: ../../api.rst:1044 ../../api.rst:1059 +#: ../../api.rst:975 ../../api.rst:994 ../../api.rst:1013 ../../api.rst:1034 +#: ../../api.rst:1050 ../../api.rst:1065 msgid ":attr:`~AuditLogDiff.type`" msgstr "" -#: ../../api.rst:970 ../../api.rst:990 ../../api.rst:1008 +#: ../../api.rst:976 ../../api.rst:996 ../../api.rst:1014 msgid ":attr:`~AuditLogDiff.overwrites`" msgstr "" -#: ../../api.rst:974 +#: ../../api.rst:980 msgid "A channel was updated. Things that trigger this include:" msgstr "" -#: ../../api.rst:976 +#: ../../api.rst:982 msgid "The channel name or topic was changed" msgstr "" -#: ../../api.rst:977 +#: ../../api.rst:983 msgid "The channel bitrate was changed" msgstr "" -#: ../../api.rst:979 ../../api.rst:1014 +#: ../../api.rst:985 ../../api.rst:1020 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:982 +#: ../../api.rst:988 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:989 +#: ../../api.rst:995 msgid ":attr:`~AuditLogDiff.position`" msgstr "" -#: ../../api.rst:991 +#: ../../api.rst:997 msgid ":attr:`~AuditLogDiff.topic`" msgstr "" -#: ../../api.rst:992 +#: ../../api.rst:998 msgid ":attr:`~AuditLogDiff.bitrate`" msgstr "" -#: ../../api.rst:996 +#: ../../api.rst:1002 msgid "A channel was deleted." msgstr "" -#: ../../api.rst:998 +#: ../../api.rst:1004 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is an " ":class:`Object` with an ID." msgstr "" -#: ../../api.rst:1001 +#: ../../api.rst:1007 msgid "" "A more filled out object can be found by using the " ":attr:`~AuditLogEntry.before` object." msgstr "" -#: ../../api.rst:1012 +#: ../../api.rst:1018 msgid "A channel permission overwrite was created." msgstr "" -#: ../../api.rst:1017 +#: ../../api.rst:1023 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:1025 ../../api.rst:1041 ../../api.rst:1056 +#: ../../api.rst:1031 ../../api.rst:1047 ../../api.rst:1062 msgid ":attr:`~AuditLogDiff.deny`" msgstr "" -#: ../../api.rst:1026 ../../api.rst:1042 ../../api.rst:1057 +#: ../../api.rst:1032 ../../api.rst:1048 ../../api.rst:1063 msgid ":attr:`~AuditLogDiff.allow`" msgstr "" -#: ../../api.rst:1027 ../../api.rst:1043 ../../api.rst:1058 +#: ../../api.rst:1033 ../../api.rst:1049 ../../api.rst:1064 msgid ":attr:`~AuditLogDiff.id`" msgstr "" -#: ../../api.rst:1032 +#: ../../api.rst:1038 msgid "" "A channel permission overwrite was changed, this is typically when the " "permission values change." msgstr "" -#: ../../api.rst:1035 ../../api.rst:1050 +#: ../../api.rst:1041 ../../api.rst:1056 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:1048 +#: ../../api.rst:1054 msgid "A channel permission overwrite was deleted." msgstr "" -#: ../../api.rst:1063 +#: ../../api.rst:1069 msgid "A member was kicked." msgstr "" -#: ../../api.rst:1065 +#: ../../api.rst:1071 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:1068 ../../api.rst:1083 ../../api.rst:1092 ../../api.rst:1101 +#: ../../api.rst:1074 ../../api.rst:1089 ../../api.rst:1098 ../../api.rst:1107 msgid "When this is the action, :attr:`~AuditLogEntry.changes` is empty." msgstr "" -#: ../../api.rst:1072 +#: ../../api.rst:1078 msgid "A member prune was triggered." msgstr "" -#: ../../api.rst:1074 +#: ../../api.rst:1080 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:1077 ../../api.rst:1305 +#: ../../api.rst:1083 ../../api.rst:1311 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:1080 +#: ../../api.rst:1086 msgid "``delete_members_days``: An integer specifying how far the prune was." msgstr "" -#: ../../api.rst:1081 -msgid "" -"``members_removed``: An integer specifying how many members were removed." +#: ../../api.rst:1087 +msgid "``members_removed``: An integer specifying how many members were removed." msgstr "" -#: ../../api.rst:1087 +#: ../../api.rst:1093 msgid "A member was banned." msgstr "" -#: ../../api.rst:1089 +#: ../../api.rst:1095 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:1096 +#: ../../api.rst:1102 msgid "A member was unbanned." msgstr "" -#: ../../api.rst:1098 +#: ../../api.rst:1104 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:1105 +#: ../../api.rst:1111 msgid "A member has updated. This triggers in the following situations:" msgstr "" -#: ../../api.rst:1107 +#: ../../api.rst:1113 msgid "A nickname was changed" msgstr "" -#: ../../api.rst:1108 +#: ../../api.rst:1114 msgid "They were server muted or deafened (or it was undo'd)" msgstr "" -#: ../../api.rst:1110 +#: ../../api.rst:1116 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:1115 +#: ../../api.rst:1121 msgid ":attr:`~AuditLogDiff.nick`" msgstr "" -#: ../../api.rst:1116 +#: ../../api.rst:1122 msgid ":attr:`~AuditLogDiff.mute`" msgstr "" -#: ../../api.rst:1117 +#: ../../api.rst:1123 msgid ":attr:`~AuditLogDiff.deaf`" msgstr "" -#: ../../api.rst:1121 +#: ../../api.rst:1127 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:1124 +#: ../../api.rst:1130 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:1129 +#: ../../api.rst:1135 msgid ":attr:`~AuditLogDiff.roles`" msgstr "" -#: ../../api.rst:1133 +#: ../../api.rst:1139 msgid "A new role was created." msgstr "" -#: ../../api.rst:1135 ../../api.rst:1155 ../../api.rst:1170 +#: ../../api.rst:1141 ../../api.rst:1161 ../../api.rst:1176 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:1140 ../../api.rst:1160 ../../api.rst:1175 +#: ../../api.rst:1146 ../../api.rst:1166 ../../api.rst:1181 msgid ":attr:`~AuditLogDiff.colour`" msgstr "" -#: ../../api.rst:1141 ../../api.rst:1161 ../../api.rst:1176 +#: ../../api.rst:1147 ../../api.rst:1167 ../../api.rst:1182 msgid ":attr:`~AuditLogDiff.mentionable`" msgstr "" -#: ../../api.rst:1142 ../../api.rst:1162 ../../api.rst:1177 +#: ../../api.rst:1148 ../../api.rst:1168 ../../api.rst:1183 msgid ":attr:`~AuditLogDiff.hoist`" msgstr "" -#: ../../api.rst:1144 ../../api.rst:1164 ../../api.rst:1179 +#: ../../api.rst:1150 ../../api.rst:1170 ../../api.rst:1185 msgid ":attr:`~AuditLogDiff.permissions`" msgstr "" -#: ../../api.rst:1148 +#: ../../api.rst:1154 msgid "A role was updated. This triggers in the following situations:" msgstr "" -#: ../../api.rst:1150 +#: ../../api.rst:1156 msgid "The name has changed" msgstr "" -#: ../../api.rst:1151 +#: ../../api.rst:1157 msgid "The permissions have changed" msgstr "" -#: ../../api.rst:1152 +#: ../../api.rst:1158 msgid "The colour has changed" msgstr "" -#: ../../api.rst:1153 +#: ../../api.rst:1159 msgid "Its hoist/mentionable state has changed" msgstr "" -#: ../../api.rst:1168 +#: ../../api.rst:1174 msgid "A role was deleted." msgstr "" -#: ../../api.rst:1183 +#: ../../api.rst:1189 msgid "An invite was created." msgstr "" -#: ../../api.rst:1185 +#: ../../api.rst:1191 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:1190 ../../api.rst:1214 +#: ../../api.rst:1196 ../../api.rst:1220 msgid ":attr:`~AuditLogDiff.max_age`" msgstr "" -#: ../../api.rst:1191 ../../api.rst:1215 +#: ../../api.rst:1197 ../../api.rst:1221 msgid ":attr:`~AuditLogDiff.code`" msgstr "" -#: ../../api.rst:1192 ../../api.rst:1216 +#: ../../api.rst:1198 ../../api.rst:1222 msgid ":attr:`~AuditLogDiff.temporary`" msgstr "" -#: ../../api.rst:1193 ../../api.rst:1217 +#: ../../api.rst:1199 ../../api.rst:1223 msgid ":attr:`~AuditLogDiff.inviter`" msgstr "" -#: ../../api.rst:1194 ../../api.rst:1218 ../../api.rst:1231 ../../api.rst:1247 -#: ../../api.rst:1259 +#: ../../api.rst:1200 ../../api.rst:1224 ../../api.rst:1237 ../../api.rst:1253 +#: ../../api.rst:1265 msgid ":attr:`~AuditLogDiff.channel`" msgstr "" -#: ../../api.rst:1195 ../../api.rst:1219 +#: ../../api.rst:1201 ../../api.rst:1225 msgid ":attr:`~AuditLogDiff.uses`" msgstr "" -#: ../../api.rst:1196 ../../api.rst:1220 +#: ../../api.rst:1202 ../../api.rst:1226 msgid ":attr:`~AuditLogDiff.max_uses`" msgstr "" -#: ../../api.rst:1200 +#: ../../api.rst:1206 msgid "An invite was updated." msgstr "" -#: ../../api.rst:1202 +#: ../../api.rst:1208 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:1207 +#: ../../api.rst:1213 msgid "An invite was deleted." msgstr "" -#: ../../api.rst:1209 +#: ../../api.rst:1215 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:1224 +#: ../../api.rst:1230 msgid "A webhook was created." msgstr "" -#: ../../api.rst:1226 ../../api.rst:1242 ../../api.rst:1254 +#: ../../api.rst:1232 ../../api.rst:1248 ../../api.rst:1260 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:1233 ../../api.rst:1261 +#: ../../api.rst:1239 ../../api.rst:1267 msgid ":attr:`~AuditLogDiff.type` (always set to ``1`` if so)" msgstr "" -#: ../../api.rst:1237 +#: ../../api.rst:1243 msgid "A webhook was updated. This trigger in the following situations:" msgstr "" -#: ../../api.rst:1239 +#: ../../api.rst:1245 msgid "The webhook name changed" msgstr "" -#: ../../api.rst:1240 +#: ../../api.rst:1246 msgid "The webhook channel changed" msgstr "" -#: ../../api.rst:1252 +#: ../../api.rst:1258 msgid "A webhook was deleted." msgstr "" -#: ../../api.rst:1265 +#: ../../api.rst:1271 msgid "An emoji was created." msgstr "" -#: ../../api.rst:1267 ../../api.rst:1278 +#: ../../api.rst:1273 ../../api.rst:1284 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:1276 +#: ../../api.rst:1282 msgid "An emoji was updated. This triggers when the name has changed." msgstr "" -#: ../../api.rst:1287 +#: ../../api.rst:1293 msgid "An emoji was deleted." msgstr "" -#: ../../api.rst:1289 +#: ../../api.rst:1295 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:1298 +#: ../../api.rst:1304 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:1302 +#: ../../api.rst:1308 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:1308 +#: ../../api.rst:1314 msgid "``count``: An integer specifying how many messages were deleted." msgstr "" -#: ../../api.rst:1309 +#: ../../api.rst:1315 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:1314 +#: ../../api.rst:1320 msgid "Represents the category that the :class:`AuditLogAction` belongs to." msgstr "" -#: ../../api.rst:1316 +#: ../../api.rst:1322 msgid "This can be retrieved via :attr:`AuditLogEntry.category`." msgstr "" -#: ../../api.rst:1320 +#: ../../api.rst:1326 msgid "The action is the creation of something." msgstr "" -#: ../../api.rst:1324 +#: ../../api.rst:1330 msgid "The action is the deletion of something." msgstr "" -#: ../../api.rst:1328 +#: ../../api.rst:1334 msgid "The action is the update of something." msgstr "" -#: ../../api.rst:1333 +#: ../../api.rst:1339 msgid "Async Iterator" msgstr "" -#: ../../api.rst:1335 +#: ../../api.rst:1341 msgid "" "Some API functions return an \"async iterator\". An async iterator is " "something that is capable of being used in an `async for " @@ -3314,115 +3327,115 @@ msgid "" "statement>`_ statement." msgstr "" -#: ../../api.rst:1339 +#: ../../api.rst:1345 msgid "These async iterators can be used as follows: ::" msgstr "" -#: ../../api.rst:1344 +#: ../../api.rst:1350 msgid "" -"Certain utilities make working with async iterators easier, detailed below." +"Certain utilities make working with async iterators easier, detailed " +"below." msgstr "" -#: ../../api.rst:1348 +#: ../../api.rst:1354 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:1355 +#: ../../api.rst:1361 msgid "" "Iterates over the contents of the async iterator. Note that this is only " "available in Python 3.5 or higher." msgstr "" -#: ../../api.rst:1363 +#: ../../api.rst:1369 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:1370 +#: ../../api.rst:1376 msgid "Similar to :func:`utils.get` except run over the async iterator." msgstr "" -#: ../../api.rst:1372 +#: ../../api.rst:1378 msgid "Getting the last message by a user named 'Dave' or ``None``: ::" msgstr "" -#: ../../api.rst:1380 +#: ../../api.rst:1386 msgid "Similar to :func:`utils.find` except run over the async iterator." msgstr "" -#: ../../api.rst:1382 +#: ../../api.rst:1388 msgid "Unlike :func:`utils.find`\\, the predicate provided can be a coroutine." msgstr "" -#: ../../api.rst:1385 +#: ../../api.rst:1391 msgid "Getting the last audit log with a reason or ``None``: ::" msgstr "" -#: ../../api.rst:1392 +#: ../../api.rst:1398 msgid "The predicate to use. Can be a coroutine." msgstr "" -#: ../../api.rst:1393 +#: ../../api.rst:1399 msgid "The first element that returns ``True`` for the predicate or ``None``." msgstr "" -#: ../../api.rst:1399 -msgid "" -"Flattens the async iterator into a :class:`list` with all the elements." +#: ../../api.rst:1405 +msgid "Flattens the async iterator into a :class:`list` with all the elements." msgstr "" -#: ../../api.rst:1401 +#: ../../api.rst:1407 msgid "A list of every element in the async iterator." msgstr "" -#: ../../api.rst:1406 +#: ../../api.rst:1412 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:1411 +#: ../../api.rst:1417 msgid "Creating a content iterator: ::" msgstr "" -#: ../../api.rst:1419 +#: ../../api.rst:1425 msgid "The function to call on every element. Could be a coroutine." msgstr "" -#: ../../api.rst:1420 ../../api.rst:1437 +#: ../../api.rst:1426 ../../api.rst:1443 msgid "An async iterator." msgstr "" -#: ../../api.rst:1424 +#: ../../api.rst:1430 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:1428 +#: ../../api.rst:1434 msgid "Getting messages by non-bot accounts: ::" msgstr "" -#: ../../api.rst:1436 +#: ../../api.rst:1442 msgid "The predicate to call on every element. Could be a coroutine." msgstr "" -#: ../../api.rst:1441 +#: ../../api.rst:1447 msgid "Audit Log Data" msgstr "" -#: ../../api.rst:1443 +#: ../../api.rst:1449 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 @@ -3449,8 +3462,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 @@ -3461,8 +3474,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 @@ -3471,8 +3484,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 @@ -3487,406 +3500,405 @@ msgstr "" msgid ":class:`AuditLogDiff` -- The target's subsequent state." msgstr "" -#: ../../api.rst:1452 +#: ../../api.rst:1458 msgid "An audit log change set." msgstr "" -#: ../../api.rst:1456 +#: ../../api.rst:1462 msgid "The old value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1458 ../../api.rst:1478 +#: ../../api.rst:1464 ../../api.rst:1484 msgid "" "Depending on the :class:`AuditLogActionCategory` retrieved by " ":attr:`~AuditLogEntry.category`\\, the data retrieved by this attribute " "differs:" msgstr "" -#: ../../api.rst:1463 ../../api.rst:1483 +#: ../../api.rst:1469 ../../api.rst:1489 msgid "Category" msgstr "" -#: ../../api.rst:1463 ../../api.rst:1483 discord.PermissionOverwrite:15 of +#: ../../api.rst:1469 ../../api.rst:1489 discord.PermissionOverwrite:15 of msgid "Description" msgstr "" -#: ../../api.rst:1465 ../../api.rst:1485 +#: ../../api.rst:1471 ../../api.rst:1491 msgid ":attr:`~AuditLogActionCategory.create`" msgstr "" -#: ../../api.rst:1465 +#: ../../api.rst:1471 msgid "All attributes are set to ``None``." msgstr "" -#: ../../api.rst:1467 ../../api.rst:1487 +#: ../../api.rst:1473 ../../api.rst:1493 msgid ":attr:`~AuditLogActionCategory.delete`" msgstr "" -#: ../../api.rst:1467 +#: ../../api.rst:1473 msgid "All attributes are set the value before deletion." msgstr "" -#: ../../api.rst:1469 ../../api.rst:1489 +#: ../../api.rst:1475 ../../api.rst:1495 msgid ":attr:`~AuditLogActionCategory.update`" msgstr "" -#: ../../api.rst:1469 +#: ../../api.rst:1475 msgid "All attributes are set the value before updating." msgstr "" -#: ../../api.rst:1471 ../../api.rst:1491 +#: ../../api.rst:1477 ../../api.rst:1497 msgid "``None``" msgstr "" -#: ../../api.rst:1471 ../../api.rst:1491 +#: ../../api.rst:1477 ../../api.rst:1497 msgid "No attributes are set." msgstr "" -#: ../../api.rst:1476 +#: ../../api.rst:1482 msgid "The new value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1485 +#: ../../api.rst:1491 msgid "All attributes are set to the created value" msgstr "" -#: ../../api.rst:1487 +#: ../../api.rst:1493 msgid "All attributes are set to ``None``" msgstr "" -#: ../../api.rst:1489 +#: ../../api.rst:1495 msgid "All attributes are set the value after updating." msgstr "" -#: ../../api.rst:1496 +#: ../../api.rst:1502 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:1500 +#: ../../api.rst:1506 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:1503 +#: ../../api.rst:1509 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:1510 +#: ../../api.rst:1516 msgid "Return an iterator over (attribute, value) tuple of this diff." msgstr "" -#: ../../api.rst:1514 +#: ../../api.rst:1520 msgid ":class:`str` – A name of something." msgstr "" -#: ../../api.rst:1518 +#: ../../api.rst:1524 msgid ":class:`str` – A guild's icon hash. See also :attr:`Guild.icon`." msgstr "" -#: ../../api.rst:1522 +#: ../../api.rst:1528 msgid "" ":class:`str` – The guild's invite splash hash. See also " ":attr:`Guild.splash`." msgstr "" -#: ../../api.rst:1526 +#: ../../api.rst:1532 msgid "" "Union[:class:`Member`, :class:`User`] – The guild's owner. See also " ":attr:`Guild.owner`" msgstr "" -#: ../../api.rst:1530 +#: ../../api.rst:1536 msgid "" ":class:`GuildRegion` – The guild's voice region. See also " ":attr:`Guild.region`." msgstr "" -#: ../../api.rst:1534 -msgid "" -"Union[:class:`VoiceChannel`, :class:`Object`] – The guild's AFK channel." +#: ../../api.rst:1540 +msgid "Union[:class:`VoiceChannel`, :class:`Object`] – The guild's AFK channel." msgstr "" -#: ../../api.rst:1536 ../../api.rst:1545 +#: ../../api.rst:1542 ../../api.rst:1551 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:1539 +#: ../../api.rst:1545 msgid "See :attr:`Guild.afk_channel`." msgstr "" -#: ../../api.rst:1543 -msgid "" -"Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel." +#: ../../api.rst:1549 +msgid "Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel." msgstr "" -#: ../../api.rst:1548 +#: ../../api.rst:1554 msgid "See :attr:`Guild.system_channel`." msgstr "" -#: ../../api.rst:1552 +#: ../../api.rst:1558 msgid ":class:`int` – The guild's AFK timeout. See :attr:`Guild.afk_timeout`." msgstr "" -#: ../../api.rst:1556 +#: ../../api.rst:1562 msgid ":class:`int` - The guild's MFA level. See :attr:`Guild.mfa_level`." msgstr "" -#: ../../api.rst:1560 +#: ../../api.rst:1566 msgid ":class:`bool` – The guild's widget has been enabled or disabled." msgstr "" -#: ../../api.rst:1564 +#: ../../api.rst:1570 msgid "Union[:class:`TextChannel`, :class:`Object`] – The widget's channel." msgstr "" -#: ../../api.rst:1566 +#: ../../api.rst:1572 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:1571 +#: ../../api.rst:1577 msgid ":class:`VerificationLevel` – The guild's verification level." msgstr "" -#: ../../api.rst:1573 +#: ../../api.rst:1579 msgid "See also :attr:`Guild.verification_level`." msgstr "" -#: ../../api.rst:1577 +#: ../../api.rst:1583 msgid ":class:`ContentFilter` – The guild's content filter." msgstr "" -#: ../../api.rst:1579 +#: ../../api.rst:1585 msgid "See also :attr:`Guild.explicit_content_filter`." msgstr "" -#: ../../api.rst:1583 +#: ../../api.rst:1589 msgid ":class:`int` – The guild's default message notification setting." msgstr "" -#: ../../api.rst:1587 +#: ../../api.rst:1593 msgid ":class:`str` – The guild's vanity URL." msgstr "" -#: ../../api.rst:1589 +#: ../../api.rst:1595 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:1593 +#: ../../api.rst:1599 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:1597 -msgid "" -"*Union[int, str]* – The type of channel or channel permission overwrite." +#: ../../api.rst:1603 +msgid "*Union[int, str]* – The type of channel or channel permission overwrite." msgstr "" -#: ../../api.rst:1599 +#: ../../api.rst:1605 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:1602 +#: ../../api.rst:1608 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:1607 +#: ../../api.rst:1613 msgid ":class:`str` – The topic of a :class:`TextChannel`." msgstr ":class:`str` – :class:`TextChannel` のトピック。" -#: ../../api.rst:1609 +#: ../../api.rst:1615 msgid "See also :attr:`TextChannel.topic`." msgstr "" -#: ../../api.rst:1613 +#: ../../api.rst:1619 msgid ":class:`int` – The bitrate of a :class:`VoiceChannel`." msgstr "" -#: ../../api.rst:1615 +#: ../../api.rst:1621 msgid "See also :attr:`VoiceChannel.bitrate`." msgstr "" -#: ../../api.rst:1619 +#: ../../api.rst:1625 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:1623 +#: ../../api.rst:1629 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:1631 +#: ../../api.rst:1637 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:1634 +#: ../../api.rst:1640 msgid "" "If a role is not found then it is a :class:`Object` with the ID and name " "being filled in." msgstr "" -#: ../../api.rst:1639 +#: ../../api.rst:1645 msgid "*Optional[str]* – The nickname of a member." msgstr "" -#: ../../api.rst:1641 +#: ../../api.rst:1647 msgid "See also :attr:`Member.nick`" msgstr "" -#: ../../api.rst:1645 +#: ../../api.rst:1651 msgid ":class:`bool` – Whether the member is being server deafened." msgstr "" -#: ../../api.rst:1647 +#: ../../api.rst:1653 msgid "See also :attr:`VoiceState.deaf`." msgstr "" -#: ../../api.rst:1651 +#: ../../api.rst:1657 msgid ":class:`bool` – Whether the member is being server muted." msgstr "" -#: ../../api.rst:1653 +#: ../../api.rst:1659 msgid "See also :attr:`VoiceState.mute`." msgstr "" -#: ../../api.rst:1657 +#: ../../api.rst:1663 msgid ":class:`Permissions` – The permissions of a role." msgstr ":class:`Permissions` – 役割の権限。" -#: ../../api.rst:1659 +#: ../../api.rst:1665 msgid "See also :attr:`Role.permissions`." msgstr "" -#: ../../api.rst:1664 +#: ../../api.rst:1670 msgid ":class:`Colour` – The colour of a role." msgstr ":class:`Colour` – 役割の色。" -#: ../../api.rst:1666 +#: ../../api.rst:1672 msgid "See also :attr:`Role.colour`" msgstr "" -#: ../../api.rst:1670 +#: ../../api.rst:1676 msgid ":class:`bool` – Whether the role is being hoisted or not." msgstr "" -#: ../../api.rst:1672 +#: ../../api.rst:1678 msgid "See also :attr:`Role.hoist`" msgstr "" -#: ../../api.rst:1676 +#: ../../api.rst:1682 msgid ":class:`bool` – Whether the role is mentionable or not." msgstr "" -#: ../../api.rst:1678 +#: ../../api.rst:1684 msgid "See also :attr:`Role.mentionable`" msgstr "" -#: ../../api.rst:1682 +#: ../../api.rst:1688 msgid ":class:`str` – The invite's code." msgstr "" -#: ../../api.rst:1684 +#: ../../api.rst:1690 msgid "See also :attr:`Invite.code`" msgstr "" -#: ../../api.rst:1688 +#: ../../api.rst:1694 msgid "Union[:class:`abc.GuildChannel`, :class:`Object`] – A guild channel." msgstr "" -#: ../../api.rst:1690 +#: ../../api.rst:1696 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:1695 +#: ../../api.rst:1701 msgid ":class:`User` – The user who created the invite." msgstr ":class:`User` – 招待を作成したユーザー。" -#: ../../api.rst:1697 +#: ../../api.rst:1703 msgid "See also :attr:`Invite.inviter`." msgstr "" -#: ../../api.rst:1701 +#: ../../api.rst:1707 msgid ":class:`int` – The invite's max uses." msgstr ":class:`int` – 招待の最大使用可能回数。" -#: ../../api.rst:1703 +#: ../../api.rst:1709 msgid "See also :attr:`Invite.max_uses`." msgstr "" -#: ../../api.rst:1707 +#: ../../api.rst:1713 msgid ":class:`int` – The invite's current uses." msgstr ":class:`int` – 招待の現在までの使用回数。" -#: ../../api.rst:1709 +#: ../../api.rst:1715 msgid "See also :attr:`Invite.uses`." msgstr "" -#: ../../api.rst:1713 +#: ../../api.rst:1719 msgid ":class:`int` – The invite's max age in seconds." msgstr "" -#: ../../api.rst:1715 +#: ../../api.rst:1721 msgid "See also :attr:`Invite.max_age`." msgstr "" -#: ../../api.rst:1719 +#: ../../api.rst:1725 msgid ":class:`bool` – If the invite is a temporary invite." msgstr "" -#: ../../api.rst:1721 +#: ../../api.rst:1727 msgid "See also :attr:`Invite.temporary`." msgstr "" -#: ../../api.rst:1726 +#: ../../api.rst:1732 msgid ":class:`Permissions` – The permissions being allowed or denied." msgstr "" -#: ../../api.rst:1730 +#: ../../api.rst:1736 msgid ":class:`int` – The ID of the object being changed." msgstr "" -#: ../../api.rst:1734 +#: ../../api.rst:1740 msgid ":class:`str` – The avatar hash of a member." msgstr "" -#: ../../api.rst:1736 +#: ../../api.rst:1742 msgid "See also :attr:`User.avatar`." msgstr "" -#: ../../api.rst:1742 +#: ../../api.rst:1748 msgid "Webhook Support" msgstr "" -#: ../../api.rst:1744 +#: ../../api.rst:1750 msgid "" "discord.py offers support for creating, editing, and executing webhooks " "through the :class:`Webhook` class." @@ -3898,8 +3910,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 @@ -3907,18 +3919,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 @@ -3947,8 +3960,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 @@ -4008,7 +4022,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 @@ -4021,8 +4036,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 @@ -4033,14 +4048,14 @@ 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 @@ -4057,8 +4072,8 @@ msgstr "" #: discord.Guild.icon_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 @@ -4071,8 +4086,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 @@ -4084,8 +4099,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 @@ -4122,15 +4136,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 "" @@ -4142,21 +4156,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 @@ -4173,8 +4187,8 @@ msgstr "" #: discord.Webhook.send:32 of msgid "" -"The rich embed for the content to send. This cannot be mixed with ``embeds``" -" parameter." +"The rich embed for the content to send. This cannot be mixed with " +"``embeds`` parameter." msgstr "" #: discord.Webhook.send:35 of @@ -4194,14 +4208,13 @@ 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." +msgid ":exc:`Forbidden` -- The authorization token for the webhook is incorrect." msgstr "" #: discord.Webhook.send:42 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 @@ -4218,11 +4231,11 @@ msgstr "" msgid "An alias for :meth:`~.Webhook.send`." msgstr "" -#: ../../api.rst:1750 +#: ../../api.rst:1756 msgid "Adapters" msgstr "" -#: ../../api.rst:1752 +#: ../../api.rst:1758 msgid "" "Adapters allow you to change how the request should be handled. They all " "build on a single interface, :meth:`WebhookAdapter.request`." @@ -4237,23 +4250,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 @@ -4261,8 +4271,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 @@ -4274,8 +4285,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 @@ -4321,36 +4331,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:1767 +#: ../../api.rst:1773 msgid "Abstract Base Classes" msgstr "" -#: ../../api.rst:1769 +#: ../../api.rst:1775 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:1774 +#: ../../api.rst:1780 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 @@ -4376,8 +4386,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 "" @@ -4422,8 +4431,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 @@ -4502,8 +4510,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 @@ -4527,8 +4534,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 @@ -4546,7 +4553,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 @@ -4555,43 +4563,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 "" @@ -4611,8 +4613,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 @@ -4629,16 +4630,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 @@ -4653,8 +4654,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 @@ -4691,7 +4692,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 @@ -4723,8 +4725,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 @@ -4740,8 +4741,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 @@ -4757,16 +4757,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 " @@ -4774,14 +4773,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 @@ -4789,8 +4787,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 @@ -4799,7 +4797,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 @@ -4875,7 +4874,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 @@ -4883,13 +4883,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 @@ -4900,16 +4901,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 "" #: 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 "" #: discord.DMChannel.history:5 discord.GroupChannel.history:5 @@ -4923,34 +4924,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 @@ -4958,9 +4959,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 @@ -5008,8 +5009,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 @@ -5022,8 +5023,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 @@ -5108,26 +5109,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 @@ -5146,17 +5147,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 @@ -5171,8 +5172,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 @@ -5191,53 +5192,54 @@ 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:1804 +#: ../../api.rst:1810 msgid "Discord Models" msgstr "" -#: ../../api.rst:1806 +#: ../../api.rst:1812 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 "" -#: ../../api.rst:1811 +#: ../../api.rst:1817 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:1814 +#: ../../api.rst:1820 msgid "" "For example, this means that you should not make your own :class:`User` " "instances nor should you modify the :class:`User` instance yourself." msgstr "" -#: ../../api.rst:1817 +#: ../../api.rst:1823 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 "" -#: ../../api.rst:1824 ../../api.rst:2050 +#: ../../api.rst:1830 ../../api.rst:2056 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 "" -#: ../../api.rst:1827 ../../api.rst:2056 +#: ../../api.rst:1833 ../../api.rst:2062 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 "" -#: ../../api.rst:1832 +#: ../../api.rst:1838 msgid "ClientUser" msgstr "" @@ -5267,8 +5269,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 "" #: discord.ClientUser:35 discord.User:35 of @@ -5293,8 +5295,8 @@ msgstr "" #: 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 "" #: discord.ClientUser.get_relationship:1 of @@ -5318,8 +5320,7 @@ msgid "Returns a :class:`list` of :class:`Relationship` that the user has." msgstr "" #: 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 "" #: discord.ClientUser.blocked:1 of @@ -5336,8 +5337,8 @@ msgstr "" #: 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 "" #: discord.ClientUser.avatar_url:6 discord.User.avatar_url:6 of @@ -5349,17 +5350,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." +"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 "" #: 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 "" #: discord.ClientUser.avatar_url_as:15 discord.Member.avatar_url_as:15 @@ -5376,6 +5377,19 @@ msgid "" "``static_format``, or invalid ``size``." 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`." +msgstr "" + +#: discord.ClientUser.color:4 discord.ClientUser.colour:4 +#: discord.Member.color:5 discord.Member.colour:5 discord.User.color:4 +#: discord.User.colour:4 of +msgid "There is an alias for this under ``color``." +msgstr "" + #: discord.ClientUser.create_group:3 of msgid "" "Creates a group direct message with the recipients provided. These " @@ -5419,8 +5433,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 "" @@ -5437,16 +5450,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 @@ -5460,8 +5473,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 @@ -5470,8 +5482,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 @@ -5480,8 +5492,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 @@ -5494,8 +5506,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 @@ -5527,7 +5539,7 @@ msgstr "" msgid "The channel to check your permissions for." msgstr "" -#: ../../api.rst:1839 +#: ../../api.rst:1845 msgid "Relationship" msgstr "" @@ -5537,8 +5549,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 @@ -5565,7 +5577,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Deleting the relationship failed." msgstr "" -#: ../../api.rst:1845 +#: ../../api.rst:1851 msgid "User" msgstr "" @@ -5615,7 +5627,8 @@ msgstr "" #: 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.profile:3 discord.User.profile:3 of @@ -5658,7 +5671,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Unblocking the user failed." msgstr "" -#: ../../api.rst:1859 +#: ../../api.rst:1865 msgid "Attachment" msgstr "" @@ -5682,8 +5695,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 @@ -5699,8 +5712,8 @@ 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.save:3 of @@ -5709,15 +5722,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 @@ -5732,7 +5745,7 @@ msgstr "" msgid "The number of bytes written." msgstr "" -#: ../../api.rst:1865 +#: ../../api.rst:1871 msgid "Message" msgstr "" @@ -5745,15 +5758,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 @@ -5785,8 +5797,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 @@ -5796,35 +5808,36 @@ 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." +"Rather this boolean indicates if the ``@everyone`` text is in the message" +" **and** it did end up mentioning everyone." 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 @@ -5833,8 +5846,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 @@ -5847,15 +5860,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 @@ -5864,7 +5877,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 @@ -5873,8 +5887,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 @@ -5915,14 +5929,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 @@ -5934,13 +5948,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 @@ -5949,8 +5962,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 @@ -5967,9 +5980,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 @@ -5998,9 +6011,9 @@ 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 "" #: discord.Message.add_reaction:11 of @@ -6013,8 +6026,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 @@ -6030,8 +6043,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 @@ -6040,8 +6052,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 @@ -6050,8 +6062,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 "" @@ -6077,21 +6089,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 @@ -6104,8 +6116,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 @@ -6128,8 +6140,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 @@ -6172,7 +6184,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Unpinning the message failed." msgstr "" -#: ../../api.rst:1871 +#: ../../api.rst:1877 msgid "Reaction" msgstr "" @@ -6188,8 +6200,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 "" @@ -6207,8 +6219,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 @@ -6225,8 +6237,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 @@ -6237,8 +6249,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 @@ -6251,8 +6263,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 "" @@ -6261,7 +6273,7 @@ msgstr "" msgid ":class:`bool` -- If this is a custom emoji." msgstr "" -#: ../../api.rst:1881 +#: ../../api.rst:1887 msgid "CallMessage" msgstr "" @@ -6277,8 +6289,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 @@ -6297,7 +6309,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 @@ -6312,7 +6325,7 @@ msgstr "" msgid "The timedelta object representing the duration." msgstr "" -#: ../../api.rst:1887 +#: ../../api.rst:1893 msgid "GroupCall" msgstr "" @@ -6321,13 +6334,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 @@ -6336,19 +6347,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 @@ -6361,7 +6373,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 @@ -6376,7 +6389,7 @@ msgstr "" msgid "Optional[:class:`VoiceState`]" msgstr "Optional[:class:`VoiceState`]" -#: ../../api.rst:1893 +#: ../../api.rst:1899 msgid "Guild" msgstr "" @@ -6409,106 +6422,103 @@ msgid ":class:`str` -- The guild name." msgstr ":class:`str` -- ギルドの名前。" #: discord.Guild:29 of -msgid "A :class:`list` of :class:`Role` that the guild has available." -msgstr "" - -#: discord.Guild:33 of msgid "A :class:`tuple` of :class:`Emoji` that the guild owns." msgstr "" -#: discord.Guild:37 of +#: 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:42 of +#: discord.Guild:38 of msgid ":class:`int` -- The timeout to get sent to the AFK channel." msgstr "" -#: discord.Guild:46 of +#: 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:50 of +#: discord.Guild:46 of msgid ":class:`str` -- The guild's icon." msgstr ":class:`str` -- ギルドのアイコン。" -#: discord.Guild:54 of +#: discord.Guild:50 of msgid ":class:`int` -- The guild's ID." msgstr ":class:`int` -- ギルドのID。" -#: discord.Guild:58 of +#: discord.Guild:54 of msgid ":class:`int` -- The guild owner's ID. Use :attr:`Guild.owner` instead." msgstr ":class:`int` -- ギルドのオーナーのID。代替として :attr:`Guild.owner` を使用してください。" -#: discord.Guild:62 of +#: 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:66 of +#: discord.Guild:62 of msgid "" "Check the :func:`on_guild_unavailable` and :func:`on_guild_available` " "events." msgstr "" -#: discord.Guild:70 of +#: 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:76 of +#: discord.Guild:72 of msgid ":class:`VerificationLevel` -- The guild's verification level." msgstr "" -#: discord.Guild:80 of +#: discord.Guild:76 of msgid ":class:`ContentFilter` -- The guild's explicit content filter." msgstr "" -#: discord.Guild:84 of +#: discord.Guild:80 of msgid "" "List[:class:`str`] -- A list of features that the guild has. They are " "currently as follows:" msgstr "" -#: discord.Guild:86 of +#: discord.Guild:82 of msgid "``VIP_REGIONS``: Guild has VIP voice regions" msgstr "" -#: discord.Guild:87 of +#: discord.Guild:83 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:88 of +#: discord.Guild:84 of msgid "``INVITE_SPLASH``: Guild's invite page has a special splash." msgstr "" -#: discord.Guild:89 of +#: discord.Guild:85 of msgid "``VERIFIED``: Guild is a \"verified\" server." msgstr "" -#: discord.Guild:90 of +#: discord.Guild:86 of msgid "``MORE_EMOJI``: Guild is allowed to have more than 50 custom emoji." msgstr "" -#: discord.Guild:94 of +#: discord.Guild:90 of msgid ":class:`str` -- The guild's invite splash." msgstr "" #: 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 @@ -6523,22 +6533,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 @@ -6558,8 +6568,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 @@ -6576,8 +6585,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 @@ -6592,8 +6601,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 @@ -6603,8 +6612,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 @@ -6613,14 +6622,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 @@ -6628,14 +6637,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 @@ -6650,8 +6658,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 @@ -6659,10 +6667,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 "" @@ -6673,20 +6685,20 @@ msgstr "" #: discord.Guild.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 and empty " +"string if it has no icon." msgstr "" #: discord.Guild.icon_url_as:3 of msgid "" -"The format must be one of 'webp', 'jpeg', 'jpg', or 'png'. The size must be " -"a power of 2 between 16 and 1024." +"The format must be one of 'webp', 'jpeg', 'jpg', or 'png'. The size must " +"be a power of 2 between 16 and 1024." msgstr "" #: discord.Guild.icon_url_as:6 of @@ -6700,8 +6712,7 @@ msgid "" msgstr "" #: discord.Guild.member_count:1 of -msgid "" -"Returns the true member count regardless of it being loaded fully or not." +msgid "Returns the true member count regardless of it being loaded fully or not." msgstr "" #: discord.Guild.chunked:1 of @@ -6710,8 +6721,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 @@ -6728,32 +6739,23 @@ msgstr "" msgid "Returns the guild's creation time in UTC." msgstr "" -#: discord.Guild.role_hierarchy:1 of -msgid "Returns the guild's roles in the order of the hierarchy." -msgstr "" - -#: discord.Guild.role_hierarchy:3 of -msgid "" -"The first element of this list will be the highest role in the hierarchy." -msgstr "" - #: discord.Guild.get_member_named:1 of msgid "Returns the first member found that matches the name provided." 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 "" @@ -6773,8 +6775,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 @@ -6791,8 +6793,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 @@ -6804,8 +6806,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 @@ -6814,8 +6815,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 @@ -6837,15 +6838,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 @@ -6862,47 +6863,43 @@ msgstr "" #: discord.Guild.create_custom_emoji:7 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 -msgid "" -"Note that bot accounts can only edit and delete emojis they have created." -msgstr "" - -#: discord.Guild.create_custom_emoji:12 of msgid "The emoji name. Must be at least 2 characters." msgstr "" -#: discord.Guild.create_custom_emoji:14 of +#: discord.Guild.create_custom_emoji:12 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 and PNG images are supported." msgstr "" -#: discord.Emoji.edit:10 discord.Guild.create_custom_emoji:17 of +#: discord.Emoji.edit:10 discord.Guild.create_custom_emoji:15 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:19 of +#: discord.Guild.create_custom_emoji:17 of msgid "The reason for creating this emoji. Shows up on the audit log." msgstr "" -#: discord.Guild.create_custom_emoji:22 of +#: discord.Guild.create_custom_emoji:20 of msgid "The created emoji." msgstr "" -#: discord.Guild.create_custom_emoji:23 of +#: discord.Guild.create_custom_emoji:21 of msgid ":class:`Emoji`" msgstr ":class:`Emoji`" -#: discord.Guild.create_custom_emoji:25 of +#: discord.Guild.create_custom_emoji:23 of msgid ":exc:`Forbidden` -- You are not allowed to create emojis." msgstr "" -#: discord.Guild.create_custom_emoji:26 of +#: discord.Guild.create_custom_emoji:24 of msgid ":exc:`HTTPException` -- An error occurred creating an emoji." msgstr "" @@ -6915,8 +6912,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 @@ -6929,8 +6925,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 @@ -6940,8 +6936,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 @@ -6974,16 +6969,16 @@ 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 @@ -7001,14 +6996,14 @@ msgstr "" #: discord.Guild.create_text_channel:34 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:37 of msgid "" -"The category to place the newly created channel under. The permissions will " -"be automatically synced to category if no overwrites are provided." +"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:41 of @@ -7017,8 +7012,8 @@ msgstr "" #: discord.Guild.create_text_channel:44 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 @@ -7059,8 +7054,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 @@ -7075,9 +7070,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 @@ -7096,8 +7091,8 @@ 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 @@ -7110,8 +7105,8 @@ msgstr "" #: discord.Guild.edit:31 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 @@ -7128,16 +7123,16 @@ msgstr "" #: discord.Guild.edit:38 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 @@ -7150,8 +7145,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 @@ -7186,8 +7181,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 @@ -7195,8 +7190,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 @@ -7241,13 +7235,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 @@ -7286,8 +7281,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 @@ -7295,8 +7290,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 @@ -7324,11 +7318,19 @@ msgstr "" msgid "List[:class:`Webhook`]" msgstr "List[:class:`Webhook`]" +#: discord.Guild.roles:1 of +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." +msgstr "" + #: discord.Guild.ack:3 of msgid "Marks every message in this guild as read." msgstr "" -#: ../../api.rst:1903 +#: ../../api.rst:1909 msgid "Member" msgstr "" @@ -7348,8 +7350,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 @@ -7362,49 +7364,37 @@ msgstr "" #: discord.Member:27 of 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 " -"hierarchy." -msgstr "" - -#: discord.Member:33 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:38 of +#: 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 " +":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 "" -#: discord.Member:43 of +#: discord.Member:37 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." +"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 "" -#: discord.Member:47 of +#: discord.Member:41 of msgid ":class:`Guild` -- The guild that the member belongs to." msgstr "" -#: discord.Member:51 of +#: discord.Member:45 of msgid "Optional[:class:`str`] -- The guild specific nickname of the user." 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." -msgstr "" - -#: discord.Member.color:5 discord.Member.colour:5 of -msgid "There is an alias for this under ``color``." +"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 @@ -7431,10 +7421,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 @@ -7444,8 +7434,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 @@ -7454,8 +7443,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 @@ -7464,8 +7453,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 @@ -7614,7 +7604,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 @@ -7639,8 +7630,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 @@ -7662,18 +7653,28 @@ msgstr "" msgid ":exc:`HTTPException` -- Removing the roles failed." 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." +msgstr "" + +#: discord.Member.roles:5 of +msgid "These roles are sorted by their position in the role hierarchy." +msgstr "" + #: discord.Member.unban:3 of msgid "Unbans this member. Equivalent to :meth:`Guild.unban`" msgstr "" -#: ../../api.rst:1917 +#: ../../api.rst:1923 msgid "Spotify" msgstr "" #: 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 "" @@ -7733,8 +7734,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 @@ -7757,8 +7758,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 @@ -7769,7 +7770,7 @@ msgstr "" msgid ":class:`str` -- The party ID of the listening party." msgstr "" -#: ../../api.rst:1923 +#: ../../api.rst:1929 msgid "VoiceState" msgstr "" @@ -7778,13 +7779,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 @@ -7795,14 +7794,14 @@ 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 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 @@ -7811,7 +7810,7 @@ msgid "" "connected to. None if the user is not currently in a voice channel." msgstr "" -#: ../../api.rst:1929 +#: ../../api.rst:1935 msgid "Emoji" msgstr "" @@ -7833,8 +7832,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 @@ -7884,8 +7883,7 @@ 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 @@ -7926,14 +7924,15 @@ msgstr "" #: discord.Emoji.roles:1 of msgid "" -"List[:class:`Role`] -- A 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:1935 +#: ../../api.rst:1941 msgid "PartialEmoji" msgstr "" @@ -7950,8 +7949,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 @@ -7980,7 +7978,7 @@ msgstr "" msgid "Returns a URL version of the emoji, if it is custom." msgstr "" -#: ../../api.rst:1941 +#: ../../api.rst:1947 msgid "Role" msgstr "" @@ -8050,14 +8048,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 @@ -8122,8 +8120,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 @@ -8132,11 +8130,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:1947 +#: ../../api.rst:1953 msgid "TextChannel" msgstr "" @@ -8172,15 +8170,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 "" @@ -8202,8 +8199,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 @@ -8220,15 +8217,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 @@ -8297,19 +8294,18 @@ 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 @@ -8339,29 +8335,29 @@ 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 "" #: 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 @@ -8382,10 +8378,10 @@ msgstr "" #: 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 @@ -8414,7 +8410,7 @@ msgstr "" msgid "The webhooks for this channel." msgstr "" -#: ../../api.rst:1961 +#: ../../api.rst:1967 msgid "VoiceChannel" msgstr "" @@ -8423,14 +8419,13 @@ msgid "Represents a Discord guild voice channel." msgstr "" #: 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 @@ -8451,8 +8446,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 @@ -8462,8 +8457,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 @@ -8490,7 +8484,7 @@ msgstr "" msgid "The new channel's user limit." msgstr "" -#: ../../api.rst:1968 +#: ../../api.rst:1974 msgid "CategoryChannel" msgstr "" @@ -8534,8 +8528,8 @@ msgstr "" #: 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 @@ -8574,7 +8568,7 @@ msgstr "" msgid ":exc:`HTTPException` -- Editing the category failed." msgstr "" -#: ../../api.rst:1975 +#: ../../api.rst:1981 msgid "DMChannel" msgstr "" @@ -8588,8 +8582,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 @@ -8625,22 +8619,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:1989 +#: ../../api.rst:1995 msgid "GroupChannel" msgstr "" @@ -8650,8 +8644,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 @@ -8671,8 +8665,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 @@ -8681,9 +8674,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 @@ -8699,14 +8692,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 @@ -8749,13 +8741,12 @@ msgstr "" msgid "The resolved permissions for the user." msgstr "" -#: ../../api.rst:2004 +#: ../../api.rst:2010 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 @@ -8776,8 +8767,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 @@ -8794,14 +8785,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 @@ -8842,13 +8834,12 @@ msgstr "" msgid "The reason for deleting this invite. Shows up on the audit log." msgstr "" -#: ../../api.rst:2010 +#: ../../api.rst:2016 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 @@ -8865,18 +8856,18 @@ msgstr "" msgid ":class:`int` -- The message ID that got deleted." msgstr "" -#: ../../api.rst:2016 +#: ../../api.rst:2022 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 @@ -8889,7 +8880,7 @@ msgid "" "applicable." msgstr "" -#: ../../api.rst:2022 +#: ../../api.rst:2028 msgid "RawMessageUpdateEvent" msgstr "" @@ -8907,7 +8898,7 @@ msgid "" "`_" msgstr "" -#: ../../api.rst:2028 +#: ../../api.rst:2034 msgid "RawReactionActionEvent" msgstr "" @@ -8926,8 +8917,7 @@ msgid ":class:`int` -- The user ID who added or removed the reaction." 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 @@ -8940,7 +8930,7 @@ msgstr "" msgid ":class:`PartialEmoji` -- The custom or unicode emoji being used." msgstr "" -#: ../../api.rst:2034 +#: ../../api.rst:2040 msgid "RawReactionClearEvent" msgstr "" @@ -8957,31 +8947,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:2043 +#: ../../api.rst:2049 msgid "Data Classes" msgstr "データクラス" -#: ../../api.rst:2045 +#: ../../api.rst:2051 msgid "Some classes are just there to be data containers, this lists them." msgstr "" -#: ../../api.rst:2047 +#: ../../api.rst:2053 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:2053 +#: ../../api.rst:2059 msgid "" "The only exception to this rule is :class:`Object`, which is made with " "dynamic attributes in mind." msgstr "" -#: ../../api.rst:2061 +#: ../../api.rst:2067 msgid "Object" msgstr "Object" @@ -8991,19 +8980,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 @@ -9026,7 +9015,7 @@ msgstr ":class:`str` -- オブジェクトのID。" msgid "Returns the snowflake's creation time in UTC." msgstr "" -#: ../../api.rst:2067 +#: ../../api.rst:2073 msgid "Embed" msgstr "Embed" @@ -9041,18 +9030,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 @@ -9073,16 +9063,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 "" @@ -9112,7 +9101,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 @@ -9259,8 +9249,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 @@ -9287,26 +9277,27 @@ msgstr "" msgid "Converts this embed object into a dict." msgstr "" -#: ../../api.rst:2073 +#: ../../api.rst:2079 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 @@ -9315,19 +9306,20 @@ 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:2079 +#: ../../api.rst:2085 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 @@ -9514,7 +9506,7 @@ msgid "" "``0x99aab5``." msgstr "" -#: ../../api.rst:2085 +#: ../../api.rst:2091 msgid "Activity" msgstr "" @@ -9524,7 +9516,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 @@ -9585,36 +9578,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 @@ -9635,46 +9626,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:2091 +#: ../../api.rst:2097 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 @@ -9714,8 +9707,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 @@ -9724,17 +9716,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:2097 +#: ../../api.rst:2103 msgid "Streaming" msgstr "" @@ -9778,8 +9770,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 @@ -9800,12 +9792,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:2103 +#: ../../api.rst:2109 msgid "Permissions" msgstr "" @@ -9816,8 +9808,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 @@ -9850,8 +9842,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 @@ -9877,27 +9869,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 @@ -9926,8 +9918,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 @@ -9948,9 +9940,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 @@ -9971,8 +9963,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 @@ -9980,8 +9972,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 @@ -10006,12 +9997,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 @@ -10022,13 +10015,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 @@ -10101,7 +10095,7 @@ msgstr "" msgid "Returns True if a user can create, edit, or delete emojis." msgstr "" -#: ../../api.rst:2109 +#: ../../api.rst:2115 msgid "PermissionOverwrite" msgstr "" @@ -10111,16 +10105,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 @@ -10163,8 +10157,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 @@ -10175,11 +10169,11 @@ msgstr "" msgid "A list of key/value pairs to bulk update with." msgstr "" -#: ../../api.rst:2115 +#: ../../api.rst:2121 msgid "Exceptions" msgstr "" -#: ../../api.rst:2117 +#: ../../api.rst:2123 msgid "The following exceptions are thrown by the library." msgstr "" @@ -10189,13 +10183,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 @@ -10204,8 +10197,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 @@ -10220,9 +10213,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 @@ -10251,14 +10244,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 @@ -10269,8 +10263,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 @@ -10298,76 +10292,131 @@ 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 "" #~ 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." +#~ msgstr "" + +#~ msgid "Returns the guild's roles in the order of the hierarchy." +#~ msgstr "" + +#~ msgid "" +#~ "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." +#~ 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 " +#~ "hierarchy." #~ msgstr "" + +#~ msgid "" +#~ "List[:class:`Role`] -- A list of roles" +#~ " that is allowed to use this " +#~ "emoji." +#~ msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po index c64e45b98..e92cf1f33 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po @@ -2,22 +2,23 @@ # Copyright (C) 2015-2017, 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-09-15 09:50-0400\n" +"POT-Creation-Date: 2018-09-24 23:41-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: 竹内 歩夢 , 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" #: ../../ext/commands/api.rst:4 msgid "API Reference" @@ -39,34 +40,35 @@ 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 "" #: 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." +"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 "" #: discord.ext.commands.Bot:28 of @@ -74,24 +76,26 @@ 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 "" #: 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 "" #: discord.ext.commands.Bot:52 of @@ -100,68 +104,69 @@ msgstr "" #: 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 @@ -179,9 +184,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 @@ -238,7 +242,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 @@ -257,10 +262,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 @@ -297,9 +302,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 @@ -312,8 +316,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 "例外" @@ -363,8 +366,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 @@ -375,10 +378,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 @@ -400,8 +404,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 @@ -508,8 +512,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 @@ -522,8 +526,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 @@ -539,8 +543,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 @@ -548,27 +552,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 @@ -578,8 +581,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 @@ -588,8 +591,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 "" @@ -616,9 +619,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 @@ -631,8 +634,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 @@ -647,18 +650,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 @@ -691,8 +694,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 @@ -744,14 +747,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 @@ -761,9 +763,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 @@ -772,8 +774,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 @@ -815,8 +817,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 @@ -852,15 +853,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 "" @@ -870,9 +871,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 @@ -886,13 +887,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 @@ -928,7 +927,8 @@ 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 @@ -945,8 +945,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 "" @@ -972,7 +972,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 @@ -1022,19 +1023,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 @@ -1046,14 +1048,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 @@ -1061,14 +1062,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 @@ -1077,9 +1077,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 @@ -1102,26 +1102,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 @@ -1139,8 +1139,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 @@ -1151,8 +1152,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 @@ -1161,8 +1162,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 @@ -1175,8 +1176,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 @@ -1189,41 +1190,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 @@ -1242,8 +1243,8 @@ 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 @@ -1256,8 +1257,8 @@ 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 @@ -1266,9 +1267,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 @@ -1279,7 +1280,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 @@ -1317,16 +1319,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 @@ -1343,20 +1344,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 @@ -1365,9 +1367,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 @@ -1386,22 +1388,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 @@ -1418,31 +1421,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 "" @@ -1456,8 +1459,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 @@ -1474,14 +1477,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 @@ -1491,8 +1495,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 @@ -1502,14 +1505,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 @@ -1518,8 +1521,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 @@ -1558,13 +1561,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 @@ -1583,29 +1587,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 @@ -1642,8 +1646,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 @@ -1678,8 +1682,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 @@ -1690,11 +1694,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 @@ -1703,33 +1708,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 @@ -1745,8 +1751,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 @@ -1772,8 +1778,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 @@ -1783,8 +1789,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 @@ -1817,10 +1822,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 @@ -1846,9 +1851,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 @@ -1859,8 +1864,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 @@ -1871,8 +1876,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 @@ -1882,25 +1887,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 @@ -1911,8 +1916,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 @@ -1923,8 +1928,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 @@ -1936,8 +1941,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 @@ -1982,20 +1986,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 @@ -2015,13 +2020,11 @@ 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 @@ -2030,8 +2033,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 @@ -2046,15 +2049,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 @@ -2072,8 +2075,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 "" @@ -2091,23 +2094,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 "" @@ -2135,14 +2138,14 @@ 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." +"The name is case sensitive and must be exact. No normalisation is done in" +" the input." 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 the message is invoked in a private message context then the check " +"will return ``False``." msgstr "" #: discord.ext.commands.has_role:10 of @@ -2157,14 +2160,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 @@ -2174,8 +2177,8 @@ 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 @@ -2187,39 +2190,38 @@ msgid "An argument list of names 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 @@ -2244,8 +2246,8 @@ msgstr "" #: discord.ext.commands.cooldown:16 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 @@ -2253,8 +2255,7 @@ 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." +msgid "The number of times a command can be used before triggering a cooldown." msgstr "" #: discord.ext.commands.cooldown:23 of @@ -2267,8 +2268,8 @@ 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 "" @@ -2290,8 +2291,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 @@ -2308,9 +2309,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 @@ -2329,15 +2330,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 "" @@ -2353,8 +2354,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 @@ -2366,9 +2367,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 @@ -2379,14 +2380,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 @@ -2395,36 +2396,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 @@ -2455,8 +2456,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 @@ -2465,8 +2466,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 @@ -2479,8 +2480,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 @@ -2562,16 +2563,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 @@ -2580,9 +2581,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 @@ -2592,22 +2593,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 @@ -2632,15 +2633,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 @@ -2655,8 +2656,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 @@ -2681,8 +2682,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 @@ -2693,8 +2694,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 @@ -2709,21 +2710,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 @@ -2757,8 +2758,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 @@ -2802,13 +2803,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 @@ -2816,8 +2817,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 @@ -2825,16 +2826,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 "" @@ -2922,8 +2922,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 @@ -2935,8 +2935,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 @@ -2959,7 +2958,34 @@ msgstr "" msgid ":obj:`bool` -- Whether to also escape special markdown characters." msgstr "" -#: ../../ext/commands/api.rst:185 +#: ../../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." +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." +msgstr "" + +#: ../../ext/commands/api.rst:191 +msgid "For example, in the following code:" +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``\\." +msgstr "" + +#: ../../ext/commands/api.rst:202 +msgid "For more information, check :ref:`ext_commands_special_converters`." +msgstr "" + +#: ../../ext/commands/api.rst:207 msgid "Errors" msgstr "エラー" @@ -2973,9 +2999,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` " "に渡され、特別な方法で処理されます。" @@ -2984,12 +3010,17 @@ msgstr "" msgid "Exception raised when a Converter class raises non-CommandError." msgstr "Converter クラスで、CommandErrorではない例外が発生した際に、発生する例外。" -#: discord.ext.commands.ConversionError:5 of +#: discord.ext.commands.ConversionError:3 discord.ext.commands.UserInputError:4 +#: of +msgid "This inherits from :exc:`.CommandError`." +msgstr "" + +#: discord.ext.commands.ConversionError:7 of msgid ":class:`discord.ext.commands.Converter` -- The converter that failed." msgstr ":class:`discord.ext.commands.Converter` -- 例外が発生したConverter." #: discord.ext.commands.CommandInvokeError:5 -#: discord.ext.commands.ConversionError:9 of +#: discord.ext.commands.ConversionError:11 of msgid "" "The original exception that was raised. You can also get this via the " "``__cause__`` attribute." @@ -2997,8 +3028,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 @@ -3007,19 +3038,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 @@ -3042,13 +3072,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 @@ -3073,11 +3104,8 @@ msgstr "" #: discord.ext.commands.UserInputError:1 of msgid "" -"The base exception type for errors that involve errors regarding user input." -msgstr "" - -#: discord.ext.commands.UserInputError:4 of -msgid "This inherits from :exc:`.CommandError`." +"The base exception type for errors that involve errors regarding user " +"input." msgstr "" #: discord.ext.commands.CommandOnCooldown:1 of @@ -3092,7 +3120,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 @@ -3101,7 +3130,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 @@ -3114,17 +3144,23 @@ 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." +#~ "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." +#~ "*Optional[command]* -- The parent command " +#~ "that this command belongs to. ``None``" +#~ " is there isn't one." #~ msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po index c5619ab49..61c62dc85 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po @@ -2,22 +2,23 @@ # Copyright (C) 2015-2017, 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: 2018-09-24 23:41-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: 竹内 歩夢 , 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" #: ../../ext/commands/commands.rst:6 msgid "Commands" @@ -25,16 +26,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." +"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 @@ -42,8 +43,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 @@ -55,8 +55,8 @@ msgstr "" #: ../../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 "" @@ -72,9 +72,9 @@ msgstr "" #: ../../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 "" #: ../../ext/commands/commands.rst:65 @@ -89,8 +89,8 @@ msgstr "" #: ../../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 @@ -99,14 +99,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 "" #: ../../ext/commands/commands.rst:88 @@ -115,14 +115,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 "" #: ../../ext/commands/commands.rst:105 @@ -131,16 +131,16 @@ 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:" +"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 "" #: ../../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." +"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 @@ -149,8 +149,8 @@ msgstr "" #: ../../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 @@ -162,8 +162,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 "" #: ../../ext/commands/commands.rst:136 @@ -172,15 +172,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 @@ -193,8 +192,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 "" @@ -204,20 +203,19 @@ 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 "" #: ../../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 "" #: ../../ext/commands/commands.rst:174 @@ -226,20 +224,20 @@ msgstr "" #: ../../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 "" #: ../../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 "" #: ../../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 "" @@ -251,8 +249,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 @@ -281,26 +279,27 @@ 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 "" #: ../../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:227 @@ -309,18 +308,19 @@ msgstr "" #: ../../ext/commands/commands.rst:229 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 "" #: ../../ext/commands/commands.rst:232 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 "" #: ../../ext/commands/commands.rst:236 @@ -329,22 +329,22 @@ msgstr "" #: ../../ext/commands/commands.rst:251 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 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 "" #: ../../ext/commands/commands.rst:281 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 "" #: ../../ext/commands/commands.rst:285 @@ -365,11 +365,12 @@ msgstr "" #: ../../ext/commands/commands.rst:298 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 "" #: ../../ext/commands/commands.rst:302 @@ -488,8 +489,8 @@ msgstr "" #: ../../ext/commands/commands.rst:348 msgid "" -"By providing the converter it allows us to use them as building blocks for " -"another converter:" +"By providing the converter it allows us to use them as building blocks " +"for another converter:" msgstr "" #: ../../ext/commands/commands.rst:363 @@ -498,8 +499,8 @@ 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 " +"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 "" @@ -511,154 +512,308 @@ msgstr "" #: ../../ext/commands/commands.rst:394 msgid "" -"This can get tedious, so an inline advanced converter is possible through a " -"``classmethod`` inside the type:" +"This can get tedious, so an inline advanced converter is possible through" +" a ``classmethod`` inside the type:" msgstr "" #: ../../ext/commands/commands.rst:423 +#, fuzzy +msgid "Special Converters" +msgstr "基本的なコンバーター" + +#: ../../ext/commands/commands.rst:425 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:430 +msgid "typing.Union" +msgstr "" + +#: ../../ext/commands/commands.rst:432 +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:" +msgstr "" + +#: ../../ext/commands/commands.rst:444 +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`." +msgstr "" + +#: ../../ext/commands/commands.rst:449 +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 +msgid "typing.Optional" +msgstr "" + +#: ../../ext/commands/commands.rst:454 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:458 ../../ext/commands/commands.rst:485 +msgid "Consider the following example:" +msgstr "" + +#: ../../ext/commands/commands.rst:471 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:476 +msgid "" +"This converter only works in regular positional parameters, not variable " +"parameters or keyword-only parameters." +msgstr "" + +#: ../../ext/commands/commands.rst:479 +msgid "Greedy" +msgstr "" + +#: ../../ext/commands/commands.rst:481 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:494 +msgid "When invoked, it allows for any number of members to be passed in:" +msgstr "" + +#: ../../ext/commands/commands.rst:498 +msgid "" +"The type passed when using this converter depends on the parameter type " +"that it is being attached to:" +msgstr "" + +#: ../../ext/commands/commands.rst:500 +msgid "" +"Positional parameter types will receive either the default parameter or a" +" :class:`list` of the converted values." +msgstr "" + +#: ../../ext/commands/commands.rst:501 +msgid "Variable parameter types will be a :class:`tuple` as usual." +msgstr "" + +#: ../../ext/commands/commands.rst:502 +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 +msgid "" +":data:`~ext.commands.Greedy` parameters can also be made optional by " +"specifying an optional value." +msgstr "" + +#: ../../ext/commands/commands.rst:506 +msgid "" +"When mixed with the :data:`typing.Optional` converter you can provide " +"simple and expressive command invocation syntaxes:" +msgstr "" + +#: ../../ext/commands/commands.rst:521 +msgid "This command can be invoked any of the following ways:" +msgstr "" + +#: ../../ext/commands/commands.rst:531 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:534 +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." +msgstr "" + +#: ../../ext/commands/commands.rst:540 +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 msgid "Error Handling" msgstr "" -#: ../../ext/commands/commands.rst:425 +#: ../../ext/commands/commands.rst:548 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:428 +#: ../../ext/commands/commands.rst:551 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:432 +#: ../../ext/commands/commands.rst:555 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:448 +#: ../../ext/commands/commands.rst:571 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:452 +#: ../../ext/commands/commands.rst:575 msgid "Checks" msgstr "" -#: ../../ext/commands/commands.rst:454 +#: ../../ext/commands/commands.rst:577 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:458 +#: ../../ext/commands/commands.rst:581 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:461 +#: ../../ext/commands/commands.rst:584 msgid "Return ``True`` to signal that the person can run the command." msgstr "" -#: ../../ext/commands/commands.rst:462 +#: ../../ext/commands/commands.rst:585 msgid "Return ``False`` to signal that the person cannot run the command." msgstr "" -#: ../../ext/commands/commands.rst:463 +#: ../../ext/commands/commands.rst:586 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:465 +#: ../../ext/commands/commands.rst:588 msgid "" "This allows you to have custom error messages for you to handle in the " ":ref:`error handlers `." msgstr "" -#: ../../ext/commands/commands.rst:468 +#: ../../ext/commands/commands.rst:591 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:482 +#: ../../ext/commands/commands.rst:605 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:499 +#: ../../ext/commands/commands.rst:622 msgid "" "Since an owner check is so common, the library provides it for you " "(:func:`~ext.commands.is_owner`):" msgstr "" -#: ../../ext/commands/commands.rst:509 +#: ../../ext/commands/commands.rst:632 msgid "When multiple checks are specified, **all** of them must be ``True``:" msgstr "" -#: ../../ext/commands/commands.rst:524 +#: ../../ext/commands/commands.rst:647 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:526 +#: ../../ext/commands/commands.rst:649 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:543 +#: ../../ext/commands/commands.rst:666 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:568 +#: ../../ext/commands/commands.rst:691 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:571 +#: ../../ext/commands/commands.rst:694 msgid "Global Checks" msgstr "" -#: ../../ext/commands/commands.rst:573 +#: ../../ext/commands/commands.rst:696 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:576 +#: ../../ext/commands/commands.rst:699 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:578 +#: ../../ext/commands/commands.rst:701 msgid "For example, to block all DMs we could do the following:" msgstr "" -#: ../../ext/commands/commands.rst:588 +#: ../../ext/commands/commands.rst:711 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/migrating.po b/docs/locale/ja/LC_MESSAGES/migrating.po index 3222e67b9..3f8f42cfc 100644 --- a/docs/locale/ja/LC_MESSAGES/migrating.po +++ b/docs/locale/ja/LC_MESSAGES/migrating.po @@ -2,22 +2,23 @@ # Copyright (C) 2015-2017, 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: 2018-09-24 23:41-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: 和泉田 済人 , 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" #: ../../migrating.rst:6 msgid "Migrating to v1.0" @@ -25,8 +26,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 @@ -37,12 +38,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" @@ -50,10 +52,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 " @@ -74,8 +76,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` " "型に変更されました。" @@ -86,10 +88,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 を用いることで最適化の機会を得ることにもなります。" @@ -102,8 +104,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` へ変更されました。同時にこのモデルを参照するすべてのインスタンスも変更されています。" @@ -112,11 +114,11 @@ msgstr "" msgid "A list of changes is as follows:" msgstr "変更点の一覧" -#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:852 +#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:859 msgid "Before" msgstr "変更前" -#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:852 +#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:859 msgid "After" msgstr "変更後" @@ -271,10 +273,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``" @@ -314,9 +314,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``" @@ -458,7 +460,7 @@ msgstr ":meth:`abc.Messageable.get_message`" msgid "``Client.get_reaction_users``" msgstr "``Client.get_reaction_users``" -#: ../../migrating.rst:153 ../../migrating.rst:480 +#: ../../migrating.rst:153 ../../migrating.rst:487 msgid ":meth:`Reaction.users`" msgstr ":meth:`Reaction.users`" @@ -500,8 +502,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``" @@ -572,10 +573,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``" @@ -587,7 +586,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` " "を使用してください)" @@ -658,13 +658,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 @@ -685,17 +686,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:" @@ -735,16 +735,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 @@ -763,10 +763,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` " @@ -777,13 +777,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" @@ -795,12 +796,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 @@ -821,10 +823,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`:" @@ -848,8 +849,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 @@ -857,15 +858,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 @@ -890,8 +891,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." @@ -911,7 +911,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 @@ -928,8 +929,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 @@ -945,8 +946,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``" @@ -989,158 +991,176 @@ msgid "Use :attr:`Member.activity` instead." msgstr "代わりに :attr:`Member.activity` 使用してください。" #: ../../migrating.rst:371 +msgid "``Guild.role_hierarchy`` / ``Server.role_hierarchy``" +msgstr "" + +#: ../../migrating.rst:373 +msgid "" +"Use :attr:`Guild.roles` instead. Note that while sorted, it is in the " +"opposite order of what the old ``Guild.role_hierarchy`` used to be." +msgstr "" + +#: ../../migrating.rst:376 msgid "**Changed**" msgstr "**変更**" -#: ../../migrating.rst:373 +#: ../../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:374 +#: ../../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:375 +#: ../../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:377 +#: ../../migrating.rst:381 +msgid "" +":attr:`Guild.roles` is now sorted through hierarchy. The first element is" +" always the ``@everyone`` role." +msgstr "" + +#: ../../migrating.rst:383 msgid "**Added**" msgstr "**追加**" -#: ../../migrating.rst:379 +#: ../../migrating.rst:385 msgid ":class:`Attachment` to represent a discord attachment." msgstr "Discordのアタッチメントを表す :class:`Attachment` 。" -#: ../../migrating.rst:380 +#: ../../migrating.rst:386 msgid ":class:`CategoryChannel` to represent a channel category." msgstr "チャンネルのカテゴリを表す :class:`CategoryChannel` 。" -#: ../../migrating.rst:381 +#: ../../migrating.rst:387 msgid "" ":attr:`VoiceChannel.members` for fetching members connected to a voice " "channel." msgstr "ボイスチャンネルに接続しているメンバーを取得する :attr:`VoiceChannel.members` 。" -#: ../../migrating.rst:382 -msgid "" -":attr:`TextChannel.members` for fetching members that can see the channel." +#: ../../migrating.rst:388 +msgid ":attr:`TextChannel.members` for fetching members that can see the channel." msgstr "テキストチャンネルを閲覧可能なメンバーを取得する :attr:`TextChannel.members` 。" -#: ../../migrating.rst:383 +#: ../../migrating.rst:389 msgid ":attr:`Role.members` for fetching members that have the role." msgstr "役割を持っているメンバーを取得する :attr:`Role.members` 。" -#: ../../migrating.rst:384 +#: ../../migrating.rst:390 msgid ":attr:`Guild.text_channels` for fetching text channels only." msgstr "テキストチャンネルのみを取得する :attr:`Guild.text_channels` 。" -#: ../../migrating.rst:385 +#: ../../migrating.rst:391 msgid ":attr:`Guild.voice_channels` for fetching voice channels only." msgstr "ボイスチャンネルのみを取得する :attr:`Guild.voice_channels` 。" -#: ../../migrating.rst:386 +#: ../../migrating.rst:392 msgid ":attr:`Guild.categories` for fetching channel categories only." msgstr "チャンネルのカテゴリのみを取得する :attr:`Guild.categories` 。" -#: ../../migrating.rst:387 +#: ../../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` 。" -#: ../../migrating.rst:388 +#: ../../migrating.rst:394 msgid ":meth:`Guild.by_category` to get channels grouped by their category." msgstr "カテゴリによってグループ化されたチャンネルを取得する :meth:`Guild.by_category` 。" -#: ../../migrating.rst:389 +#: ../../migrating.rst:395 msgid ":attr:`Guild.chunked` to check member chunking status." msgstr "" -#: ../../migrating.rst:390 +#: ../../migrating.rst:396 msgid ":attr:`Guild.explicit_content_filter` to fetch the content filter." msgstr "" -#: ../../migrating.rst:391 +#: ../../migrating.rst:397 msgid ":attr:`Guild.shard_id` to get a guild's Shard ID if you're sharding." msgstr "Shardingを使用している場合のみ、ギルドのShard IDを取得する :attr:`Guild.shard_id` 。" -#: ../../migrating.rst:392 +#: ../../migrating.rst:398 msgid ":attr:`Client.users` to get all visible :class:`User` instances." msgstr "Botによってみることができる :class:`User` インスタンスをすべて返す :attr:`Client.users` 。" -#: ../../migrating.rst:393 +#: ../../migrating.rst:399 msgid ":meth:`Client.get_user` to get a :class:`User` by ID." msgstr "IDから :class:`User` を取得する :meth:`Client.get_user` 。" -#: ../../migrating.rst:394 -msgid "" -":meth:`User.avatar_url_as` to get an avatar in a specific size or format." +#: ../../migrating.rst:400 +msgid ":meth:`User.avatar_url_as` to get an avatar in a specific size or format." msgstr "特定のサイズ、あるいはフォーマットのアバターを取得する :meth:`User.avatar_url_as` 。" -#: ../../migrating.rst:395 +#: ../../migrating.rst:401 msgid ":meth:`Guild.vanity_invite` to fetch the guild's vanity invite." msgstr "" -#: ../../migrating.rst:396 +#: ../../migrating.rst:402 msgid ":meth:`Guild.audit_logs` to fetch the guild's audit logs." msgstr "" -#: ../../migrating.rst:397 +#: ../../migrating.rst:403 msgid ":attr:`Message.webhook_id` to fetch the message's webhook ID." msgstr "" -#: ../../migrating.rst:398 +#: ../../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 "" -#: ../../migrating.rst:399 +#: ../../migrating.rst:405 msgid ":meth:`TextChannel.is_nsfw` to check if a text channel is NSFW." msgstr "" -#: ../../migrating.rst:400 +#: ../../migrating.rst:406 msgid ":meth:`Colour.from_rgb` to construct a :class:`Colour` from RGB tuple." msgstr "" -#: ../../migrating.rst:405 +#: ../../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 "メッセージの送信" -#: ../../migrating.rst:407 +#: ../../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` に統合したことです。" -#: ../../migrating.rst:410 ../../migrating.rst:990 +#: ../../migrating.rst:417 ../../migrating.rst:997 msgid "Basically: ::" msgstr "基本形" -#: ../../migrating.rst:418 +#: ../../migrating.rst:425 msgid "" "This supports everything that the old ``send_message`` supported such as " "embeds: ::" msgstr "これは埋め込みメッセージなどといった、従来の ``send_message`` が持っていた機能を全てサポートしています。" -#: ../../migrating.rst:423 +#: ../../migrating.rst:430 msgid "" "There is a caveat with sending files however, as this functionality was " "expanded to support multiple file attachments, you must now use a " @@ -1149,178 +1169,178 @@ msgstr "" "これはファイルの送信に対応できるように拡張されましたが、複数のファイルを送信する際には、 :class:`File` " "の擬似的な名前付きタプルでファイルを渡す必要があります。" -#: ../../migrating.rst:432 +#: ../../migrating.rst:439 msgid "This change was to facilitate multiple file uploads: ::" msgstr "この変更は、複数の添付ファイルの送信を容易にするために行われました。" -#: ../../migrating.rst:444 +#: ../../migrating.rst:451 msgid "Asynchronous Iterators" msgstr "非同期のイテレータ" -#: ../../migrating.rst:446 +#: ../../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:448 +#: ../../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:451 +#: ../../migrating.rst:458 msgid "This allows you to iterate over it like normal: ::" msgstr "これは通常のイテレータと同様の処理が行なえます。" -#: ../../migrating.rst:456 +#: ../../migrating.rst:463 msgid "Or turn it into a list: ::" msgstr "" -#: ../../migrating.rst:462 +#: ../../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:468 +#: ../../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:471 +#: ../../migrating.rst:478 msgid "" "You can also get single elements a la :func:`discord.utils.find` or " ":func:`discord.utils.get` via :meth:`AsyncIterator.get` or " ":meth:`AsyncIterator.find`: ::" msgstr "" -#: ../../migrating.rst:476 +#: ../../migrating.rst:483 msgid "The following return :class:`AsyncIterator`:" msgstr "" -#: ../../migrating.rst:478 +#: ../../migrating.rst:485 msgid ":meth:`abc.Messageable.history`" msgstr ":meth:`abc.Messageable.history`" -#: ../../migrating.rst:479 +#: ../../migrating.rst:486 msgid ":meth:`Guild.audit_logs`" msgstr ":meth:`Guild.audit_logs`" -#: ../../migrating.rst:485 ../../migrating.rst:907 +#: ../../migrating.rst:492 ../../migrating.rst:914 msgid "Event Changes" msgstr "イベントの変更" -#: ../../migrating.rst:487 +#: ../../migrating.rst:494 msgid "A lot of events have gone through some changes." msgstr "多くのイベントに変更がありました。" -#: ../../migrating.rst:489 +#: ../../migrating.rst:496 msgid "" "Many events with ``server`` in the name were changed to use ``guild`` " "instead." msgstr "名前に ``server`` が含まれていたイベントのほとんどが、 ``guild`` を使った名前に変更されました。" -#: ../../migrating.rst:491 ../../migrating.rst:555 +#: ../../migrating.rst:498 ../../migrating.rst:562 msgid "Before:" msgstr "変更前" -#: ../../migrating.rst:493 +#: ../../migrating.rst:500 msgid "``on_server_join``" msgstr "``on_server_join``" -#: ../../migrating.rst:494 +#: ../../migrating.rst:501 msgid "``on_server_remove``" msgstr "``on_server_remove``" -#: ../../migrating.rst:495 +#: ../../migrating.rst:502 msgid "``on_server_update``" msgstr "``on_server_update``" -#: ../../migrating.rst:496 +#: ../../migrating.rst:503 msgid "``on_server_role_create``" msgstr "``on_server_role_create``" -#: ../../migrating.rst:497 +#: ../../migrating.rst:504 msgid "``on_server_role_delete``" msgstr "``on_server_role_delete``" -#: ../../migrating.rst:498 +#: ../../migrating.rst:505 msgid "``on_server_role_update``" msgstr "``on_server_role_update``" -#: ../../migrating.rst:499 +#: ../../migrating.rst:506 msgid "``on_server_emojis_update``" msgstr "``on_server_emojis_update``" -#: ../../migrating.rst:500 +#: ../../migrating.rst:507 msgid "``on_server_available``" msgstr "``on_server_available``" -#: ../../migrating.rst:501 +#: ../../migrating.rst:508 msgid "``on_server_unavailable``" msgstr "``on_server_unavailable``" -#: ../../migrating.rst:503 ../../migrating.rst:561 +#: ../../migrating.rst:510 ../../migrating.rst:568 msgid "After:" msgstr "変更後" -#: ../../migrating.rst:505 +#: ../../migrating.rst:512 msgid ":func:`on_guild_join`" msgstr ":func:`on_guild_join`" -#: ../../migrating.rst:506 +#: ../../migrating.rst:513 msgid ":func:`on_guild_remove`" msgstr ":func:`on_guild_remove`" -#: ../../migrating.rst:507 +#: ../../migrating.rst:514 msgid ":func:`on_guild_update`" msgstr ":func:`on_guild_update`" -#: ../../migrating.rst:508 +#: ../../migrating.rst:515 msgid ":func:`on_guild_role_create`" msgstr ":func:`on_guild_role_create`" -#: ../../migrating.rst:509 +#: ../../migrating.rst:516 msgid ":func:`on_guild_role_delete`" msgstr ":func:`on_guild_role_delete`" -#: ../../migrating.rst:510 +#: ../../migrating.rst:517 msgid ":func:`on_guild_role_update`" msgstr ":func:`on_guild_role_update`" -#: ../../migrating.rst:511 +#: ../../migrating.rst:518 msgid ":func:`on_guild_emojis_update`" msgstr ":func:`on_guild_emojis_update`" -#: ../../migrating.rst:512 +#: ../../migrating.rst:519 msgid ":func:`on_guild_available`" msgstr ":func:`on_guild_available`" -#: ../../migrating.rst:513 +#: ../../migrating.rst:520 msgid ":func:`on_guild_unavailable`" msgstr ":func:`on_guild_unavailable`" -#: ../../migrating.rst:516 -msgid "" -"The :func:`on_voice_state_update` event has received an argument change." +#: ../../migrating.rst:523 +msgid "The :func:`on_voice_state_update` event has received an argument change." msgstr ":func:`on_voice_state_update` イベントの引数が変更されました。" -#: ../../migrating.rst:518 ../../migrating.rst:530 ../../migrating.rst:542 -#: ../../migrating.rst:602 ../../migrating.rst:911 +#: ../../migrating.rst:525 ../../migrating.rst:537 ../../migrating.rst:549 +#: ../../migrating.rst:609 ../../migrating.rst:918 msgid "Before: ::" msgstr "更新前" -#: ../../migrating.rst:522 ../../migrating.rst:534 ../../migrating.rst:546 -#: ../../migrating.rst:614 ../../migrating.rst:917 ../../migrating.rst:1070 +#: ../../migrating.rst:529 ../../migrating.rst:541 ../../migrating.rst:553 +#: ../../migrating.rst:621 ../../migrating.rst:924 ../../migrating.rst:1077 msgid "After: ::" msgstr "更新後" -#: ../../migrating.rst:526 +#: ../../migrating.rst:533 msgid "" "Instead of two :class:`Member` objects, the new event takes one " ":class:`Member` object and two :class:`VoiceState` objects." @@ -1328,23 +1348,21 @@ msgstr "" "新しくなったイベントは、二つの :class:`Member` の代わりに、 一つの :class:`Member` と二つの " ":class:`VoiceState` を受け取るようになりました。" -#: ../../migrating.rst:528 -msgid "" -"The :func:`on_guild_emojis_update` event has received an argument change." +#: ../../migrating.rst:535 +msgid "The :func:`on_guild_emojis_update` event has received an argument change." msgstr ":func:`on_guild_emojis_update` イベントの引数が変更されました。" -#: ../../migrating.rst:538 +#: ../../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:540 -msgid "" -"The :func:`on_member_ban` event has received an argument change as well:" +#: ../../migrating.rst:547 +msgid "The :func:`on_member_ban` event has received an argument change as well:" msgstr ":func:`on_member_ban` も引数が変更されました。" -#: ../../migrating.rst:550 +#: ../../migrating.rst:557 msgid "" "As part of the change, the event can either receive a :class:`User` or " ":class:`Member`. To help in the cases that have :class:`User`, the " @@ -1353,804 +1371,812 @@ msgstr "" "変更の一つは、イベントが :class:`Member` または :class:`User` のどちらかを受け取れるようになったことです。 " ":class:`User` で受け取る場合には第一引数として :class:`Guild` が渡されます。" -#: ../../migrating.rst:553 +#: ../../migrating.rst:560 msgid "" "The ``on_channel_`` events have received a type level split (see " ":ref:`migrating_1_0_channel_split`)." msgstr "" -#: ../../migrating.rst:557 +#: ../../migrating.rst:564 msgid "``on_channel_delete``" msgstr "``on_channel_delete``" -#: ../../migrating.rst:558 +#: ../../migrating.rst:565 msgid "``on_channel_create``" msgstr "``on_channel_create``" -#: ../../migrating.rst:559 +#: ../../migrating.rst:566 msgid "``on_channel_update``" msgstr "``on_channel_update``" -#: ../../migrating.rst:563 +#: ../../migrating.rst:570 msgid ":func:`on_guild_channel_delete`" msgstr ":func:`on_guild_channel_delete`" -#: ../../migrating.rst:564 +#: ../../migrating.rst:571 msgid ":func:`on_guild_channel_create`" msgstr ":func:`on_guild_channel_create`" -#: ../../migrating.rst:565 +#: ../../migrating.rst:572 msgid ":func:`on_guild_channel_update`" msgstr ":func:`on_guild_channel_update`" -#: ../../migrating.rst:566 +#: ../../migrating.rst:573 msgid ":func:`on_private_channel_delete`" msgstr ":func:`on_private_channel_delete`" -#: ../../migrating.rst:567 +#: ../../migrating.rst:574 msgid ":func:`on_private_channel_create`" msgstr ":func:`on_private_channel_create`" -#: ../../migrating.rst:568 +#: ../../migrating.rst:575 msgid ":func:`on_private_channel_update`" msgstr ":func:`on_private_channel_update`" -#: ../../migrating.rst:570 +#: ../../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 "" -#: ../../migrating.rst:577 +#: ../../migrating.rst:584 msgid "Voice Changes" msgstr "" -#: ../../migrating.rst:579 +#: ../../migrating.rst:586 msgid "Voice sending has gone through a complete redesign." msgstr "" -#: ../../migrating.rst:581 +#: ../../migrating.rst:588 msgid "In particular:" msgstr "" -#: ../../migrating.rst:583 +#: ../../migrating.rst:590 msgid "" "Connection is done through :meth:`VoiceChannel.connect` instead of " "``Client.join_voice_channel``." msgstr "" -#: ../../migrating.rst:584 +#: ../../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:585 +#: ../../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:586 +#: ../../migrating.rst:593 msgid "There are different built-in :class:`AudioSource`\\s." msgstr "" -#: ../../migrating.rst:588 +#: ../../migrating.rst:595 msgid ":class:`FFmpegPCMAudio` is the equivalent of ``create_ffmpeg_player``" msgstr "" -#: ../../migrating.rst:590 +#: ../../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:592 +#: ../../migrating.rst:599 msgid "The goal is to create :class:`AudioSource` instead." msgstr "" -#: ../../migrating.rst:594 +#: ../../migrating.rst:601 msgid "Using :meth:`VoiceClient.play` will not return an ``AudioPlayer``." msgstr "" -#: ../../migrating.rst:596 +#: ../../migrating.rst:603 msgid "Instead, it's \"flattened\" like :class:`User` -> :class:`Member` is." msgstr "" -#: ../../migrating.rst:598 +#: ../../migrating.rst:605 msgid "The ``after`` parameter now takes a single parameter (the error)." msgstr "" -#: ../../migrating.rst:600 +#: ../../migrating.rst:607 msgid "Basically:" msgstr "" -#: ../../migrating.rst:624 +#: ../../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 "" -#: ../../migrating.rst:627 +#: ../../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 "" -#: ../../migrating.rst:632 +#: ../../migrating.rst:639 msgid "" "An added benefit of the redesign is that it will be much more resilient " "towards reconnections:" msgstr "" -#: ../../migrating.rst:634 +#: ../../migrating.rst:641 msgid "" "The voice websocket will now automatically re-connect and re-do the " "handshake when disconnected." msgstr "" -#: ../../migrating.rst:635 +#: ../../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 "" -#: ../../migrating.rst:636 +#: ../../migrating.rst:643 msgid "Audio will now stop and resume when a disconnect is found." msgstr "" -#: ../../migrating.rst:638 +#: ../../migrating.rst:645 msgid "This includes changing voice regions etc." msgstr "" -#: ../../migrating.rst:644 +#: ../../migrating.rst:651 msgid "Waiting For Events" msgstr "" -#: ../../migrating.rst:646 +#: ../../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 "" -#: ../../migrating.rst:650 +#: ../../migrating.rst:657 msgid "" "In v1.0 the concept of waiting for another event has been generalised to " "work with any event as :meth:`Client.wait_for`." msgstr "" -#: ../../migrating.rst:652 +#: ../../migrating.rst:659 msgid "For example, to wait for a message: ::" msgstr "" -#: ../../migrating.rst:663 +#: ../../migrating.rst:670 msgid "" "To facilitate multiple returns, :meth:`Client.wait_for` returns either a " "single argument, no arguments, or a tuple of arguments." msgstr "" -#: ../../migrating.rst:666 +#: ../../migrating.rst:673 msgid "For example, to wait for a reaction: ::" msgstr "" -#: ../../migrating.rst:672 +#: ../../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 "" -#: ../../migrating.rst:689 +#: ../../migrating.rst:696 msgid "Upgraded Dependencies" msgstr "" -#: ../../migrating.rst:691 +#: ../../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 "" -#: ../../migrating.rst:693 +#: ../../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 "" -#: ../../migrating.rst:698 +#: ../../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:700 +#: ../../migrating.rst:707 msgid "``aiohttp.get``" msgstr "``aiohttp.get``" -#: ../../migrating.rst:701 +#: ../../migrating.rst:708 msgid "``aiohttp.post``" msgstr "``aiohttp.post``" -#: ../../migrating.rst:702 +#: ../../migrating.rst:709 msgid "``aiohttp.delete``" msgstr "``aiohttp.delete``" -#: ../../migrating.rst:703 +#: ../../migrating.rst:710 msgid "``aiohttp.patch``" msgstr "``aiohttp.patch``" -#: ../../migrating.rst:704 +#: ../../migrating.rst:711 msgid "``aiohttp.head``" msgstr "``aiohttp.head``" -#: ../../migrating.rst:705 +#: ../../migrating.rst:712 msgid "``aiohttp.put``" msgstr "``aiohttp.put``" -#: ../../migrating.rst:706 +#: ../../migrating.rst:713 msgid "``aiohttp.request``" msgstr "``aiohttp.request``" -#: ../../migrating.rst:708 +#: ../../migrating.rst:715 msgid "It is recommended that you create a session instead: ::" msgstr "" -#: ../../migrating.rst:714 +#: ../../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 "" -#: ../../migrating.rst:718 +#: ../../migrating.rst:725 msgid "Sharding" msgstr "" -#: ../../migrating.rst:720 +#: ../../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:722 +#: ../../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 "" -#: ../../migrating.rst:724 +#: ../../migrating.rst:731 msgid "" "This class allows you to use sharding without having to launch multiple " "processes or deal with complicated IPC." msgstr "" -#: ../../migrating.rst:726 +#: ../../migrating.rst:733 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 "" -#: ../../migrating.rst:729 +#: ../../migrating.rst:736 msgid "Usage is as simple as doing: ::" msgstr "" -#: ../../migrating.rst:733 +#: ../../migrating.rst:740 msgid "instead of using :class:`Client`." msgstr "" -#: ../../migrating.rst:735 +#: ../../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 "" -#: ../../migrating.rst:738 +#: ../../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 "" -#: ../../migrating.rst:746 +#: ../../migrating.rst:753 msgid "" "For users of the command extension, there is also " ":class:`~ext.commands.AutoShardedBot` which behaves similarly." msgstr "" -#: ../../migrating.rst:749 +#: ../../migrating.rst:756 msgid "Connection Improvements" msgstr "" -#: ../../migrating.rst:751 -msgid "" -"In v1.0, the auto reconnection logic has been powered up significantly." +#: ../../migrating.rst:758 +msgid "In v1.0, the auto reconnection logic has been powered up significantly." msgstr "" -#: ../../migrating.rst:753 +#: ../../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 "" -#: ../../migrating.rst:757 +#: ../../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 "" -#: ../../migrating.rst:763 +#: ../../migrating.rst:770 msgid "Command Extension Changes" msgstr "" -#: ../../migrating.rst:765 +#: ../../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 "" -#: ../../migrating.rst:769 +#: ../../migrating.rst:776 msgid "Context Changes" msgstr "" -#: ../../migrating.rst:771 +#: ../../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 "" -#: ../../migrating.rst:773 +#: ../../migrating.rst:780 msgid "" "The biggest change is that ``pass_context=True`` no longer exists, " ":class:`.Context` is always passed. Ergo:" msgstr "" -#: ../../migrating.rst:787 +#: ../../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 "" -#: ../../migrating.rst:793 +#: ../../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 "" -#: ../../migrating.rst:795 +#: ../../migrating.rst:802 msgid "**New Shortcuts**" msgstr "**新しいショートカット**" -#: ../../migrating.rst:797 +#: ../../migrating.rst:804 msgid "" ":attr:`~ext.commands.Context.author` is a shortcut for " "``ctx.message.author``." msgstr "" -#: ../../migrating.rst:798 +#: ../../migrating.rst:805 msgid "" -":attr:`~ext.commands.Context.guild` is a shortcut for ``ctx.message.guild``." +":attr:`~ext.commands.Context.guild` is a shortcut for " +"``ctx.message.guild``." msgstr "" -#: ../../migrating.rst:799 +#: ../../migrating.rst:806 msgid "" ":attr:`~ext.commands.Context.channel` is a shortcut for " "``ctx.message.channel``." msgstr "" -#: ../../migrating.rst:800 +#: ../../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 "" -#: ../../migrating.rst:801 +#: ../../migrating.rst:808 msgid "" ":attr:`~ext.commands.Context.voice_client` is a shortcut for " "``ctx.message.guild.voice_client``." msgstr "" -#: ../../migrating.rst:803 +#: ../../migrating.rst:810 msgid "**New Functionality**" msgstr "" -#: ../../migrating.rst:805 +#: ../../migrating.rst:812 msgid ":meth:`~.Context.reinvoke` to invoke a command again." msgstr "" -#: ../../migrating.rst:807 +#: ../../migrating.rst:814 msgid "This is useful for bypassing cooldowns." msgstr "" -#: ../../migrating.rst:810 +#: ../../migrating.rst:817 msgid "Subclassing Context" msgstr "" -#: ../../migrating.rst:812 +#: ../../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 "" -#: ../../migrating.rst:815 +#: ../../migrating.rst:822 msgid "For example, if you want to add some functionality to the context:" msgstr "" -#: ../../migrating.rst:824 +#: ../../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 "" -#: ../../migrating.rst:834 +#: ../../migrating.rst:841 msgid "Now inside your commands you will have access to your custom context:" msgstr "" -#: ../../migrating.rst:845 +#: ../../migrating.rst:852 msgid "Removed Helpers" msgstr "" -#: ../../migrating.rst:847 +#: ../../migrating.rst:854 msgid "" "With the new :class:`.Context` changes, a lot of message sending helpers " "have been removed." msgstr "" -#: ../../migrating.rst:849 +#: ../../migrating.rst:856 msgid "For a full list of changes, see below:" msgstr "" -#: ../../migrating.rst:854 +#: ../../migrating.rst:861 msgid "``Bot.say``" msgstr "``Bot.say``" -#: ../../migrating.rst:854 ../../migrating.rst:856 +#: ../../migrating.rst:861 ../../migrating.rst:863 msgid ":meth:`.Context.send`" msgstr ":meth:`.Context.send`" -#: ../../migrating.rst:856 +#: ../../migrating.rst:863 msgid "``Bot.upload``" msgstr "``Bot.upload``" -#: ../../migrating.rst:858 +#: ../../migrating.rst:865 msgid "``Bot.whisper``" msgstr "``Bot.whisper``" -#: ../../migrating.rst:858 +#: ../../migrating.rst:865 msgid "``ctx.author.send``" msgstr "``ctx.author.send``" -#: ../../migrating.rst:860 +#: ../../migrating.rst:867 msgid "``Bot.type``" msgstr "``Bot.type``" -#: ../../migrating.rst:860 +#: ../../migrating.rst:867 msgid ":meth:`.Context.typing` or :meth:`.Context.trigger_typing`" msgstr ":meth:`.Context.typing` または :meth:`.Context.trigger_typing`" -#: ../../migrating.rst:862 +#: ../../migrating.rst:869 msgid "``Bot.reply``" msgstr "``Bot.reply``" -#: ../../migrating.rst:862 +#: ../../migrating.rst:869 msgid "No replacement." msgstr "" -#: ../../migrating.rst:866 +#: ../../migrating.rst:873 msgid "Command Changes" msgstr "" -#: ../../migrating.rst:868 +#: ../../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 "" -#: ../../migrating.rst:871 +#: ../../migrating.rst:878 msgid "" "Another change is the removal of ``no_pm=True``. Instead, use the new " ":func:`~ext.commands.guild_only` built-in check." msgstr "" -#: ../../migrating.rst:874 +#: ../../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 "" -#: ../../migrating.rst:877 +#: ../../migrating.rst:884 msgid "Command instances have gained new attributes and properties:" msgstr "" -#: ../../migrating.rst:879 +#: ../../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 "" -#: ../../migrating.rst:880 -msgid "" -":attr:`~.Command.usage`, an attribute to override the default signature." +#: ../../migrating.rst:887 +msgid ":attr:`~.Command.usage`, an attribute to override the default signature." msgstr "" -#: ../../migrating.rst:881 +#: ../../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 "" -#: ../../migrating.rst:883 +#: ../../migrating.rst:890 msgid "" "For :class:`~ext.commands.Group` and :class:`~ext.commands.Bot` the " "following changed:" msgstr "" -#: ../../migrating.rst:885 +#: ../../migrating.rst:892 msgid "Changed :attr:`~.GroupMixin.commands` to be a ``set`` without aliases." msgstr "" -#: ../../migrating.rst:887 +#: ../../migrating.rst:894 msgid "" "Use :attr:`~.GroupMixin.all_commands` to get the old ``dict`` with all " "commands." msgstr "" -#: ../../migrating.rst:890 +#: ../../migrating.rst:897 msgid "Check Changes" msgstr "" -#: ../../migrating.rst:892 +#: ../../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 "" -#: ../../migrating.rst:894 +#: ../../migrating.rst:901 msgid "Along with this change, a couple new checks were added." msgstr "" -#: ../../migrating.rst:896 +#: ../../migrating.rst:903 msgid "" ":func:`~ext.commands.guild_only` replaces the old ``no_pm=True`` " "functionality." msgstr "" -#: ../../migrating.rst:897 +#: ../../migrating.rst:904 msgid "" ":func:`~ext.commands.is_owner` uses the :meth:`Client.application_info` " "endpoint by default to fetch owner ID." msgstr "" -#: ../../migrating.rst:899 +#: ../../migrating.rst:906 msgid "" "This is actually powered by a different function, " ":meth:`~ext.commands.Bot.is_owner`." msgstr "" -#: ../../migrating.rst:900 +#: ../../migrating.rst:907 msgid "You can set the owner ID yourself by setting :attr:`.Bot.owner_id`." msgstr "" -#: ../../migrating.rst:902 +#: ../../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 "" -#: ../../migrating.rst:904 +#: ../../migrating.rst:911 msgid "This is powered by the new :meth:`TextChannel.is_nsfw` method." msgstr "" -#: ../../migrating.rst:909 +#: ../../migrating.rst:916 msgid "All command extension events have changed." msgstr "" -#: ../../migrating.rst:923 +#: ../../migrating.rst:930 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 "" -#: ../../migrating.rst:928 +#: ../../migrating.rst:935 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 "" -#: ../../migrating.rst:933 +#: ../../migrating.rst:940 msgid "Cog Changes" msgstr "" -#: ../../migrating.rst:935 +#: ../../migrating.rst:942 msgid "Cog special methods have changed slightly." msgstr "" -#: ../../migrating.rst:937 +#: ../../migrating.rst:944 msgid "" "The previous ``__check`` special method has been renamed to " "``__global_check`` to make it more clear that it's a global check." msgstr "" -#: ../../migrating.rst:940 +#: ../../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:945 +#: ../../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:948 +#: ../../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:950 +#: ../../migrating.rst:957 msgid "An example cog with every special method registered is as follows: ::" msgstr "" -#: ../../migrating.rst:981 +#: ../../migrating.rst:988 msgid "Before and After Invocation Hooks" msgstr "" -#: ../../migrating.rst:983 +#: ../../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:986 +#: ../../migrating.rst:993 msgid "" -"They take a single parameter, :class:`~ext.commands.Context` and they must " -"be a coroutine." +"They take a single parameter, :class:`~ext.commands.Context` and they " +"must be a coroutine." msgstr "" -#: ../../migrating.rst:988 +#: ../../migrating.rst:995 msgid "They are on a global, per-cog, or per-command basis." msgstr "" -#: ../../migrating.rst:1005 +#: ../../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 "" -#: ../../migrating.rst:1008 +#: ../../migrating.rst:1015 msgid "The per-command registration is as follows: ::" msgstr "" -#: ../../migrating.rst:1024 +#: ../../migrating.rst:1031 msgid "" "The special cog method for these is ``__before_invoke`` and " "``__after_invoke``, e.g.: ::" msgstr "" -#: ../../migrating.rst:1037 +#: ../../migrating.rst:1044 msgid "" "To check if a command failed in the after invocation hook, you can use " ":attr:`.Context.command_failed`." msgstr "" -#: ../../migrating.rst:1040 +#: ../../migrating.rst:1047 msgid "The invocation order is as follows:" msgstr "" -#: ../../migrating.rst:1042 +#: ../../migrating.rst:1049 msgid "Command local before invocation hook" msgstr "" -#: ../../migrating.rst:1043 +#: ../../migrating.rst:1050 msgid "Cog local before invocation hook" msgstr "" -#: ../../migrating.rst:1044 +#: ../../migrating.rst:1051 msgid "Global before invocation hook" msgstr "" -#: ../../migrating.rst:1045 +#: ../../migrating.rst:1052 msgid "The actual command" msgstr "" -#: ../../migrating.rst:1046 +#: ../../migrating.rst:1053 msgid "Command local after invocation hook" msgstr "" -#: ../../migrating.rst:1047 +#: ../../migrating.rst:1054 msgid "Cog local after invocation hook" msgstr "" -#: ../../migrating.rst:1048 +#: ../../migrating.rst:1055 msgid "Global after invocation hook" msgstr "" -#: ../../migrating.rst:1051 +#: ../../migrating.rst:1058 msgid "Converter Changes" msgstr "" -#: ../../migrating.rst:1053 +#: ../../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:1056 +#: ../../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:1060 +#: ../../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:1064 +#: ../../migrating.rst:1071 msgid "Essentially, before: ::" msgstr "" -#: ../../migrating.rst:1076 +#: ../../migrating.rst:1083 msgid "The command framework also got a couple new converters:" msgstr "" -#: ../../migrating.rst:1078 +#: ../../migrating.rst:1085 msgid "" ":class:`~ext.commands.clean_content` this is akin to " ":attr:`Message.clean_content` which scrubs mentions." msgstr "" -#: ../../migrating.rst:1079 +#: ../../migrating.rst:1086 msgid "" ":class:`~ext.commands.UserConverter` will now appropriately convert " ":class:`User` only." msgstr "" -#: ../../migrating.rst:1080 +#: ../../migrating.rst:1087 msgid "``ChannelConverter`` is now split into two different converters." msgstr "" -#: ../../migrating.rst:1082 +#: ../../migrating.rst:1089 msgid ":class:`~ext.commands.TextChannelConverter` for :class:`TextChannel`." msgstr "" -#: ../../migrating.rst:1083 -msgid "" -":class:`~ext.commands.VoiceChannelConverter` for :class:`VoiceChannel`." +#: ../../migrating.rst:1090 +msgid ":class:`~ext.commands.VoiceChannelConverter` for :class:`VoiceChannel`." msgstr "" +