diff --git a/docs/locale/ja/LC_MESSAGES/api.po b/docs/locale/ja/LC_MESSAGES/api.po index 1ccdb1685..301ab2b52 100644 --- a/docs/locale/ja/LC_MESSAGES/api.po +++ b/docs/locale/ja/LC_MESSAGES/api.po @@ -3,9 +3,9 @@ msgid "" msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-28 07:15-0400\n" -"PO-Revision-Date: 2019-06-28 11:14+0000\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" "Plural-Forms: nplurals=1; plural=0\n" @@ -77,61 +77,73 @@ msgstr "Discordに接続するクライアント接続を表します。この msgid "A number of options can be passed to the :class:`Client`." msgstr "多くのオプションを :class:`Client` に渡すことが可能です。" -#: ../../api.rst discord.Asset.read discord.Asset.save -#: discord.AsyncWebhookAdapter +#: ../../api.rst discord.Asset.save discord.AsyncWebhookAdapter #: discord.AsyncWebhookAdapter.handle_execution_response #: discord.AsyncWebhookAdapter.request discord.Attachment.read -#: discord.Attachment.save discord.AutoShardedClient.change_presence +#: discord.Attachment.save discord.Attachment.to_file +#: discord.AutoShardedClient.change_presence discord.AutoShardedClient.connect #: discord.AutoShardedClient.request_offline_members #: discord.CategoryChannel.clone discord.CategoryChannel.create_invite #: discord.CategoryChannel.delete discord.CategoryChannel.edit #: discord.CategoryChannel.overwrites_for #: discord.CategoryChannel.permissions_for #: discord.CategoryChannel.set_permissions discord.Client -#: discord.Client.change_presence discord.Client.connect -#: discord.Client.create_guild discord.Client.delete_invite -#: discord.Client.fetch_guild discord.Client.fetch_guilds -#: discord.Client.fetch_invite discord.Client.fetch_user +#: discord.Client.before_identify_hook discord.Client.change_presence +#: discord.Client.connect discord.Client.create_guild +#: discord.Client.delete_invite discord.Client.fetch_guild +#: discord.Client.fetch_guilds discord.Client.fetch_invite +#: discord.Client.fetch_template discord.Client.fetch_user #: discord.Client.fetch_user_profile discord.Client.fetch_widget -#: discord.Client.login discord.Client.request_offline_members -#: discord.Client.wait_for discord.ClientUser.avatar_url_as -#: discord.ClientUser.create_group discord.ClientUser.edit -#: discord.ClientUser.edit_settings discord.ClientUser.get_relationship -#: discord.ClientUser.mentioned_in discord.ClientUser.permissions_in -#: discord.DMChannel.fetch_message discord.DMChannel.history -#: discord.DMChannel.permissions_for discord.DMChannel.send -#: discord.Embed.add_field discord.Embed.from_dict +#: discord.Client.get_channel discord.Client.get_emoji discord.Client.get_guild +#: discord.Client.get_user discord.Client.login +#: discord.Client.request_offline_members discord.Client.wait_for +#: discord.ClientUser.avatar_url_as discord.ClientUser.create_group +#: discord.ClientUser.edit discord.ClientUser.edit_settings +#: discord.ClientUser.get_relationship discord.ClientUser.mentioned_in +#: discord.ClientUser.permissions_in discord.DMChannel.fetch_message +#: discord.DMChannel.history discord.DMChannel.permissions_for +#: discord.DMChannel.send discord.Embed.add_field discord.Embed.from_dict #: discord.Embed.insert_field_at discord.Embed.remove_field #: discord.Embed.set_author discord.Embed.set_field_at discord.Embed.set_footer #: discord.Embed.set_image discord.Embed.set_thumbnail discord.Emoji.delete -#: discord.Emoji.edit discord.FFmpegPCMAudio discord.Game -#: discord.GroupCall.voice_state_for discord.GroupChannel.add_recipients -#: discord.GroupChannel.edit discord.GroupChannel.fetch_message -#: discord.GroupChannel.history discord.GroupChannel.permissions_for -#: discord.GroupChannel.remove_recipients discord.GroupChannel.send -#: discord.Guild.audit_logs discord.Guild.ban discord.Guild.banner_url_as -#: discord.Guild.create_custom_emoji discord.Guild.create_role +#: discord.Emoji.edit discord.FFmpegOpusAudio +#: discord.FFmpegOpusAudio.from_probe discord.FFmpegOpusAudio.probe +#: discord.FFmpegPCMAudio discord.Game discord.GroupCall.voice_state_for +#: discord.GroupChannel.add_recipients discord.GroupChannel.edit +#: discord.GroupChannel.fetch_message discord.GroupChannel.history +#: discord.GroupChannel.permissions_for discord.GroupChannel.remove_recipients +#: discord.GroupChannel.send discord.Guild.audit_logs discord.Guild.ban +#: discord.Guild.banner_url_as discord.Guild.change_voice_state +#: discord.Guild.chunk discord.Guild.create_custom_emoji +#: discord.Guild.create_integration discord.Guild.create_role #: discord.Guild.create_text_channel discord.Guild.create_voice_channel -#: discord.Guild.edit discord.Guild.estimate_pruned_members +#: discord.Guild.discovery_splash_url_as discord.Guild.edit +#: discord.Guild.edit_role_positions discord.Guild.estimate_pruned_members #: discord.Guild.fetch_ban discord.Guild.fetch_emoji discord.Guild.fetch_member -#: discord.Guild.get_member_named discord.Guild.icon_url_as discord.Guild.kick -#: discord.Guild.prune_members discord.Guild.splash_url_as discord.Guild.unban +#: discord.Guild.fetch_members discord.Guild.get_channel +#: discord.Guild.get_member discord.Guild.get_member_named +#: discord.Guild.get_role discord.Guild.icon_url_as discord.Guild.kick +#: discord.Guild.prune_members discord.Guild.query_members +#: discord.Guild.splash_url_as discord.Guild.unban discord.Integration.edit #: discord.Invite.delete discord.Member.add_roles discord.Member.avatar_url_as #: discord.Member.edit discord.Member.fetch_message discord.Member.history #: discord.Member.mentioned_in discord.Member.move_to #: discord.Member.permissions_in discord.Member.remove_roles -#: discord.Member.send discord.Message.add_reaction discord.Message.delete -#: discord.Message.edit discord.Message.remove_reaction +#: discord.Member.send discord.MemberCacheFlags.from_intents +#: discord.Message.add_reaction discord.Message.clear_reaction +#: discord.Message.delete discord.Message.edit discord.Message.pin +#: discord.Message.remove_reaction discord.Message.unpin #: discord.PCMVolumeTransformer discord.PermissionOverwrite #: discord.PermissionOverwrite.update discord.Permissions.update #: discord.Reaction.remove discord.Reaction.users #: discord.RequestsWebhookAdapter #: discord.RequestsWebhookAdapter.handle_execution_response #: discord.RequestsWebhookAdapter.request discord.Role.delete discord.Role.edit -#: discord.TextChannel.clone discord.TextChannel.create_invite -#: discord.TextChannel.create_webhook discord.TextChannel.delete -#: discord.TextChannel.delete_messages discord.TextChannel.edit -#: discord.TextChannel.fetch_message discord.TextChannel.history +#: discord.Template.create_guild discord.TextChannel.clone +#: discord.TextChannel.create_invite discord.TextChannel.create_webhook +#: discord.TextChannel.delete discord.TextChannel.delete_messages +#: discord.TextChannel.edit discord.TextChannel.fetch_message +#: discord.TextChannel.follow 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 @@ -140,9 +152,14 @@ msgstr "多くのオプションを :class:`Client` に渡すことが可能で #: 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.VoiceChannel.set_permissions discord.VoiceClient.connect +#: discord.VoiceClient.move_to discord.VoiceClient.on_voice_server_update +#: discord.VoiceClient.on_voice_state_update discord.VoiceClient.play +#: discord.VoiceClient.send_audio_packet discord.VoiceProtocol +#: discord.VoiceProtocol.connect discord.VoiceProtocol.disconnect +#: discord.VoiceProtocol.on_voice_server_update +#: discord.VoiceProtocol.on_voice_state_update discord.Webhook.avatar_url_as +#: discord.Webhook.delete discord.Webhook.edit discord.Webhook.from_url #: discord.Webhook.partial discord.Webhook.send #: discord.WebhookAdapter.handle_execution_response #: discord.WebhookAdapter.request discord.Widget.fetch_invite @@ -156,20 +173,34 @@ msgstr "多くのオプションを :class:`Client` に渡すことが可能で #: discord.abc.Messageable.send discord.opus.load_opus #: discord.utils.escape_markdown discord.utils.escape_mentions #: discord.utils.find discord.utils.get discord.utils.oauth_url -#: discord.utils.resolve_invite of +#: discord.utils.resolve_invite discord.utils.resolve_template +#: discord.utils.sleep_until discord.utils.snowflake_time of msgid "Parameters" msgstr "パラメータ" #: discord.Client:6 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." +"This defaults to ``1000``. Passing in ``None`` disables the message " +"cache. .. versionchanged:: 1.3 Allow disabling the message cache and" +" change the default size to ``1000``." +msgstr "" + +#: discord.Client:6 of +#, fuzzy +msgid "" +"The maximum number of messages to store in the internal message cache. " +"This defaults to ``1000``. Passing in ``None`` disables the message " +"cache." msgstr "" "内部のメッセージキャッシュに格納するメッセージの最大数。デフォルトでは5000に設定されています。 ``None`` " "あるいは100未満の値を渡すと、渡された値の代わりにデフォルトの値が使用されます。" -#: discord.Client:10 of +#: discord.Client:9 of +msgid "Allow disabling the message cache and change the default size to ``1000``." +msgstr "" + +#: discord.Client:12 of msgid "" "The :class:`asyncio.AbstractEventLoop` to use for asynchronous " "operations. Defaults to ``None``, in which case the default event loop is" @@ -178,46 +209,96 @@ msgstr "" "非同期操作に使用する :class:`asyncio.AbstractEventLoop` 。デフォルトは ``None`` " "です。この場合、デフォルトのイベントループは :func:`asyncio.get_event_loop()` を介して使用されます。" -#: discord.Client:14 of +#: discord.Client:16 of msgid "The connector to use for connection pooling." msgstr "コネクションプーリングに使用するコネクタ。" -#: discord.Client:16 of +#: discord.Client:18 of msgid "Proxy URL." msgstr "プロキシのURL。" -#: discord.Client:18 of +#: discord.Client:20 of msgid "An object that represents proxy HTTP Basic Authorization." msgstr "プロキシのHTTP Basic認証を表すオブジェクト。" -#: discord.Client:20 of -msgid "Integer starting at 0 and less than :attr:`.shard_count`." +#: discord.Client:22 of +#, fuzzy +msgid "Integer starting at ``0`` and less than :attr:`.shard_count`." msgstr "0から始まり、 :attr:`.shard_count` より小さい整数。" -#: discord.Client:22 of +#: discord.Client:24 of msgid "The total number of shards." msgstr "Shardの総数。" -#: discord.Client:24 of +#: discord.Client:26 of +msgid "" +"The intents that you want to enable for the session. This is a way of " +"disabling and enabling certain gateway events from triggering and being " +"sent. If not given, defaults to a regularly constructed :class:`Intents` " +"class. .. versionadded:: 1.5" +msgstr "" + +#: discord.Client:26 of +msgid "" +"The intents that you want to enable for the session. This is a way of " +"disabling and enabling certain gateway events from triggering and being " +"sent. If not given, defaults to a regularly constructed :class:`Intents` " +"class." +msgstr "" + +#: discord.Client:32 of +msgid "" +"Allows for finer control over how the library caches members. If not " +"given, defaults to cache as much as possible with the currently selected " +"intents. .. versionadded:: 1.5" +msgstr "" + +#: discord.Client:32 of +msgid "" +"Allows for finer control over how the library caches members. If not " +"given, defaults to cache as much as possible with the currently selected " +"intents." +msgstr "" + +#: discord.Client:38 of +msgid "A deprecated alias of ``chunk_guilds_at_startup``." +msgstr "" + +#: discord.Client:40 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 chunk all guilds at " +"start-up if necessary. This operation is incredibly slow for large " +"amounts of guilds. The default is ``True`` if :attr:`Intents.members` is " +"``True``. .. versionadded:: 1.5" msgstr "" -"参加しているすべてのギルドのオフラインメンバーも取得するために、 :func:`.on_ready` を遅延させるかどうかを表します。これが " -"``False`` の場合、オフラインメンバーの取得は行われず、 :meth:`request_offline_members` " -"を使用してギルドのオフラインメンバーを取得する必要があります。" -#: discord.Client:29 of +#: discord.Client:40 of +msgid "" +"Indicates if :func:`.on_ready` should be delayed to chunk all guilds at " +"start-up if necessary. This operation is incredibly slow for large " +"amounts of guilds. The default is ``True`` if :attr:`Intents.members` is " +"``True``." +msgstr "" + +#: discord.Client:47 of msgid "A status to start your presence with upon logging on to Discord." msgstr "Discordにログインした際の、開始時ステータス。" -#: discord.Client:31 of +#: discord.Client:49 of msgid "An activity to start your presence with upon logging on to Discord." msgstr "Discordにログインした際の、開始時アクティビティ。" -#: discord.Client:33 of +#: discord.Client:51 of +msgid "" +"Control how the client handles mentions by default on every message sent." +" .. versionadded:: 1.4" +msgstr "" + +#: discord.Client:51 of +msgid "Control how the client handles mentions by default on every message sent." +msgstr "" + +#: discord.Client:55 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 " @@ -225,13 +306,153 @@ msgid "" "disconnecting you. The default timeout is 60 seconds." msgstr "HEARTBEAT_ACKを受信できない際に、WebSocketをタイムアウトさせて再起動するまでの最大秒数。最初のパケットの処理に時間がかかり、接続を切断できないというような状況時に便利です。デフォルトでは60秒に設定されています。" -#: discord.Client:41 of +#: discord.Client:60 of +msgid "" +"The maximum number of seconds to wait for the GUILD_CREATE stream to end " +"before preparing the member cache and firing READY. The default timeout " +"is 2 seconds. .. versionadded:: 1.4" +msgstr "" + +#: discord.Client:60 of +msgid "" +"The maximum number of seconds to wait for the GUILD_CREATE stream to end " +"before preparing the member cache and firing READY. The default timeout " +"is 2 seconds." +msgstr "" + +#: discord.Client:65 of +msgid "" +"Whether to dispatch presence or typing events. Defaults to ``True``. .. " +"versionadded:: 1.3 .. warning:: If this is set to ``False`` then " +"the following features will be disabled: - No user related " +"updates (:func:`on_user_update` will not dispatch) - All member " +"related events will be disabled. - :func:`on_member_update`" +" - :func:`on_member_join` - " +":func:`on_member_remove` - Typing events will be disabled " +"(:func:`on_typing`). - If ``fetch_offline_members`` is set to " +"``False`` then the user cache will not exist. This makes it " +"difficult or impossible to do many things, for example: - " +"Computing permissions - Querying members in a voice channel " +"via :attr:`VoiceChannel.members` will be empty. - Most forms " +"of receiving :class:`Member` will be receiving " +":class:`User` instead, except for message events. - " +":attr:`Guild.owner` will usually resolve to ``None``. - " +":meth:`Guild.get_member` will usually be unavailable. - " +"Anything that involves using :class:`Member`. - :attr:`users`" +" will not be as populated. - etc. In short, this makes " +"it so the only member you can reliably query is the message author. " +"Useful for bots that do not require any state." +msgstr "" + +#: discord.Client:65 of +msgid "Whether to dispatch presence or typing events. Defaults to ``True``." +msgstr "" + +#: discord.Client:71 of +msgid "If this is set to ``False`` then the following features will be disabled:" +msgstr "" + +#: discord.Client:73 of +msgid "No user related updates (:func:`on_user_update` will not dispatch)" +msgstr "" + +#: discord.Client:77 of +msgid "All member related events will be disabled." +msgstr "" + +#: discord.Client:75 of +msgid ":func:`on_member_update`" +msgstr "" + +#: discord.Client:76 discord.Intents.members:5 of +msgid ":func:`on_member_join`" +msgstr "" + +#: discord.Client:77 discord.Intents.members:6 of +msgid ":func:`on_member_remove`" +msgstr "" + +#: discord.Client:79 of +msgid "Typing events will be disabled (:func:`on_typing`)." +msgstr "" + +#: discord.Client:80 of +msgid "" +"If ``fetch_offline_members`` is set to ``False`` then the user cache will" +" not exist. This makes it difficult or impossible to do many things, for " +"example:" +msgstr "" + +#: discord.Client:83 of +msgid "Computing permissions" +msgstr "" + +#: discord.Client:84 of +msgid "" +"Querying members in a voice channel via :attr:`VoiceChannel.members` will" +" be empty." +msgstr "" + +#: discord.Client:85 of +msgid "" +"Most forms of receiving :class:`Member` will be receiving :class:`User` " +"instead, except for message events." +msgstr "" + +#: discord.Client:87 of +msgid ":attr:`Guild.owner` will usually resolve to ``None``." +msgstr "" + +#: discord.Client:88 of +msgid ":meth:`Guild.get_member` will usually be unavailable." +msgstr "" + +#: discord.Client:89 of +msgid "Anything that involves using :class:`Member`." +msgstr "" + +#: discord.Client:90 of +msgid ":attr:`users` will not be as populated." +msgstr "" + +#: discord.Client:91 of +#, fuzzy +msgid "etc." +msgstr "その他" + +#: discord.Client:93 of +msgid "" +"In short, this makes it so the only member you can reliably query is the " +"message author. Useful for bots that do not require any state." +msgstr "" + +#: discord.Client:96 of +msgid "" +"Whether to assume the system clock is unsynced. This applies to the " +"ratelimit handling code. If this is set to ``True``, the default, then " +"the library uses the time to reset a rate limit bucket given by Discord. " +"If this is ``False`` then your system clock is used to calculate how long" +" to sleep for. If this is set to ``False`` it is recommended to sync your" +" system clock to Google's NTP server. .. versionadded:: 1.3" +msgstr "" + +#: discord.Client:96 of +msgid "" +"Whether to assume the system clock is unsynced. This applies to the " +"ratelimit handling code. If this is set to ``True``, the default, then " +"the library uses the time to reset a rate limit bucket given by Discord. " +"If this is ``False`` then your system clock is used to calculate how long" +" to sleep for. If this is set to ``False`` it is recommended to sync your" +" system clock to Google's NTP server." +msgstr "" + +#: discord.Client:107 of msgid "" "The websocket gateway the client is currently connected to. Could be " "``None``." msgstr "クライアントが現在接続しているWebSocketゲートウェイ。 ``None`` でもかまいません。" -#: discord.Client:45 of +#: discord.Client:111 of #, fuzzy msgid "" "The event loop that the client uses for HTTP requests and websocket " @@ -240,57 +461,89 @@ msgstr "" ":class:`asyncio.AbstractEventLoop` -- " "クライアントのHTTPリクエストとWebSocket操作に使われるイベントループ。" -#: discord.Activity discord.Activity.end discord.Activity.large_image_text -#: discord.Activity.large_image_url discord.Activity.small_image_text -#: discord.Activity.small_image_url discord.Activity.start discord.AppInfo +#: ../../api.rst discord.Activity discord.Activity.end +#: discord.Activity.large_image_text discord.Activity.large_image_url +#: discord.Activity.small_image_text discord.Activity.small_image_url +#: discord.Activity.start discord.AllowedMentions discord.AppInfo +#: discord.AppInfo.cover_image_url discord.AppInfo.guild #: discord.AppInfo.icon_url discord.Attachment discord.AuditLogEntry #: discord.AuditLogEntry.after discord.AuditLogEntry.before #: discord.AuditLogEntry.category discord.AuditLogEntry.changes #: discord.AuditLogEntry.created_at discord.AutoShardedClient #: discord.AutoShardedClient.latencies discord.AutoShardedClient.latency +#: discord.AutoShardedClient.shards discord.BaseActivity.created_at #: discord.CallMessage discord.CallMessage.call_ended #: discord.CallMessage.channel discord.CategoryChannel #: discord.CategoryChannel.category discord.CategoryChannel.changed_roles #: discord.CategoryChannel.channels discord.CategoryChannel.created_at -#: discord.CategoryChannel.mention discord.CategoryChannel.text_channels -#: discord.CategoryChannel.type discord.CategoryChannel.voice_channels -#: discord.Client discord.Client.activity discord.Client.cached_messages -#: discord.Client.emojis discord.Client.guilds discord.Client.latency +#: discord.CategoryChannel.mention discord.CategoryChannel.permissions_synced +#: discord.CategoryChannel.text_channels discord.CategoryChannel.type +#: discord.CategoryChannel.voice_channels discord.Client +#: discord.Client.activity discord.Client.allowed_mentions +#: discord.Client.cached_messages discord.Client.emojis discord.Client.guilds +#: discord.Client.intents discord.Client.latency #: discord.Client.private_channels discord.Client.user discord.Client.users -#: discord.Client.voice_clients discord.ClientUser discord.ClientUser.blocked +#: discord.Client.voice_clients discord.ClientUser +#: discord.ClientUser.avatar_url discord.ClientUser.blocked #: discord.ClientUser.color discord.ClientUser.colour #: discord.ClientUser.created_at discord.ClientUser.default_avatar #: discord.ClientUser.default_avatar_url discord.ClientUser.display_name #: discord.ClientUser.friends discord.ClientUser.mention -#: discord.ClientUser.relationships discord.Colour discord.Colour.b -#: discord.Colour.g discord.Colour.r discord.ConnectionClosed discord.DMChannel -#: discord.DMChannel.type discord.Embed discord.Emoji discord.Emoji.created_at +#: discord.ClientUser.public_flags discord.ClientUser.relationships +#: discord.Colour discord.Colour.b discord.Colour.g discord.Colour.r +#: discord.ConnectionClosed discord.CustomActivity discord.CustomActivity.type +#: discord.DMChannel discord.DMChannel.created_at discord.DMChannel.type +#: discord.Embed discord.Embed.author discord.Embed.fields discord.Embed.footer +#: discord.Embed.image discord.Embed.provider discord.Embed.thumbnail +#: discord.Embed.video discord.Emoji discord.Emoji.created_at #: discord.Emoji.guild discord.Emoji.roles discord.Emoji.url discord.File -#: discord.Game discord.Game.end discord.Game.start discord.GroupCall -#: discord.GroupCall.channel discord.GroupCall.connected discord.GroupChannel -#: discord.GroupChannel.created_at discord.GroupChannel.icon_url -#: discord.GroupChannel.type discord.Guild discord.Guild.banner_url -#: discord.Guild.bitrate_limit discord.Guild.categories discord.Guild.channels -#: discord.Guild.created_at discord.Guild.emoji_limit +#: discord.Game discord.Game.end discord.Game.start discord.Game.type +#: discord.GroupCall discord.GroupCall.channel discord.GroupCall.connected +#: discord.GroupChannel discord.GroupChannel.created_at +#: discord.GroupChannel.icon_url discord.GroupChannel.type discord.Guild +#: discord.Guild.banner_url discord.Guild.bitrate_limit +#: discord.Guild.categories discord.Guild.channels discord.Guild.chunked +#: discord.Guild.created_at discord.Guild.default_role +#: discord.Guild.discovery_splash_url discord.Guild.emoji_limit #: discord.Guild.filesize_limit discord.Guild.icon_url discord.Guild.large -#: discord.Guild.members discord.Guild.owner discord.Guild.premium_subscribers -#: discord.Guild.shard_id discord.Guild.splash_url discord.Guild.system_channel -#: discord.Guild.system_channel_flags discord.Guild.text_channels -#: discord.Guild.voice_channels discord.HTTPException discord.Invite -#: discord.Invite.id discord.Invite.url discord.Member discord.Member.activity -#: discord.Member.color discord.Member.colour discord.Member.desktop_status -#: discord.Member.display_name discord.Member.mention -#: discord.Member.mobile_status discord.Member.roles discord.Member.status -#: discord.Member.top_role discord.Member.voice discord.Member.web_status -#: discord.Message discord.Message.created_at discord.Message.edited_at -#: discord.Message.guild discord.Message.jump_url -#: discord.Message.raw_channel_mentions discord.Message.raw_mentions -#: discord.Message.raw_role_mentions discord.Object discord.Object.created_at -#: discord.PCMAudio discord.PartialEmoji discord.PartialEmoji.url -#: discord.PartialInviteChannel discord.PartialInviteChannel.created_at -#: discord.PartialInviteChannel.mention discord.PartialInviteGuild -#: discord.PartialInviteGuild.banner_url discord.PartialInviteGuild.created_at -#: discord.PartialInviteGuild.icon_url discord.PartialInviteGuild.splash_url +#: discord.Guild.me discord.Guild.member_count discord.Guild.members +#: discord.Guild.owner discord.Guild.premium_subscribers +#: discord.Guild.public_updates_channel discord.Guild.roles +#: discord.Guild.rules_channel discord.Guild.shard_id discord.Guild.splash_url +#: discord.Guild.system_channel discord.Guild.system_channel_flags +#: discord.Guild.text_channels discord.Guild.voice_channels +#: discord.Guild.voice_client discord.HTTPException discord.Integration +#: discord.IntegrationAccount discord.Intents discord.Intents.bans +#: discord.Intents.dm_messages discord.Intents.dm_reactions +#: discord.Intents.dm_typing discord.Intents.emojis +#: discord.Intents.guild_messages discord.Intents.guild_reactions +#: discord.Intents.guild_typing discord.Intents.guilds +#: discord.Intents.integrations discord.Intents.invites discord.Intents.members +#: discord.Intents.messages discord.Intents.presences discord.Intents.reactions +#: discord.Intents.typing discord.Intents.voice_states discord.Intents.webhooks +#: discord.Invite discord.Invite.id discord.Invite.url discord.Member +#: discord.Member.activity discord.Member.color discord.Member.colour +#: discord.Member.desktop_status discord.Member.display_name +#: discord.Member.guild_permissions discord.Member.mention +#: discord.Member.mobile_status discord.Member.raw_status discord.Member.roles +#: discord.Member.status discord.Member.top_role discord.Member.voice +#: discord.Member.web_status discord.MemberCacheFlags +#: discord.MemberCacheFlags.joined discord.MemberCacheFlags.online +#: discord.MemberCacheFlags.voice discord.Message discord.Message.clean_content +#: discord.Message.created_at discord.Message.edited_at discord.Message.guild +#: discord.Message.jump_url discord.Message.raw_channel_mentions +#: discord.Message.raw_mentions discord.Message.raw_role_mentions +#: discord.Message.system_content discord.MessageFlags +#: discord.MessageFlags.crossposted discord.MessageFlags.is_crossposted +#: discord.MessageFlags.source_message_deleted +#: discord.MessageFlags.suppress_embeds discord.MessageFlags.urgent +#: discord.MessageReference discord.MessageReference.cached_message +#: discord.Object discord.Object.created_at discord.PCMAudio +#: discord.PartialEmoji discord.PartialEmoji.url discord.PartialInviteChannel +#: discord.PartialInviteChannel.created_at discord.PartialInviteChannel.mention +#: discord.PartialInviteGuild discord.PartialInviteGuild.banner_url +#: discord.PartialInviteGuild.created_at discord.PartialInviteGuild.icon_url +#: discord.PartialInviteGuild.splash_url discord.Permissions #: discord.Permissions.add_reactions discord.Permissions.administrator #: discord.Permissions.attach_files discord.Permissions.ban_members #: discord.Permissions.change_nickname discord.Permissions.connect @@ -299,47 +552,71 @@ msgstr "" #: discord.Permissions.kick_members discord.Permissions.manage_channels #: discord.Permissions.manage_emojis discord.Permissions.manage_guild #: discord.Permissions.manage_messages discord.Permissions.manage_nicknames -#: discord.Permissions.manage_roles discord.Permissions.manage_webhooks -#: discord.Permissions.mention_everyone discord.Permissions.move_members -#: discord.Permissions.mute_members discord.Permissions.priority_speaker +#: discord.Permissions.manage_permissions discord.Permissions.manage_roles +#: discord.Permissions.manage_webhooks discord.Permissions.mention_everyone +#: discord.Permissions.move_members discord.Permissions.mute_members +#: discord.Permissions.priority_speaker #: discord.Permissions.read_message_history discord.Permissions.read_messages #: discord.Permissions.send_messages discord.Permissions.send_tts_messages #: discord.Permissions.speak discord.Permissions.stream +#: discord.Permissions.use_external_emojis #: discord.Permissions.use_voice_activation discord.Permissions.view_audit_log +#: discord.Permissions.view_channel discord.Permissions.view_guild_insights +#: discord.PrivilegedIntentsRequired discord.PublicUserFlags +#: discord.PublicUserFlags.bug_hunter +#: discord.PublicUserFlags.bug_hunter_level_2 +#: discord.PublicUserFlags.early_supporter +#: discord.PublicUserFlags.early_verified_bot_developer +#: discord.PublicUserFlags.hypesquad discord.PublicUserFlags.hypesquad_balance +#: discord.PublicUserFlags.hypesquad_bravery +#: discord.PublicUserFlags.hypesquad_brilliance discord.PublicUserFlags.partner +#: discord.PublicUserFlags.staff discord.PublicUserFlags.system +#: discord.PublicUserFlags.team_user discord.PublicUserFlags.verified_bot +#: discord.PublicUserFlags.verified_bot_developer #: discord.RawBulkMessageDeleteEvent discord.RawMessageDeleteEvent #: discord.RawMessageUpdateEvent discord.RawReactionActionEvent -#: discord.RawReactionClearEvent discord.Reaction discord.Reaction.custom_emoji -#: discord.Relationship discord.Role discord.Role.created_at -#: discord.Role.members discord.Role.mention discord.Spotify.album +#: discord.RawReactionClearEmojiEvent discord.RawReactionClearEvent +#: discord.Reaction discord.Reaction.custom_emoji discord.Relationship +#: discord.Role discord.Role.color discord.Role.colour discord.Role.created_at +#: discord.Role.members discord.Role.mention discord.Role.permissions +#: discord.ShardInfo discord.ShardInfo.latency discord.Spotify.album #: discord.Spotify.album_cover_url discord.Spotify.artist -#: discord.Spotify.artists discord.Spotify.duration discord.Spotify.end +#: discord.Spotify.artists discord.Spotify.color discord.Spotify.colour +#: discord.Spotify.created_at discord.Spotify.duration discord.Spotify.end #: discord.Spotify.name discord.Spotify.party_id discord.Spotify.start -#: discord.Spotify.title discord.Spotify.track_id discord.Streaming -#: discord.Streaming.twitch_name discord.SystemChannelFlags -#: discord.SystemChannelFlags.join_notifications -#: discord.SystemChannelFlags.premium_subscriptions discord.TextChannel -#: discord.TextChannel.category discord.TextChannel.changed_roles -#: discord.TextChannel.created_at discord.TextChannel.members -#: discord.TextChannel.mention discord.TextChannel.type discord.User -#: discord.User.color discord.User.colour discord.User.created_at -#: discord.User.default_avatar discord.User.default_avatar_url -#: discord.User.display_name discord.User.dm_channel discord.User.mention -#: discord.VoiceChannel discord.VoiceChannel.category +#: discord.Spotify.title discord.Spotify.track_id discord.Spotify.type +#: discord.Streaming discord.Streaming.twitch_name discord.Streaming.type +#: discord.SystemChannelFlags discord.SystemChannelFlags.join_notifications +#: discord.SystemChannelFlags.premium_subscriptions discord.Team +#: discord.Team.icon_url discord.Team.owner discord.TeamMember discord.Template +#: discord.TextChannel discord.TextChannel.category +#: discord.TextChannel.changed_roles discord.TextChannel.created_at +#: discord.TextChannel.members discord.TextChannel.mention +#: discord.TextChannel.permissions_synced discord.TextChannel.type discord.User +#: discord.User.avatar_url discord.User.color discord.User.colour +#: discord.User.created_at discord.User.default_avatar +#: discord.User.default_avatar_url discord.User.display_name +#: discord.User.dm_channel discord.User.mention discord.User.public_flags +#: discord.User.relationship discord.VoiceChannel discord.VoiceChannel.category #: discord.VoiceChannel.changed_roles discord.VoiceChannel.created_at #: discord.VoiceChannel.members discord.VoiceChannel.mention -#: discord.VoiceChannel.type discord.VoiceClient discord.VoiceClient.guild +#: discord.VoiceChannel.permissions_synced discord.VoiceChannel.type +#: discord.VoiceClient discord.VoiceClient.average_latency +#: discord.VoiceClient.guild discord.VoiceClient.latency #: discord.VoiceClient.source discord.VoiceClient.user discord.VoiceState -#: discord.Webhook discord.Webhook.channel discord.Webhook.created_at -#: discord.Webhook.guild discord.WebhookAdapter discord.Widget -#: discord.Widget.created_at discord.Widget.invite_url discord.Widget.json_url -#: discord.WidgetChannel discord.WidgetChannel.created_at -#: discord.WidgetChannel.mention discord.WidgetMember +#: discord.Webhook discord.Webhook.avatar_url discord.Webhook.channel +#: discord.Webhook.created_at discord.Webhook.guild discord.Webhook.url +#: discord.WebhookAdapter discord.Widget discord.Widget.created_at +#: discord.Widget.invite_url discord.Widget.json_url discord.WidgetChannel +#: discord.WidgetChannel.created_at discord.WidgetChannel.mention +#: discord.WidgetMember discord.WidgetMember.avatar_url #: discord.WidgetMember.color discord.WidgetMember.colour #: discord.WidgetMember.created_at discord.WidgetMember.default_avatar #: discord.WidgetMember.default_avatar_url discord.WidgetMember.display_name -#: discord.WidgetMember.mention discord.abc.GuildChannel -#: discord.abc.GuildChannel.category discord.abc.GuildChannel.changed_roles -#: discord.abc.GuildChannel.created_at discord.abc.GuildChannel.mention +#: discord.WidgetMember.mention discord.WidgetMember.public_flags +#: discord.abc.GuildChannel discord.abc.GuildChannel.category +#: discord.abc.GuildChannel.changed_roles discord.abc.GuildChannel.created_at +#: discord.abc.GuildChannel.mention discord.abc.GuildChannel.permissions_synced #: discord.abc.PrivateChannel discord.abc.Snowflake #: discord.abc.Snowflake.created_at discord.abc.User #: discord.abc.User.display_name discord.abc.User.mention @@ -347,7 +624,7 @@ msgstr "" msgid "type" msgstr "" -#: discord.Client:47 discord.VoiceClient:42 of +#: discord.Client:113 discord.VoiceClient:41 of msgid ":class:`asyncio.AbstractEventLoop`" msgstr "" @@ -360,14 +637,15 @@ msgid "This could be referred to as the Discord WebSocket protocol latency." msgstr "これはDiscord WebSocketプロトコルの待ち時間とも言えます。" #: discord.AutoShardedClient.latency:7 discord.Client.latency:5 -#: discord.Guild.bitrate_limit:3 of +#: discord.Guild.bitrate_limit:3 discord.ShardInfo.latency:3 +#: discord.VoiceClient.average_latency:5 discord.VoiceClient.latency:8 of #, fuzzy msgid ":class:`float`" msgstr ":class:`str`" #: discord.Client.user:1 of #, fuzzy -msgid "Represents the connected client. None if not logged in." +msgid "Represents the connected client. ``None`` if not logged in." msgstr "Optional[:class:`.ClientUser`] -- 接続しているクライアントを表します。接続していない場合はNoneです。" #: discord.Client.user:3 of @@ -425,29 +703,35 @@ msgid "Represents a list of voice connections." msgstr "Discordの音声接続を表します。" #: discord.Client.voice_clients:3 of -#, fuzzy -msgid "List[:class:`.VoiceClient`]" -msgstr ":class:`.Profile`" +msgid "These are usually :class:`.VoiceClient` instances." +msgstr "" + +#: discord.Client.voice_clients:5 of +msgid "List[:class:`.VoiceProtocol`]" +msgstr "" #: discord.Client.is_ready:1 of -msgid "Specifies if the client's internal cache is ready for use." +#, fuzzy +msgid ":class:`bool`: Specifies if the client's internal cache is ready for use." msgstr "クライアントの内部キャッシュを使用できる状態にするかどうかを指定します。" -#: ../../api.rst:1568 ../../api.rst:1576 ../../api.rst:1587 ../../api.rst:1607 +#: ../../api.rst:2025 ../../api.rst:2033 ../../api.rst:2044 ../../api.rst:2064 #: discord.Asset.read:1 discord.Asset.save:1 discord.Attachment.read:1 -#: discord.Attachment.save:1 discord.AutoShardedClient.change_presence:1 -#: discord.AutoShardedClient.close:1 +#: discord.Attachment.save:1 discord.Attachment.to_file:1 +#: discord.AutoShardedClient.change_presence:1 +#: discord.AutoShardedClient.close:1 discord.AutoShardedClient.connect:1 #: discord.AutoShardedClient.request_offline_members:1 #: discord.CategoryChannel.clone:1 discord.CategoryChannel.create_invite:1 #: discord.CategoryChannel.create_text_channel:1 #: discord.CategoryChannel.create_voice_channel:1 #: discord.CategoryChannel.delete:1 discord.CategoryChannel.edit:1 #: discord.CategoryChannel.invites:1 discord.CategoryChannel.set_permissions:1 -#: discord.Client.application_info:1 discord.Client.change_presence:1 -#: discord.Client.close:1 discord.Client.connect:1 -#: discord.Client.create_guild:1 discord.Client.delete_invite:1 -#: discord.Client.fetch_channel:1 discord.Client.fetch_guild:1 -#: discord.Client.fetch_guilds:1 discord.Client.fetch_invite:1 +#: discord.Client.application_info:1 discord.Client.before_identify_hook:1 +#: discord.Client.change_presence:1 discord.Client.close:1 +#: discord.Client.connect:1 discord.Client.create_guild:1 +#: discord.Client.delete_invite:1 discord.Client.fetch_channel:1 +#: discord.Client.fetch_guild:1 discord.Client.fetch_guilds:1 +#: discord.Client.fetch_invite:1 discord.Client.fetch_template:1 #: discord.Client.fetch_user:1 discord.Client.fetch_user_profile:1 #: discord.Client.fetch_webhook:1 discord.Client.fetch_widget:1 #: discord.Client.login:1 discord.Client.logout:1 discord.Client.on_error:1 @@ -457,57 +741,72 @@ msgstr "クライアントの内部キャッシュを使用できる状態にす #: discord.ClientUser.edit_settings:1 discord.DMChannel.fetch_message:1 #: discord.DMChannel.pins:1 discord.DMChannel.send:1 #: discord.DMChannel.trigger_typing:1 discord.Emoji.delete:1 -#: discord.Emoji.edit:1 discord.GroupChannel.add_recipients:1 +#: discord.Emoji.edit:1 discord.FFmpegOpusAudio.from_probe:1 +#: discord.FFmpegOpusAudio.probe:1 discord.GroupChannel.add_recipients:1 #: discord.GroupChannel.edit:1 discord.GroupChannel.fetch_message:1 #: discord.GroupChannel.leave:1 discord.GroupChannel.pins:1 #: discord.GroupChannel.remove_recipients:1 discord.GroupChannel.send:1 #: discord.GroupChannel.trigger_typing:1 discord.Guild.ack:1 -#: discord.Guild.ban:1 discord.Guild.bans:1 discord.Guild.create_category:1 +#: discord.Guild.ban:1 discord.Guild.bans:1 discord.Guild.change_voice_state:1 +#: discord.Guild.chunk:1 discord.Guild.create_category:1 #: discord.Guild.create_category_channel:1 discord.Guild.create_custom_emoji:1 -#: discord.Guild.create_role:1 discord.Guild.create_text_channel:1 -#: discord.Guild.create_voice_channel:1 discord.Guild.delete:1 -#: discord.Guild.edit:1 discord.Guild.estimate_pruned_members:1 +#: discord.Guild.create_integration:1 discord.Guild.create_role:1 +#: discord.Guild.create_text_channel:1 discord.Guild.create_voice_channel:1 +#: discord.Guild.delete:1 discord.Guild.edit:1 +#: discord.Guild.edit_role_positions:1 discord.Guild.estimate_pruned_members:1 #: discord.Guild.fetch_ban:1 discord.Guild.fetch_channels:1 #: discord.Guild.fetch_emoji:1 discord.Guild.fetch_emojis:1 -#: discord.Guild.fetch_member:1 discord.Guild.invites:1 discord.Guild.kick:1 -#: discord.Guild.leave:1 discord.Guild.prune_members:1 discord.Guild.unban:1 -#: discord.Guild.vanity_invite:1 discord.Guild.webhooks:1 -#: discord.Guild.widget:1 discord.Invite.delete:1 discord.Member.add_roles:1 -#: discord.Member.ban:1 discord.Member.block:1 discord.Member.edit:1 -#: discord.Member.fetch_message:1 discord.Member.kick:1 -#: discord.Member.move_to:1 discord.Member.mutual_friends:1 -#: discord.Member.pins:1 discord.Member.profile:1 -#: discord.Member.remove_friend:1 discord.Member.remove_roles:1 -#: discord.Member.send:1 discord.Member.send_friend_request:1 -#: discord.Member.trigger_typing:1 discord.Member.unban:1 -#: discord.Member.unblock:1 discord.Message.ack:1 -#: discord.Message.add_reaction:1 discord.Message.clear_reactions:1 -#: discord.Message.delete:1 discord.Message.edit:1 discord.Message.pin:1 +#: discord.Guild.fetch_member:1 discord.Guild.fetch_members:1 +#: discord.Guild.fetch_roles:1 discord.Guild.integrations:1 +#: discord.Guild.invites:1 discord.Guild.kick:1 discord.Guild.leave:1 +#: discord.Guild.prune_members:1 discord.Guild.query_members:1 +#: discord.Guild.unban:1 discord.Guild.vanity_invite:1 discord.Guild.webhooks:1 +#: discord.Guild.widget:1 discord.Integration.delete:1 +#: discord.Integration.edit:1 discord.Integration.sync:1 +#: discord.Invite.delete:1 discord.Member.add_roles:1 discord.Member.ban:1 +#: discord.Member.block:1 discord.Member.edit:1 discord.Member.fetch_message:1 +#: discord.Member.kick:1 discord.Member.move_to:1 +#: discord.Member.mutual_friends:1 discord.Member.pins:1 +#: discord.Member.profile:1 discord.Member.remove_friend:1 +#: discord.Member.remove_roles:1 discord.Member.send:1 +#: discord.Member.send_friend_request:1 discord.Member.trigger_typing:1 +#: discord.Member.unban:1 discord.Member.unblock:1 discord.Message.ack:1 +#: discord.Message.add_reaction:1 discord.Message.clear_reaction:1 +#: discord.Message.clear_reactions:1 discord.Message.delete:1 +#: discord.Message.edit:1 discord.Message.pin:1 discord.Message.publish:1 #: discord.Message.remove_reaction:1 discord.Message.unpin:1 -#: discord.Reaction.remove:1 discord.Relationship.accept:1 -#: discord.Relationship.delete:1 discord.Role.delete:1 discord.Role.edit:1 -#: discord.TextChannel.clone:1 discord.TextChannel.create_invite:1 -#: discord.TextChannel.create_webhook:1 discord.TextChannel.delete:1 -#: discord.TextChannel.delete_messages:1 discord.TextChannel.edit:1 -#: discord.TextChannel.fetch_message:1 discord.TextChannel.invites:1 -#: discord.TextChannel.pins:1 discord.TextChannel.purge:1 -#: discord.TextChannel.send:1 discord.TextChannel.set_permissions:1 -#: discord.TextChannel.trigger_typing:1 discord.TextChannel.webhooks:1 -#: discord.User.block:1 discord.User.fetch_message:1 -#: discord.User.mutual_friends:1 discord.User.pins:1 discord.User.profile:1 -#: discord.User.remove_friend:1 discord.User.send:1 -#: discord.User.send_friend_request:1 discord.User.trigger_typing:1 -#: discord.User.unblock:1 discord.VoiceChannel.clone:1 -#: discord.VoiceChannel.connect:1 discord.VoiceChannel.create_invite:1 -#: discord.VoiceChannel.delete:1 discord.VoiceChannel.edit:1 -#: discord.VoiceChannel.invites:1 discord.VoiceChannel.set_permissions:1 +#: discord.Reaction.clear:1 discord.Reaction.remove:1 +#: discord.Relationship.accept:1 discord.Relationship.delete:1 +#: discord.Role.delete:1 discord.Role.edit:1 discord.ShardInfo.connect:1 +#: discord.ShardInfo.disconnect:1 discord.ShardInfo.reconnect:1 +#: discord.Template.create_guild:1 discord.TextChannel.clone:1 +#: discord.TextChannel.create_invite:1 discord.TextChannel.create_webhook:1 +#: discord.TextChannel.delete:1 discord.TextChannel.delete_messages:1 +#: discord.TextChannel.edit:1 discord.TextChannel.fetch_message:1 +#: discord.TextChannel.invites:1 discord.TextChannel.pins:1 +#: discord.TextChannel.purge:1 discord.TextChannel.send:1 +#: discord.TextChannel.set_permissions:1 discord.TextChannel.trigger_typing:1 +#: discord.TextChannel.webhooks:1 discord.User.block:1 +#: discord.User.fetch_message:1 discord.User.mutual_friends:1 +#: discord.User.pins:1 discord.User.profile:1 discord.User.remove_friend:1 +#: discord.User.send:1 discord.User.send_friend_request:1 +#: discord.User.trigger_typing:1 discord.User.unblock:1 +#: discord.VoiceChannel.clone:1 discord.VoiceChannel.connect:1 +#: discord.VoiceChannel.create_invite:1 discord.VoiceChannel.delete:1 +#: discord.VoiceChannel.edit:1 discord.VoiceChannel.invites:1 +#: discord.VoiceChannel.set_permissions:1 discord.VoiceClient.connect:1 #: discord.VoiceClient.disconnect:1 discord.VoiceClient.move_to:1 -#: discord.Widget.fetch_invite:1 discord.abc.GuildChannel.clone:1 -#: discord.abc.GuildChannel.create_invite:1 discord.abc.GuildChannel.delete:1 -#: discord.abc.GuildChannel.invites:1 +#: discord.VoiceClient.on_voice_server_update:1 +#: discord.VoiceClient.on_voice_state_update:1 discord.VoiceProtocol.connect:1 +#: discord.VoiceProtocol.disconnect:1 +#: discord.VoiceProtocol.on_voice_server_update:1 +#: discord.VoiceProtocol.on_voice_state_update:1 discord.Widget.fetch_invite:1 +#: discord.abc.GuildChannel.clone:1 discord.abc.GuildChannel.create_invite:1 +#: discord.abc.GuildChannel.delete:1 discord.abc.GuildChannel.invites:1 #: discord.abc.GuildChannel.set_permissions:1 #: discord.abc.Messageable.fetch_message:1 discord.abc.Messageable.pins:1 -#: discord.abc.Messageable.send:1 discord.abc.Messageable.trigger_typing:1 of +#: discord.abc.Messageable.send:1 discord.abc.Messageable.trigger_typing:1 +#: discord.utils.sleep_until:1 of msgid "|coro|" msgstr "|coro|" @@ -545,13 +844,20 @@ msgstr "" "クライアントがWebSocketに接続し、ログインするとき、ギルド内のメンバー数が250よりも大きいならば、Discordはライブラリにオフラインメンバーを提供しません。" " :attr:`.Guild.large` が ``True`` かどうかでギルドが大きいかどうかを確認することができます。" -#: discord.AutoShardedClient.request_offline_members:13 -#: discord.Client.request_offline_members:13 of +#: discord.AutoShardedClient.request_offline_members:15 +#: discord.Client.request_offline_members:15 of +#, fuzzy +msgid "This method is deprecated. Use :meth:`Guild.chunk` instead." +msgstr "このメソッドはAPIを呼び出します。通常は :meth:`get_guild` を代わりとして使用してください。" + +#: discord.AutoShardedClient.request_offline_members:17 +#: discord.Client.request_offline_members:17 of msgid "An argument list of guilds to request offline members for." msgstr "オフラインメンバーを要求したいギルドのリスト。" #: discord.Asset.read discord.Asset.save discord.Attachment.read -#: discord.Attachment.save discord.AutoShardedClient.change_presence +#: discord.Attachment.save discord.Attachment.to_file +#: discord.AutoShardedClient.change_presence discord.AutoShardedClient.connect #: discord.AutoShardedClient.request_offline_members #: discord.CategoryChannel.clone discord.CategoryChannel.create_invite #: discord.CategoryChannel.delete discord.CategoryChannel.edit @@ -561,46 +867,57 @@ msgstr "オフラインメンバーを要求したいギルドのリスト。" #: discord.Client.delete_invite discord.Client.event #: discord.Client.fetch_channel discord.Client.fetch_guild #: discord.Client.fetch_guilds discord.Client.fetch_invite -#: discord.Client.fetch_user discord.Client.fetch_user_profile -#: discord.Client.fetch_webhook discord.Client.fetch_widget -#: discord.Client.login discord.Client.request_offline_members -#: discord.Client.start discord.Client.wait_for -#: discord.ClientUser.avatar_url_as discord.ClientUser.create_group -#: discord.ClientUser.edit discord.ClientUser.edit_settings -#: discord.DMChannel.fetch_message discord.DMChannel.history -#: discord.DMChannel.pins discord.DMChannel.send discord.Embed.set_field_at -#: discord.Emoji.delete discord.Emoji.edit discord.FFmpegPCMAudio +#: discord.Client.fetch_template discord.Client.fetch_user +#: discord.Client.fetch_user_profile discord.Client.fetch_webhook +#: discord.Client.fetch_widget discord.Client.login +#: discord.Client.request_offline_members discord.Client.start +#: discord.Client.wait_for discord.ClientUser.avatar_url_as +#: discord.ClientUser.create_group discord.ClientUser.edit +#: discord.ClientUser.edit_settings discord.DMChannel.fetch_message +#: discord.DMChannel.history discord.DMChannel.pins discord.DMChannel.send +#: discord.Embed.set_field_at discord.Emoji.delete discord.Emoji.edit +#: discord.FFmpegOpusAudio discord.FFmpegOpusAudio.from_probe +#: discord.FFmpegOpusAudio.probe discord.FFmpegPCMAudio #: discord.GroupChannel.add_recipients discord.GroupChannel.edit #: discord.GroupChannel.fetch_message discord.GroupChannel.history #: discord.GroupChannel.leave discord.GroupChannel.pins #: discord.GroupChannel.remove_recipients discord.GroupChannel.send #: discord.Guild.ack discord.Guild.audit_logs discord.Guild.ban -#: discord.Guild.banner_url_as discord.Guild.bans -#: discord.Guild.create_custom_emoji discord.Guild.create_role -#: discord.Guild.create_text_channel discord.Guild.delete discord.Guild.edit -#: discord.Guild.estimate_pruned_members discord.Guild.fetch_ban -#: discord.Guild.fetch_channels discord.Guild.fetch_emoji -#: discord.Guild.fetch_emojis discord.Guild.fetch_member -#: discord.Guild.icon_url_as discord.Guild.invites discord.Guild.kick -#: discord.Guild.leave discord.Guild.prune_members discord.Guild.splash_url_as -#: discord.Guild.unban discord.Guild.vanity_invite discord.Guild.webhooks -#: discord.Guild.widget discord.Invite.delete discord.Member.add_roles -#: discord.Member.avatar_url_as discord.Member.block discord.Member.edit -#: discord.Member.fetch_message discord.Member.history +#: discord.Guild.banner_url_as discord.Guild.bans discord.Guild.chunk +#: discord.Guild.create_category discord.Guild.create_category_channel +#: discord.Guild.create_custom_emoji discord.Guild.create_integration +#: discord.Guild.create_role discord.Guild.create_text_channel +#: discord.Guild.create_voice_channel discord.Guild.delete +#: discord.Guild.discovery_splash_url_as discord.Guild.edit +#: discord.Guild.edit_role_positions discord.Guild.estimate_pruned_members +#: discord.Guild.fetch_ban discord.Guild.fetch_channels +#: discord.Guild.fetch_emoji discord.Guild.fetch_emojis +#: discord.Guild.fetch_member discord.Guild.fetch_members +#: discord.Guild.fetch_roles discord.Guild.icon_url_as +#: discord.Guild.integrations discord.Guild.invites discord.Guild.kick +#: discord.Guild.leave discord.Guild.prune_members discord.Guild.query_members +#: discord.Guild.splash_url_as discord.Guild.unban discord.Guild.vanity_invite +#: discord.Guild.webhooks discord.Guild.widget discord.Integration.delete +#: discord.Integration.edit discord.Integration.sync discord.Invite.delete +#: discord.Member.add_roles discord.Member.avatar_url_as discord.Member.block +#: discord.Member.edit discord.Member.fetch_message discord.Member.history #: discord.Member.mutual_friends discord.Member.pins discord.Member.profile #: discord.Member.remove_friend discord.Member.remove_roles discord.Member.send #: discord.Member.send_friend_request discord.Member.unblock #: discord.Message.ack discord.Message.add_reaction -#: discord.Message.clear_reactions discord.Message.delete discord.Message.edit -#: discord.Message.pin discord.Message.remove_reaction discord.Message.unpin -#: discord.PCMVolumeTransformer discord.Reaction.remove discord.Reaction.users -#: discord.Relationship.accept discord.Relationship.delete discord.Role.delete -#: discord.Role.edit discord.TextChannel.clone +#: discord.Message.clear_reaction discord.Message.clear_reactions +#: discord.Message.delete discord.Message.edit discord.Message.pin +#: discord.Message.publish discord.Message.remove_reaction +#: discord.Message.unpin discord.PCMVolumeTransformer discord.Reaction.clear +#: discord.Reaction.remove discord.Reaction.users discord.Relationship.accept +#: discord.Relationship.delete discord.Role.delete discord.Role.edit +#: discord.Template.create_guild discord.TextChannel.clone #: discord.TextChannel.create_invite discord.TextChannel.create_webhook #: discord.TextChannel.delete discord.TextChannel.delete_messages #: discord.TextChannel.edit discord.TextChannel.fetch_message -#: discord.TextChannel.history discord.TextChannel.invites -#: discord.TextChannel.pins discord.TextChannel.purge discord.TextChannel.send +#: discord.TextChannel.follow discord.TextChannel.history +#: discord.TextChannel.invites discord.TextChannel.pins +#: discord.TextChannel.purge discord.TextChannel.send #: discord.TextChannel.set_permissions discord.TextChannel.webhooks #: discord.User.avatar_url_as discord.User.block discord.User.fetch_message #: discord.User.history discord.User.mutual_friends discord.User.pins @@ -622,12 +939,31 @@ msgstr "オフラインメンバーを要求したいギルドのリスト。" msgid "Raises" msgstr "例外" -#: discord.AutoShardedClient.request_offline_members:16 -#: discord.Client.request_offline_members:16 of +#: discord.AutoShardedClient.request_offline_members:20 +#: discord.Client.request_offline_members:20 of #, fuzzy -msgid "If any guild is unavailable or not large in the collection." +msgid "If any guild is unavailable in the collection." msgstr ":exc:`InvalidArgument` -- いずれかのギルドが利用できない、またはコレクション内のギルドが大きくない。" +#: discord.Client.before_identify_hook:3 of +msgid "" +"A hook that is called before IDENTIFYing a session. This is useful if you" +" wish to have more control over the synchronization of multiple " +"IDENTIFYing clients." +msgstr "" + +#: discord.Client.before_identify_hook:7 of +msgid "The default implementation sleeps for 5 seconds." +msgstr "" + +#: discord.Client.before_identify_hook:11 of +msgid "The shard ID that requested being IDENTIFY'd" +msgstr "" + +#: discord.Client.before_identify_hook:13 of +msgid "Whether this IDENTIFY is the first initial IDENTIFY." +msgstr "" + #: discord.Client.login:3 of msgid "Logs in the client with the specified credentials." msgstr "指定された資格情報を使用してクライアントにログインします。" @@ -637,13 +973,13 @@ msgid "This function can be used in two different ways." msgstr "この関数は、異なる二通りの方法で使用することができます。" #: discord.Client.login:9 of +#, fuzzy 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の `利用規約 `_ に違反しているため、アカウントを停止される可能性があります。自己責任で使用してください。" #: discord.Client.login:14 of @@ -685,7 +1021,7 @@ msgstr "" "これは :meth:`close` の別名です。サブクラス化する場合に外部のクリーンアップを行いたい場合は、代わりに :meth:`close` " "を上書きすることをお勧めします。" -#: discord.Client.connect:3 of +#: discord.AutoShardedClient.connect:3 discord.Client.connect:3 of msgid "" "Creates a websocket connection and lets the websocket listen to messages " "from Discord. This is a loop that runs the entire event system and " @@ -693,7 +1029,7 @@ msgid "" "WebSocket connection is terminated." msgstr "WebSocket接続を作成し、Discordからのメッセージをリッスンできるようにします。これはイベントシステム全体とライブラリの様々な機能を実行するループです。WebSocket接続が終了するまで、制御は再開されません。" -#: discord.Client.connect:8 of +#: discord.AutoShardedClient.connect:8 discord.Client.connect:8 of 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 " @@ -701,7 +1037,7 @@ msgid "" "tokens)." msgstr "インターネットの障害やDiscord側の特定の障害が発生した際に再接続を試みるかどうかを表します。不正な状態へつながることによる特定の切断(無効なシャーディングペイロードや不正なトークンなど)は処理されません。" -#: discord.Client.connect:14 of +#: discord.AutoShardedClient.connect:14 discord.Client.connect:14 of #, fuzzy msgid "" "If the gateway to connect to Discord is not found. Usually if this is" @@ -710,7 +1046,7 @@ msgstr "" ":exc:`.GatewayNotFound` -- " "Discordに接続するゲートウェイが見つからない。通常、これが発生した場合はAPIの停止が考えられます。" -#: discord.Client.connect:15 of +#: discord.AutoShardedClient.connect:15 discord.Client.connect:15 of #, fuzzy msgid "The websocket connection has been terminated." msgstr ":exc:`.ConnectionClosed` -- WebSocket接続が終了した。" @@ -768,7 +1104,8 @@ msgid "" msgstr "この関数はブロッキングを行うため、必ず最後に呼び出してください。この関数を呼び出した後に呼び出されるイベントや関数は、Botが停止するまで実行されません。" #: discord.Client.is_closed:1 of -msgid "Indicates if the websocket connection is closed." +#, fuzzy +msgid ":class:`bool`: Indicates if the websocket connection is closed." msgstr "WebSocketが閉じられているかどうかを表します。" #: discord.Client.activity:1 of @@ -776,11 +1113,26 @@ msgid "The activity being used upon logging in." msgstr "" #: discord.Client.activity:4 of +msgid "Optional[:class:`.BaseActivity`]" +msgstr "" + +#: discord.Client.allowed_mentions:1 of +msgid "The allowed mention configuration." +msgstr "" + +#: discord.Client.allowed_mentions:5 of #, fuzzy -msgid "Optional[Union[:class:`.Activity`, :class:`.Game`, :class:`.Streaming`]]" +msgid "Optional[:class:`~discord.AllowedMentions`]" +msgstr ":class:`~discord.ClientUser`" + +#: discord.Client.intents:1 of +msgid "The intents configured for this connection." msgstr "" -"Optional[Union[:class:`.Activity`, :class:`.Game`, :class:`.Streaming`]] " -"-- ログイン時のアクティビティ。" + +#: discord.Client.intents:5 of +#, fuzzy +msgid ":class:`Intents`" +msgstr ":class:`bytes`" #: discord.Client.users:1 of #, fuzzy @@ -792,31 +1144,219 @@ msgstr "List[:class:`~discord.User`] -- ボットが見ることができるす msgid "List[:class:`~discord.User`]" msgstr ":class:`~discord.User`" -#: discord.Client.get_channel:1 of -msgid "" -"Optional[Union[:class:`.abc.GuildChannel`, " -":class:`.abc.PrivateChannel`]]: Returns a channel with the given ID." +#: discord.Client.get_channel:1 discord.Guild.get_channel:1 of +#, fuzzy +msgid "Returns a channel with the given ID." +msgstr "このユーザーと :class:`DMChannel` を作ります。" + +#: discord.Client.get_channel:3 discord.Client.get_emoji:3 +#: discord.Client.get_guild:3 discord.Client.get_user:3 +#: discord.Guild.get_channel:3 discord.Guild.get_member:3 +#: discord.Guild.get_role:3 of +#, fuzzy +msgid "The ID to search for." +msgstr "検索するイテラブル。" + +#: ../../api.rst discord.Asset.read discord.Asset.save discord.Attachment.read +#: discord.Attachment.save discord.Attachment.to_file discord.AudioSource.read +#: discord.CallMessage.duration discord.CategoryChannel.clone +#: discord.CategoryChannel.create_invite +#: discord.CategoryChannel.create_text_channel +#: discord.CategoryChannel.create_voice_channel discord.CategoryChannel.invites +#: discord.CategoryChannel.overwrites discord.CategoryChannel.overwrites_for +#: discord.CategoryChannel.permissions_for discord.Client.application_info +#: discord.Client.create_guild discord.Client.fetch_channel +#: discord.Client.fetch_guild discord.Client.fetch_invite +#: discord.Client.fetch_template discord.Client.fetch_user +#: discord.Client.fetch_user_profile discord.Client.fetch_webhook +#: discord.Client.fetch_widget discord.Client.get_channel +#: discord.Client.get_emoji discord.Client.get_guild discord.Client.get_user +#: discord.Client.wait_for discord.ClientUser.avatar_url_as +#: discord.ClientUser.create_group discord.ClientUser.edit_settings +#: discord.ClientUser.get_relationship discord.ClientUser.mentioned_in +#: discord.DMChannel.fetch_message discord.DMChannel.permissions_for +#: discord.DMChannel.pins discord.DMChannel.send +#: discord.FFmpegOpusAudio.from_probe discord.FFmpegOpusAudio.probe +#: discord.FFmpegOpusAudio.read discord.FFmpegPCMAudio.read +#: discord.GroupCall.voice_state_for discord.GroupChannel.fetch_message +#: discord.GroupChannel.permissions_for discord.GroupChannel.pins +#: discord.GroupChannel.send discord.Guild.banner_url_as discord.Guild.bans +#: discord.Guild.by_category discord.Guild.create_category +#: discord.Guild.create_category_channel discord.Guild.create_custom_emoji +#: discord.Guild.create_role discord.Guild.create_text_channel +#: discord.Guild.create_voice_channel discord.Guild.discovery_splash_url_as +#: discord.Guild.edit_role_positions discord.Guild.estimate_pruned_members +#: discord.Guild.fetch_ban discord.Guild.fetch_channels +#: discord.Guild.fetch_emoji discord.Guild.fetch_emojis +#: discord.Guild.fetch_member discord.Guild.fetch_roles +#: discord.Guild.get_channel discord.Guild.get_member +#: discord.Guild.get_member_named discord.Guild.get_role +#: discord.Guild.icon_url_as discord.Guild.integrations discord.Guild.invites +#: discord.Guild.prune_members discord.Guild.query_members +#: discord.Guild.splash_url_as discord.Guild.vanity_invite +#: discord.Guild.webhooks discord.Guild.widget discord.Member.avatar_url_as +#: discord.Member.create_dm discord.Member.fetch_message +#: discord.Member.mentioned_in discord.Member.mutual_friends +#: discord.Member.permissions_in discord.Member.pins discord.Member.profile +#: discord.Member.send discord.MemberCacheFlags.from_intents +#: discord.PCMAudio.read discord.PCMVolumeTransformer.read +#: discord.PartialInviteGuild.banner_url_as +#: discord.PartialInviteGuild.icon_url_as +#: discord.PartialInviteGuild.splash_url_as +#: discord.PermissionOverwrite.is_empty discord.Template.create_guild +#: discord.TextChannel.clone discord.TextChannel.create_invite +#: discord.TextChannel.create_webhook discord.TextChannel.fetch_message +#: discord.TextChannel.follow discord.TextChannel.invites +#: discord.TextChannel.last_message discord.TextChannel.overwrites +#: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for +#: discord.TextChannel.pins discord.TextChannel.purge discord.TextChannel.send +#: discord.TextChannel.webhooks discord.User.avatar_url_as +#: discord.User.create_dm discord.User.fetch_message discord.User.mentioned_in +#: discord.User.mutual_friends discord.User.pins discord.User.profile +#: discord.User.send discord.VoiceChannel.clone discord.VoiceChannel.connect +#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites +#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for +#: discord.VoiceChannel.permissions_for discord.VoiceChannel.voice_states +#: discord.Webhook.avatar_url_as discord.Webhook.from_url +#: discord.Webhook.partial discord.Webhook.send discord.Widget.fetch_invite +#: discord.WidgetMember.avatar_url_as discord.WidgetMember.mentioned_in +#: discord.abc.GuildChannel.clone 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.fetch_message discord.abc.Messageable.pins +#: discord.abc.Messageable.send discord.opus.is_loaded +#: discord.utils.escape_markdown discord.utils.escape_mentions +#: discord.utils.oauth_url discord.utils.resolve_invite +#: discord.utils.resolve_template discord.utils.snowflake_time of +msgid "Returns" +msgstr "戻り値" + +#: discord.Client.get_channel:6 discord.Guild.get_channel:6 of +msgid "The returned channel or ``None`` if not found." msgstr "" -"Optional[Union[:class:`.abc.GuildChannel`, " -":class:`.abc.PrivateChannel`]]: 与えられたIDを持つチャンネルを返します。" -#: discord.Client.get_channel:4 discord.Client.get_emoji:3 -#: discord.Client.get_guild:3 discord.Client.get_user:3 of -msgid "If not found, returns ``None``." -msgstr "見つからない場合は、 ``None`` を返します。" +#: ../../api.rst discord.Asset.read discord.Asset.save discord.Attachment.read +#: discord.Attachment.save discord.Attachment.to_file discord.AudioSource.read +#: discord.CallMessage.duration discord.CategoryChannel.clone +#: discord.CategoryChannel.create_invite +#: discord.CategoryChannel.create_text_channel +#: discord.CategoryChannel.create_voice_channel discord.CategoryChannel.invites +#: discord.CategoryChannel.overwrites discord.CategoryChannel.overwrites_for +#: discord.CategoryChannel.permissions_for discord.Client.application_info +#: discord.Client.create_guild discord.Client.fetch_channel +#: discord.Client.fetch_guild discord.Client.fetch_invite +#: discord.Client.fetch_template discord.Client.fetch_user +#: discord.Client.fetch_user_profile discord.Client.fetch_webhook +#: discord.Client.fetch_widget discord.Client.get_channel +#: discord.Client.get_emoji discord.Client.get_guild discord.Client.get_user +#: discord.Client.wait_for discord.ClientUser.avatar_url_as +#: discord.ClientUser.create_group discord.ClientUser.edit_settings +#: discord.ClientUser.get_relationship discord.ClientUser.mentioned_in +#: discord.DMChannel.fetch_message discord.DMChannel.permissions_for +#: discord.DMChannel.pins discord.DMChannel.send +#: discord.FFmpegOpusAudio.from_probe discord.FFmpegOpusAudio.probe +#: discord.FFmpegOpusAudio.read discord.FFmpegPCMAudio.read +#: discord.GroupCall.voice_state_for discord.GroupChannel.fetch_message +#: discord.GroupChannel.permissions_for discord.GroupChannel.pins +#: discord.GroupChannel.send discord.Guild.banner_url_as discord.Guild.bans +#: discord.Guild.by_category discord.Guild.create_category +#: discord.Guild.create_category_channel discord.Guild.create_custom_emoji +#: discord.Guild.create_role discord.Guild.create_text_channel +#: discord.Guild.create_voice_channel discord.Guild.discovery_splash_url_as +#: discord.Guild.edit_role_positions discord.Guild.estimate_pruned_members +#: discord.Guild.fetch_ban discord.Guild.fetch_channels +#: discord.Guild.fetch_emoji discord.Guild.fetch_emojis +#: discord.Guild.fetch_member discord.Guild.fetch_roles +#: discord.Guild.get_channel discord.Guild.get_member +#: discord.Guild.get_member_named discord.Guild.get_role +#: discord.Guild.icon_url_as discord.Guild.integrations discord.Guild.invites +#: discord.Guild.prune_members discord.Guild.query_members +#: discord.Guild.splash_url_as discord.Guild.vanity_invite +#: discord.Guild.webhooks discord.Guild.widget discord.Member.avatar_url_as +#: discord.Member.create_dm discord.Member.fetch_message +#: discord.Member.mentioned_in discord.Member.mutual_friends +#: discord.Member.permissions_in discord.Member.pins discord.Member.profile +#: discord.Member.send discord.MemberCacheFlags.from_intents +#: discord.PCMAudio.read discord.PCMVolumeTransformer.read +#: discord.PartialInviteGuild.banner_url_as +#: discord.PartialInviteGuild.icon_url_as +#: discord.PartialInviteGuild.splash_url_as +#: discord.PermissionOverwrite.is_empty discord.Template.create_guild +#: discord.TextChannel.clone discord.TextChannel.create_invite +#: discord.TextChannel.create_webhook discord.TextChannel.fetch_message +#: discord.TextChannel.follow discord.TextChannel.invites +#: discord.TextChannel.last_message discord.TextChannel.overwrites +#: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for +#: discord.TextChannel.pins discord.TextChannel.purge discord.TextChannel.send +#: discord.TextChannel.webhooks discord.User.avatar_url_as +#: discord.User.create_dm discord.User.fetch_message discord.User.mentioned_in +#: discord.User.mutual_friends discord.User.pins discord.User.profile +#: discord.User.send discord.VoiceChannel.clone discord.VoiceChannel.connect +#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites +#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for +#: discord.VoiceChannel.permissions_for discord.VoiceChannel.voice_states +#: discord.Webhook.avatar_url_as discord.Webhook.from_url +#: discord.Webhook.partial discord.Webhook.send discord.Widget.fetch_invite +#: discord.WidgetMember.avatar_url_as discord.WidgetMember.mentioned_in +#: discord.abc.GuildChannel.clone 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.fetch_message discord.abc.Messageable.pins +#: discord.abc.Messageable.send discord.opus.is_loaded +#: discord.utils.escape_markdown discord.utils.escape_mentions +#: discord.utils.oauth_url discord.utils.resolve_invite +#: discord.utils.resolve_template discord.utils.snowflake_time of +msgid "Return type" +msgstr "戻り値の型" + +#: discord.Client.get_channel:7 of +#, fuzzy +msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" #: discord.Client.get_guild:1 of -msgid "Optional[:class:`.Guild`]: Returns a guild with the given ID." +#, fuzzy +msgid "Returns a guild with the given ID." msgstr "Optional[:class:`.Guild`]: 与えられたIDを持つギルドを返します。" +#: discord.Client.get_guild:6 of +msgid "The guild or ``None`` if not found." +msgstr "" + +#: discord.Client.get_guild:7 of +#, fuzzy +msgid "Optional[:class:`.Guild`]" +msgstr ":class:`.Guild`" + #: discord.Client.get_user:1 of -msgid "Optional[:class:`~discord.User`]: Returns a user with the given ID." +#, fuzzy +msgid "Returns a user with the given ID." msgstr "Optional[:class:`~discord.User`]: 与えられたIDを持つユーザーを返します。" +#: discord.Client.get_user:6 of +msgid "The user or ``None`` if not found." +msgstr "" + +#: discord.Client.get_user:7 of +#, fuzzy +msgid "Optional[:class:`~discord.User`]" +msgstr ":class:`~discord.User`" + #: discord.Client.get_emoji:1 of -msgid "Optional[:class:`.Emoji`]: Returns an emoji with the given ID." +#, fuzzy +msgid "Returns an emoji with the given ID." msgstr "Optional[:class:`.Emoji`]: 与えられたIDを持つ絵文字を返します。" +#: discord.Client.get_emoji:6 of +msgid "The custom emoji or ``None`` if not found." +msgstr "" + +#: discord.Client.get_emoji:7 of +msgid "Optional[:class:`.Emoji`]" +msgstr "" + #: discord.Client.get_all_channels:1 of msgid "" "A generator that retrieves every :class:`.abc.GuildChannel` the client " @@ -834,13 +1374,32 @@ msgid "" ":meth:`.abc.GuildChannel.permissions_for` should be used for that." msgstr "" ":class:`.abc.GuildChannel` " -"を受け取ったからと言って、そのチャンネルで発言ができるという意味ではありません。発現可能なチャンネルのみを取得したいのなら、 " +"を受け取ったからと言って、そのチャンネルで発言ができるという意味ではありません。発言可能なチャンネルのみを取得したいのなら、 " ":meth:`.abc.GuildChannel.permissions_for` を使いましょう。" +#: discord.Client.fetch_guilds discord.Client.get_all_channels +#: discord.Client.get_all_members discord.DMChannel.history +#: discord.GroupChannel.history discord.Guild.audit_logs +#: discord.Guild.fetch_members discord.Member.history discord.Reaction.users +#: discord.TextChannel.history discord.User.history +#: discord.abc.Messageable.history of +msgid "Yields" +msgstr "Yieldする値" + +#: discord.Client.get_all_channels:15 of +#, fuzzy +msgid ":class:`.abc.GuildChannel` -- A channel the client can 'access'." +msgstr "クライアントが「アクセス」できるすべての :class:`.abc.GuildChannel` のジェネレータを取得します。" + #: discord.Client.get_all_members:1 of msgid "Returns a generator with every :class:`.Member` the client can see." msgstr "クライアントが参照可能なすべての :class:`.Member` のジェネレータを返します。" +#: discord.Client.get_all_members:9 of +#, fuzzy +msgid ":class:`.Member` -- A member the client can see." +msgstr "クライアントが参照可能なすべての :class:`.Member` のジェネレータを返します。" + #: discord.Client.wait_until_ready:3 of msgid "Waits until the client's internal cache is all ready." msgstr "クライアントの内部キャッシュの準備が完了するまで待機します。" @@ -882,8 +1441,9 @@ msgstr "この関数は **条件を満たす最初のイベント** を返しま #: discord.CategoryChannel.set_permissions:21 discord.Client.fetch_guilds:15 #: discord.Client.wait_for:22 discord.DMChannel.history:6 -#: discord.GroupChannel.history:6 discord.Guild.audit_logs:6 -#: discord.Guild.create_text_channel:20 discord.Member.history:6 +#: discord.FFmpegOpusAudio.from_probe:7 discord.GroupChannel.history:6 +#: discord.Guild.audit_logs:6 discord.Guild.create_text_channel:20 +#: discord.Guild.fetch_members:25 discord.Member.history:6 #: discord.Reaction.users:7 discord.TextChannel.history:6 #: discord.TextChannel.purge:17 discord.TextChannel.set_permissions:21 #: discord.User.history:6 discord.VoiceChannel.set_permissions:21 @@ -925,59 +1485,6 @@ msgstr "タイムアウトして :exc:`asyncio.TimeoutError` が発生するま msgid "If a timeout is provided and it was reached." msgstr ":exc:`asyncio.TimeoutError` -- タイムアウト値が設定されていて、かつその時間が経過した。" -#: ../../api.rst discord.Asset.read discord.Asset.save discord.Attachment.read -#: discord.Attachment.save discord.AudioSource.read -#: discord.CallMessage.duration discord.CategoryChannel.create_invite -#: discord.CategoryChannel.invites discord.CategoryChannel.overwrites -#: discord.CategoryChannel.overwrites_for -#: discord.CategoryChannel.permissions_for discord.Client.application_info -#: discord.Client.create_guild discord.Client.fetch_channel -#: discord.Client.fetch_guild discord.Client.fetch_invite -#: discord.Client.fetch_user discord.Client.fetch_user_profile -#: discord.Client.fetch_webhook discord.Client.fetch_widget -#: discord.Client.wait_for discord.ClientUser.avatar_url_as -#: discord.ClientUser.create_group discord.ClientUser.edit_settings -#: discord.ClientUser.get_relationship discord.DMChannel.fetch_message -#: discord.DMChannel.permissions_for discord.DMChannel.pins -#: discord.DMChannel.send discord.FFmpegPCMAudio.read -#: discord.GroupCall.voice_state_for discord.GroupChannel.fetch_message -#: discord.GroupChannel.permissions_for discord.GroupChannel.pins -#: discord.GroupChannel.send discord.Guild.banner_url_as discord.Guild.bans -#: discord.Guild.by_category discord.Guild.create_custom_emoji -#: discord.Guild.create_role discord.Guild.create_text_channel -#: discord.Guild.estimate_pruned_members discord.Guild.fetch_ban -#: discord.Guild.fetch_channels discord.Guild.fetch_emoji -#: discord.Guild.fetch_emojis discord.Guild.fetch_member -#: discord.Guild.get_member_named discord.Guild.icon_url_as -#: discord.Guild.invites discord.Guild.prune_members -#: discord.Guild.splash_url_as discord.Guild.vanity_invite -#: discord.Guild.webhooks discord.Guild.widget discord.Member.avatar_url_as -#: discord.Member.fetch_message discord.Member.mutual_friends -#: discord.Member.pins discord.Member.profile discord.Member.send -#: discord.PCMAudio.read discord.PCMVolumeTransformer.read -#: discord.TextChannel.create_invite discord.TextChannel.create_webhook -#: discord.TextChannel.fetch_message discord.TextChannel.invites -#: discord.TextChannel.last_message discord.TextChannel.overwrites -#: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for -#: discord.TextChannel.pins discord.TextChannel.purge discord.TextChannel.send -#: discord.TextChannel.webhooks discord.User.avatar_url_as -#: discord.User.fetch_message discord.User.mutual_friends discord.User.pins -#: discord.User.profile discord.User.send discord.VoiceChannel.connect -#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites -#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for -#: discord.VoiceChannel.permissions_for discord.Webhook.avatar_url_as -#: discord.Webhook.send discord.Widget.fetch_invite -#: discord.WidgetMember.avatar_url_as 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.fetch_message discord.abc.Messageable.pins -#: discord.abc.Messageable.send discord.opus.is_loaded -#: discord.utils.escape_markdown discord.utils.escape_mentions -#: discord.utils.resolve_invite of -msgid "Returns" -msgstr "戻り値" - #: discord.Client.wait_for:67 of msgid "" "Returns no arguments, a single argument, or a :class:`tuple` of multiple " @@ -987,59 +1494,6 @@ msgstr "" "単一の引数、あるいは :ref:`イベントリファレンス ` のパラメータを反映した複数の引数の値を含む " ":class:`tuple` が返ります。返る引数がない場合もあります。" -#: ../../api.rst discord.Asset.read discord.Asset.save discord.Attachment.read -#: discord.Attachment.save discord.AudioSource.read -#: discord.CallMessage.duration discord.CategoryChannel.create_invite -#: discord.CategoryChannel.invites discord.CategoryChannel.overwrites -#: discord.CategoryChannel.overwrites_for -#: discord.CategoryChannel.permissions_for discord.Client.application_info -#: discord.Client.create_guild discord.Client.fetch_channel -#: discord.Client.fetch_guild discord.Client.fetch_invite -#: discord.Client.fetch_user discord.Client.fetch_user_profile -#: discord.Client.fetch_webhook discord.Client.fetch_widget -#: discord.Client.wait_for discord.ClientUser.avatar_url_as -#: discord.ClientUser.create_group discord.ClientUser.edit_settings -#: discord.ClientUser.get_relationship discord.DMChannel.fetch_message -#: discord.DMChannel.permissions_for discord.DMChannel.pins -#: discord.DMChannel.send discord.FFmpegPCMAudio.read -#: discord.GroupCall.voice_state_for discord.GroupChannel.fetch_message -#: discord.GroupChannel.permissions_for discord.GroupChannel.pins -#: discord.GroupChannel.send discord.Guild.banner_url_as discord.Guild.bans -#: discord.Guild.by_category discord.Guild.create_custom_emoji -#: discord.Guild.create_role discord.Guild.create_text_channel -#: discord.Guild.estimate_pruned_members discord.Guild.fetch_ban -#: discord.Guild.fetch_channels discord.Guild.fetch_emoji -#: discord.Guild.fetch_emojis discord.Guild.fetch_member -#: discord.Guild.get_member_named discord.Guild.icon_url_as -#: discord.Guild.invites discord.Guild.prune_members -#: discord.Guild.splash_url_as discord.Guild.vanity_invite -#: discord.Guild.webhooks discord.Guild.widget discord.Member.avatar_url_as -#: discord.Member.fetch_message discord.Member.mutual_friends -#: discord.Member.pins discord.Member.profile discord.Member.send -#: discord.PCMAudio.read discord.PCMVolumeTransformer.read -#: discord.TextChannel.create_invite discord.TextChannel.create_webhook -#: discord.TextChannel.fetch_message discord.TextChannel.invites -#: discord.TextChannel.last_message discord.TextChannel.overwrites -#: discord.TextChannel.overwrites_for discord.TextChannel.permissions_for -#: discord.TextChannel.pins discord.TextChannel.purge discord.TextChannel.send -#: discord.TextChannel.webhooks discord.User.avatar_url_as -#: discord.User.fetch_message discord.User.mutual_friends discord.User.pins -#: discord.User.profile discord.User.send discord.VoiceChannel.connect -#: discord.VoiceChannel.create_invite discord.VoiceChannel.invites -#: discord.VoiceChannel.overwrites discord.VoiceChannel.overwrites_for -#: discord.VoiceChannel.permissions_for discord.Webhook.avatar_url_as -#: discord.Webhook.send discord.Widget.fetch_invite -#: discord.WidgetMember.avatar_url_as 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.fetch_message discord.abc.Messageable.pins -#: discord.abc.Messageable.send discord.opus.is_loaded -#: discord.utils.escape_markdown discord.utils.escape_mentions -#: discord.utils.resolve_invite of -msgid "Return type" -msgstr "戻り値の型" - #: discord.Client.event:1 of msgid "A decorator that registers an event to listen to." msgstr "リッスンするイベントを登録するデコレータ。" @@ -1056,7 +1510,7 @@ msgid "" ":exc:`TypeError` is raised." msgstr "イベントは :ref:`コルーチン ` でなければいけません。違う場合は :exc:`TypeError` が発生します。" -#: discord.Client.change_presence:10 discord.Client.event:8 of +#: discord.Client.change_presence:6 discord.Client.event:8 of msgid "Example" msgstr "例" @@ -1070,35 +1524,26 @@ msgstr ":exc:`TypeError` -- 渡されたコルーチンが実際にはコルー msgid "Changes the client's presence." msgstr "クライアントのプレゼンスを変更します。" -#: 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`." -msgstr "" -"Activityパラメータは現在のアクティビティをあらわす:class:`.Activity` (文字列ではない) です。これはスリム化された " -":class:`.Game` や :class:`.Streaming` でもいいです。" - -#: discord.AutoShardedClient.change_presence:14 -#: discord.Client.change_presence:16 of +#: discord.AutoShardedClient.change_presence:10 +#: discord.Client.change_presence:12 of msgid "The activity being done. ``None`` if no currently active activity is done." msgstr "実行中のアクティビティ。何も実行していない場合は ``None`` です。" -#: discord.Client.change_presence:18 of +#: discord.Client.change_presence:14 of msgid "" "Indicates what status to change to. If ``None``, then " ":attr:`.Status.online` is used." msgstr "変更するステータスを示します。 ``None`` の場合、:attr:`.Status.online`となります。" -#: discord.AutoShardedClient.change_presence:19 -#: discord.Client.change_presence:21 of +#: discord.AutoShardedClient.change_presence:15 +#: discord.Client.change_presence:17 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." msgstr "AFKの状態にするかを示します。これによって、実際に退席中の場合に、Discordクライアントにプッシュ通知をよりよく扱わせることができます。" -#: discord.Client.change_presence:26 of +#: discord.Client.change_presence:22 of #, fuzzy msgid "If the ``activity`` parameter is not the proper type." msgstr ":exc:`.InvalidArgument` -- ``activity`` に渡された値が適切な型でない。" @@ -1123,28 +1568,31 @@ msgid "" msgstr "これはAPIを呼び出します。通常は :attr:`guilds` を代わりに使用してください。" #: discord.Client.fetch_guilds:16 discord.DMChannel.history:7 -#: discord.GroupChannel.history:7 discord.Member.history:7 -#: discord.Reaction.users:8 discord.TextChannel.history:7 -#: discord.User.history:7 discord.abc.Messageable.history:7 of +#: discord.GroupChannel.history:7 discord.Guild.fetch_members:26 +#: discord.Member.history:7 discord.Reaction.users:8 +#: discord.TextChannel.history:7 discord.User.history:7 +#: discord.abc.Messageable.history:7 of msgid "Usage ::" msgstr "使い方 ::" -#: discord.Client.fetch_guilds:21 of +#: discord.Client.fetch_guilds:21 discord.Guild.fetch_members:31 of msgid "Flattening into a list ::" msgstr "リストへフラット化 ::" #: discord.Client.fetch_guilds:26 discord.DMChannel.history:19 -#: discord.GroupChannel.history:19 discord.Member.edit:21 -#: discord.Member.history:19 discord.TextChannel.history:19 -#: discord.User.history:19 discord.abc.Messageable.history:19 of +#: discord.GroupChannel.history:19 discord.Guild.fetch_members:11 +#: discord.Member.edit:21 discord.Member.history:19 +#: discord.TextChannel.history:19 discord.User.history:19 +#: discord.abc.Messageable.history:19 of msgid "All parameters are optional." msgstr "すべてのパラメータがオプションです。" #: discord.Client.fetch_guilds:28 of +#, fuzzy msgid "" "The number of guilds to retrieve. If ``None``, it retrieves every guild " "you have access to. Note, however, that this would make it a slow " -"operation. Defaults to 100." +"operation. Defaults to ``100``." msgstr "" "取得するギルドの数。 ``None`` " "の場合、あなたがアクセスできるギルドすべてを取得します。ただし、これには時間がかかります。デフォルトは100です。" @@ -1170,25 +1618,48 @@ msgstr "" msgid "Getting the guilds failed." msgstr "ギルドのアイコンの変更" -#: discord.Client.fetch_guilds discord.DMChannel.history -#: discord.GroupChannel.history discord.Guild.audit_logs discord.Member.history -#: discord.Reaction.users discord.TextChannel.history discord.User.history -#: discord.abc.Messageable.history of -msgid "Yields" -msgstr "Yieldする値" - #: discord.Client.fetch_guilds:42 of msgid ":class:`.Guild` -- The guild with the guild data parsed." msgstr ":class:`.Guild` -- データを解析したGuild。" +#: discord.Client.fetch_template:3 of +#, fuzzy +msgid "Gets a :class:`.Template` from a discord.new URL or code." +msgstr ":class:`.Invite` をdiscord.gg URLやIDから取得します。" + +#: discord.Client.fetch_template:5 of +#, fuzzy +msgid "The Discord Template Code or URL (must be a discord.new URL)." +msgstr "Discordの招待ID、またはURL(discord.gg URLである必要があります)。" + +#: discord.Client.fetch_template:8 of +#, fuzzy +msgid "The template is invalid." +msgstr "メンバーがオンライン。" + +#: discord.Client.fetch_template:9 of +msgid "Getting the template failed." +msgstr "" + +#: discord.Client.fetch_template:11 of +#, fuzzy +msgid "The template from the URL/code." +msgstr "ギルドの名前。" + +#: discord.Client.fetch_template:12 of +#, fuzzy +msgid ":class:`.Template`" +msgstr ":class:`.Widget`" + #: discord.Client.fetch_guild:3 of msgid "Retrieves a :class:`.Guild` from an ID." msgstr "IDから :class:`.Guild` を取得します。" #: discord.Client.fetch_guild:7 of +#, fuzzy msgid "" "Using this, you will **not** receive :attr:`.Guild.channels`, " -":class:`.Guild.members`, :attr:`.Member.activity` and " +":attr:`.Guild.members`, :attr:`.Member.activity` and " ":attr:`.Member.voice` per :class:`.Member`." msgstr "" "これを使用した場合、 :attr:`.Guild.channels`、 :class:`.Guild.members` 、そして各 " @@ -1210,7 +1681,7 @@ msgstr "取得したいギルドのID。" msgid "You do not have access to the guild." msgstr ":exc:`.Forbidden` -- ギルドにアクセスできない。" -#: discord.Client.fetch_guild:18 discord.Guild.fetch_member:13 of +#: discord.Client.fetch_guild:18 of #, fuzzy msgid "Getting the guild failed." msgstr "ギルドのアイコンの変更" @@ -1219,7 +1690,8 @@ msgstr "ギルドのアイコンの変更" msgid "The guild from the ID." msgstr "IDから取得したギルド。" -#: discord.Client.create_guild:21 discord.Client.fetch_guild:21 of +#: discord.Client.create_guild:25 discord.Client.fetch_guild:21 +#: discord.Template.create_guild:21 of msgid ":class:`.Guild`" msgstr ":class:`.Guild`" @@ -1227,21 +1699,21 @@ msgstr ":class:`.Guild`" msgid "Creates a :class:`.Guild`." msgstr ":class:`.Guild` を作成します。" -#: discord.Client.create_guild:5 of +#: discord.Client.create_guild:5 discord.Template.create_guild:5 of msgid "Bot accounts in more than 10 guilds are not allowed to create guilds." msgstr "10以上のギルドに参加しているBotアカウントはギルドの作成ができません。" -#: discord.Client.create_guild:7 of +#: discord.Client.create_guild:7 discord.Template.create_guild:7 of msgid "The name of the guild." msgstr "ギルドの名前。" -#: discord.Client.create_guild:9 of +#: discord.Client.create_guild:9 discord.Template.create_guild:9 of msgid "" "The region for the voice communication server. Defaults to " ":attr:`.VoiceRegion.us_west`." msgstr "ボイスチャンネルの通信サーバーのリージョンです。デフォルトは :attr:`.VoiceRegion.us_west` です。" -#: discord.Client.create_guild:12 of +#: discord.Client.create_guild:12 discord.Template.create_guild:12 of msgid "" "The :term:`py:bytes-like object` representing the icon. See " ":meth:`.ClientUser.edit` for more details on what is expected." @@ -1249,17 +1721,25 @@ msgstr "" "アイコンを表す :term:`py:bytes-like object` です。 :meth:`.ClientUser.edit` " "で、予期されるデータの詳細を確認してください。" -#: discord.Client.create_guild:16 of +#: discord.Client.create_guild:15 of +msgid "The code for a template to create the guild with. .. versionadded:: 1.4" +msgstr "" + +#: discord.Client.create_guild:15 of +msgid "The code for a template to create the guild with." +msgstr "" + +#: discord.Client.create_guild:20 discord.Template.create_guild:16 of #, fuzzy msgid "Guild creation failed." msgstr ":exc:`.HTTPException` -- ギルドの作成に失敗した。" -#: discord.Client.create_guild:17 of +#: discord.Client.create_guild:21 discord.Template.create_guild:17 of #, fuzzy msgid "Invalid icon image format given. Must be PNG or JPG." msgstr ":exc:`.InvalidArgument` -- アイコン画像として無効なフォーマットの画像が渡された。PNGかJPGで指定してください。" -#: discord.Client.create_guild:19 of +#: discord.Client.create_guild:23 discord.Template.create_guild:19 of msgid "The guild created. This is not the same guild that is added to cache." msgstr "作成されたギルド。キャッシュに追加されるギルドとは別物です。" @@ -1268,10 +1748,11 @@ msgid "Gets an :class:`.Invite` from a discord.gg URL or ID." msgstr ":class:`.Invite` をdiscord.gg URLやIDから取得します。" #: discord.Client.fetch_invite:7 of +#, fuzzy msgid "" "If the invite is for a guild you have not joined, the guild and channel " "attributes of the returned :class:`.Invite` will be " -":class:`.PartialInviteGuild` and :class:`PartialInviteChannel` " +":class:`.PartialInviteGuild` and :class:`.PartialInviteChannel` " "respectively." msgstr "" "もしあなたがInviteのGuildに参加していない場合、 :class:`.Invite` のguildとchannel属性はそれぞれ " @@ -1422,33 +1903,47 @@ msgid ":class:`~discord.User`" msgstr ":class:`~discord.User`" #: discord.Client.fetch_user_profile:3 of -msgid "" -"Gets an arbitrary user's profile. This can only be used by non-bot " -"accounts." -msgstr "任意のユーザーのプロフィールを取得します。これはBotアカウント以外でのみ使用可能です。" +msgid "Gets an arbitrary user's profile." +msgstr "" + +#: discord.Client.fetch_user_profile:7 discord.ClientUser.blocked:5 +#: discord.ClientUser.create_group:9 discord.ClientUser.edit_settings:7 +#: discord.ClientUser.friends:5 discord.ClientUser.get_relationship:5 +#: discord.ClientUser.relationships:5 discord.Member.block:7 +#: discord.Member.is_blocked:5 discord.Member.is_friend:5 +#: discord.Member.mutual_friends:7 discord.Member.profile:7 +#: discord.Member.remove_friend:7 discord.Member.send_friend_request:7 +#: discord.Member.unblock:7 discord.User.block:7 discord.User.is_blocked:5 +#: discord.User.is_friend:5 discord.User.mutual_friends:7 +#: discord.User.profile:7 discord.User.relationship:5 +#: discord.User.remove_friend:7 discord.User.send_friend_request:7 +#: discord.User.unblock:7 of +#, fuzzy +msgid "This can only be used by non-bot accounts." +msgstr "これは非Botアカウントのみに適用されます。" -#: discord.Client.fetch_user_profile:5 of +#: discord.Client.fetch_user_profile:9 of msgid "The ID of the user to fetch their profile for." msgstr "プロフィールを取得したいユーザーのID。" -#: discord.Client.fetch_user_profile:8 discord.Member.profile:9 +#: discord.Client.fetch_user_profile:12 discord.Member.profile:9 #: discord.User.profile:9 of #, fuzzy msgid "Not allowed to fetch profiles." msgstr ":exc:`.Forbidden` -- プロフィールを取得することが許可されていない。" -#: discord.Client.fetch_user_profile:9 discord.Member.profile:10 +#: discord.Client.fetch_user_profile:13 discord.Member.profile:10 #: discord.User.profile:10 of #, fuzzy msgid "Fetching the profile failed." msgstr ":exc:`.HTTPException` -- プロフィールの取得に失敗した。" -#: discord.Client.fetch_user_profile:11 discord.Member.profile:12 +#: discord.Client.fetch_user_profile:15 discord.Member.profile:12 #: discord.User.profile:12 of msgid "The profile of the user." msgstr "ユーザーのプロフィール。" -#: discord.Client.fetch_user_profile:12 of +#: discord.Client.fetch_user_profile:16 of msgid ":class:`.Profile`" msgstr ":class:`.Profile`" @@ -1596,6 +2091,20 @@ msgstr "これは、 ``(shard_id, latency)`` の要素を持つタプルのリ msgid "List[Tuple[:class:`int`, :class:`float`]]" msgstr "" +#: discord.AutoShardedClient.get_shard:1 of +msgid "" +"Optional[:class:`ShardInfo`]: Gets the shard information at a given shard" +" ID or ``None`` if not found." +msgstr "" + +#: discord.AutoShardedClient.shards:1 of +msgid "Returns a mapping of shard IDs to their respective info object." +msgstr "" + +#: discord.AutoShardedClient.shards:3 of +msgid "Mapping[int, :class:`ShardInfo`]" +msgstr "" + #: discord.AutoShardedClient.request_offline_members:3 of msgid "" "Requests previously offline members from the guild to be filled up into " @@ -1618,26 +2127,16 @@ msgstr "" " :attr:`Guild.large` が ``True`` かどうかでギルドが大きいかどうかを確認することができます。" #: discord.AutoShardedClient.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`." -msgstr "" -"activityパラメータは現在実行中のアクティビティを表す :class:`Activity` " -"オブジェクト(文字列ではありません)です。これはスリムなダウンバージョン、 :class:`Game` や :class:`Streaming` " -"でも構いません。" - -#: discord.AutoShardedClient.change_presence:9 of msgid "Example: ::" msgstr "例: ::" -#: discord.AutoShardedClient.change_presence:16 of +#: discord.AutoShardedClient.change_presence:12 of msgid "" "Indicates what status to change to. If ``None``, then " ":attr:`Status.online` is used." msgstr "変更するステータスを示します。 ``None`` の場合、 :attr:`Status.online` となります。" -#: discord.AutoShardedClient.change_presence:23 of +#: discord.AutoShardedClient.change_presence:19 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." @@ -1645,7 +2144,7 @@ msgstr "" "プレゼンスを変更したいシャードのshard_id。指定されていない、または ``None`` " "が渡された場合はBotがアクセスできるすべてのシャードのプレゼンスが変更されます。" -#: discord.AutoShardedClient.change_presence:28 of +#: discord.AutoShardedClient.change_presence:24 of #, fuzzy msgid "If the ``activity`` parameter is not of proper type." msgstr ":exc:`InvalidArgument` -- ``activity`` に渡された値が適切な型でない。" @@ -1659,31 +2158,40 @@ msgstr "Discordが提供するBotのアプリケーション情報を表しま msgid "The application ID." msgstr "Botのアプリケーション情報。" -#: discord.Activity:16 discord.AppInfo:8 discord.Asset.save:15 -#: discord.Attachment:7 discord.Attachment:13 discord.Attachment.save:24 -#: discord.AuditLogEntry:22 discord.CategoryChannel:39 -#: discord.CategoryChannel:46 discord.ClientUser:31 discord.Colour:28 -#: discord.Colour.b:3 discord.Colour.g:3 discord.Colour.r:3 +#: ../../api.rst:2238 ../../api.rst:2244 ../../api.rst:2289 ../../api.rst:2303 +#: ../../api.rst:2331 ../../api.rst:2443 ../../api.rst:2451 ../../api.rst:2459 +#: ../../api.rst:2480 ../../api.rst:2497 discord.Activity:16 discord.AppInfo:8 +#: discord.Asset.save:15 discord.Attachment:7 discord.Attachment:13 +#: discord.Attachment.save:24 discord.AuditLogEntry:22 +#: discord.CategoryChannel:39 discord.CategoryChannel:46 discord.ClientUser:31 +#: discord.Colour:28 discord.Colour.b:3 discord.Colour.g:3 discord.Colour.r:3 #: discord.ConnectionClosed:8 discord.DMChannel:37 discord.Emoji:39 #: discord.Emoji:63 discord.GroupChannel:37 discord.Guild:46 discord.Guild:64 -#: discord.Guild:70 discord.Guild:112 discord.Guild:162 discord.Guild:168 +#: discord.Guild:70 discord.Guild:124 discord.Guild:178 discord.Guild:184 #: discord.Guild.emoji_limit:3 discord.Guild.estimate_pruned_members:15 -#: discord.Guild.filesize_limit:3 discord.Guild.shard_id:3 -#: discord.HTTPException:21 discord.HTTPException:27 discord.Invite:50 -#: discord.Invite:87 discord.Invite:93 discord.Message:102 +#: discord.Guild.filesize_limit:3 discord.Guild.member_count:8 +#: discord.Guild.shard_id:3 discord.HTTPException:21 discord.HTTPException:27 +#: discord.Integration:9 discord.Integration:63 discord.IntegrationAccount:9 +#: discord.Intents:37 discord.Invite:50 discord.Invite:87 discord.Invite:93 +#: discord.MemberCacheFlags:40 discord.Message:112 discord.MessageFlags:29 +#: discord.MessageReference:15 discord.Object:32 #: discord.PartialInviteChannel:34 discord.PartialInviteGuild:34 +#: discord.Permissions:46 discord.PublicUserFlags:28 #: discord.RawBulkMessageDeleteEvent:13 discord.RawMessageDeleteEvent:7 #: discord.RawMessageDeleteEvent:19 discord.RawMessageUpdateEvent:7 -#: discord.RawReactionActionEvent:8 discord.RawReactionActionEvent:14 -#: discord.RawReactionActionEvent:20 discord.RawReactionClearEvent:7 -#: discord.RawReactionClearEvent:13 discord.Reaction:36 discord.Role:41 -#: discord.Role:78 discord.SystemChannelFlags:32 discord.TextChannel:37 -#: discord.TextChannel:43 discord.TextChannel:56 discord.TextChannel:72 -#: discord.User:31 discord.VoiceChannel:37 discord.VoiceChannel:43 -#: discord.VoiceChannel:50 discord.VoiceChannel:56 discord.VoiceChannel:62 -#: discord.Webhook:45 discord.Widget:21 discord.WidgetChannel:25 -#: discord.WidgetChannel:37 discord.WidgetMember:25 discord.abc.GuildChannel:28 -#: discord.abc.Snowflake:10 discord.opus.OpusError:7 of +#: discord.RawMessageUpdateEvent:15 discord.RawReactionActionEvent:8 +#: discord.RawReactionActionEvent:14 discord.RawReactionActionEvent:20 +#: discord.RawReactionClearEmojiEvent:9 discord.RawReactionClearEmojiEvent:15 +#: discord.RawReactionClearEvent:7 discord.RawReactionClearEvent:13 +#: discord.Reaction:36 discord.Role:41 discord.Role:66 discord.ShardInfo:12 +#: discord.SystemChannelFlags:32 discord.Team:7 discord.Team:25 +#: discord.TeamMember:33 discord.Template:15 discord.TextChannel:37 +#: discord.TextChannel:56 discord.TextChannel:72 discord.User:31 +#: discord.VoiceChannel:37 discord.VoiceChannel:50 discord.VoiceChannel:56 +#: discord.VoiceChannel:62 discord.Webhook:62 discord.Widget:21 +#: discord.WidgetChannel:25 discord.WidgetChannel:37 discord.WidgetMember:25 +#: discord.abc.GuildChannel:28 discord.abc.Snowflake:13 +#: discord.opus.OpusError:7 of msgid ":class:`int`" msgstr "" @@ -1692,34 +2200,44 @@ msgstr "" msgid "The application name." msgstr ":class:`str` -- アプリケーションの名前。" -#: discord.Activity:22 discord.Activity:28 discord.Activity:40 -#: discord.Activity:46 discord.AppInfo:14 discord.Attachment:31 -#: discord.Attachment:38 discord.Attachment:46 discord.CategoryChannel:27 -#: discord.CategoryChannel.mention:3 discord.ClientUser:25 -#: discord.ClientUser:37 discord.ClientUser.display_name:7 -#: discord.ClientUser.mention:3 discord.ConnectionClosed:14 discord.Embed:24 -#: discord.Embed:31 discord.Embed:38 discord.Embed:45 discord.Emoji:33 -#: discord.Game:34 discord.Guild:27 discord.HTTPException:15 discord.Invite:56 -#: discord.Invite.id:3 discord.Invite.url:3 discord.Member.display_name:7 -#: discord.Member.mention:3 discord.Message:31 discord.Message.jump_url:3 -#: discord.Object:32 discord.PartialEmoji:31 discord.PartialInviteChannel:28 +#: ../../api.rst:2186 ../../api.rst:2192 ../../api.rst:2198 ../../api.rst:2297 +#: ../../api.rst:2323 ../../api.rst:2418 ../../api.rst:2488 discord.Activity:22 +#: discord.Activity:28 discord.Activity:40 discord.Activity:46 +#: discord.AppInfo:14 discord.AppInfo:69 discord.AppInfo:77 +#: discord.Attachment:31 discord.Attachment:38 discord.Attachment:46 +#: discord.CategoryChannel:27 discord.CategoryChannel.mention:3 +#: discord.ClientUser:25 discord.ClientUser:37 +#: discord.ClientUser.display_name:7 discord.ClientUser.mention:3 +#: discord.ConnectionClosed:14 discord.Embed:24 discord.Embed:31 +#: discord.Embed:38 discord.Embed:45 discord.Emoji:33 discord.Game:34 +#: discord.Guild:27 discord.Guild:199 discord.HTTPException:15 +#: discord.Integration:15 discord.Integration:27 discord.IntegrationAccount:15 +#: discord.Invite:56 discord.Invite.id:3 discord.Invite.url:3 +#: discord.Member.display_name:7 discord.Member.mention:3 +#: discord.Member.raw_status:5 discord.Message:31 +#: discord.Message.clean_content:15 discord.Message.jump_url:3 +#: discord.Message.system_content:8 discord.PartialInviteChannel:28 #: discord.PartialInviteChannel.mention:3 discord.PartialInviteGuild:28 -#: discord.Role:47 discord.Role.mention:3 discord.Spotify.album:3 -#: discord.Spotify.album_cover_url:3 discord.Spotify.artist:6 -#: discord.Spotify.name:3 discord.Spotify.party_id:3 discord.Spotify.title:3 -#: discord.Spotify.track_id:3 discord.Streaming:27 discord.Streaming:34 -#: discord.TextChannel:25 discord.TextChannel.mention:3 discord.User:25 -#: discord.User:37 discord.User.display_name:7 discord.User.mention:3 -#: discord.VoiceChannel:25 discord.VoiceChannel.mention:3 -#: discord.VoiceClient:18 discord.VoiceClient:24 discord.VoiceClient:30 -#: discord.Webhook:51 discord.Widget:27 discord.Widget.json_url:3 -#: discord.WidgetChannel:31 discord.WidgetChannel.mention:3 -#: discord.WidgetMember:31 discord.WidgetMember:37 -#: discord.WidgetMember.display_name:3 discord.WidgetMember.mention:3 -#: discord.abc.GuildChannel:15 discord.abc.GuildChannel.mention:3 -#: discord.abc.User:15 discord.abc.User:21 discord.abc.User.display_name:3 -#: discord.abc.User.mention:3 discord.utils.escape_markdown:18 -#: discord.utils.escape_mentions:11 discord.utils.resolve_invite:7 of +#: discord.RawReactionActionEvent:50 discord.Role:47 discord.Role.mention:3 +#: discord.Spotify.album:3 discord.Spotify.album_cover_url:3 +#: discord.Spotify.artist:6 discord.Spotify.name:3 discord.Spotify.party_id:3 +#: discord.Spotify.title:3 discord.Spotify.track_id:3 discord.Streaming:29 +#: discord.Streaming:55 discord.Team:13 discord.TeamMember:27 +#: discord.TeamMember:39 discord.Template:9 discord.Template:21 +#: discord.Template:27 discord.TextChannel:25 discord.TextChannel.mention:3 +#: discord.User:25 discord.User:37 discord.User.display_name:7 +#: discord.User.mention:3 discord.VoiceChannel:25 +#: discord.VoiceChannel.mention:3 discord.VoiceClient:17 discord.VoiceClient:23 +#: discord.VoiceClient:29 discord.Webhook.url:3 discord.Widget:27 +#: discord.Widget.json_url:3 discord.WidgetChannel:31 +#: discord.WidgetChannel.mention:3 discord.WidgetMember:31 +#: discord.WidgetMember:37 discord.WidgetMember.display_name:3 +#: discord.WidgetMember.mention:3 discord.abc.GuildChannel:15 +#: discord.abc.GuildChannel.mention:3 discord.abc.User:15 discord.abc.User:21 +#: discord.abc.User.display_name:3 discord.abc.User.mention:3 +#: discord.utils.escape_markdown:18 discord.utils.escape_mentions:17 +#: discord.utils.oauth_url:15 discord.utils.resolve_invite:7 +#: discord.utils.resolve_template:9 of msgid ":class:`str`" msgstr ":class:`str`" @@ -1728,51 +2246,87 @@ msgstr ":class:`str`" msgid "The application owner." msgstr ":class:`User` -- アプリケーションの所有者。" -#: discord.AppInfo:20 discord.DMChannel:25 discord.GroupChannel:43 -#: discord.Invite:99 discord.Relationship:10 of +#: ../../api.rst:864 ../../api.rst:2435 discord.AppInfo:20 discord.DMChannel:25 +#: discord.GroupChannel:43 discord.Integration:69 discord.Invite:99 +#: discord.Relationship:10 discord.Template:33 of #, fuzzy msgid ":class:`User`" msgstr ":class:`str`" #: discord.AppInfo:24 of #, fuzzy +msgid "The application's team." +msgstr ":class:`str` -- アプリケーションの名前。" + +#: discord.AppInfo:28 of +msgid "Optional[:class:`Team`]" +msgstr "" + +#: discord.AppInfo:32 discord.Team:17 of +#, fuzzy msgid "The icon hash, if it exists." msgstr "Optional[:class:`str`] -- アイコンのハッシュ。(存在する場合)" -#: discord.Activity.large_image_text:3 discord.Activity.large_image_url:3 -#: discord.Activity.small_image_text:3 discord.Activity.small_image_url:3 -#: discord.AppInfo:26 discord.AppInfo:32 discord.AuditLogEntry:35 -#: discord.ClientUser:43 discord.ClientUser:61 discord.ClientUser:67 -#: discord.File:25 discord.GroupChannel:49 discord.GroupChannel:55 -#: discord.Guild:58 discord.Guild:98 discord.Guild:104 discord.Guild:155 -#: discord.Member:48 discord.PartialInviteGuild:52 +#: ../../api.rst:2361 discord.Activity.large_image_text:3 +#: discord.Activity.large_image_url:3 discord.Activity.small_image_text:3 +#: discord.Activity.small_image_url:3 discord.AppInfo:34 discord.AppInfo:40 +#: discord.AppInfo:104 discord.AppInfo:113 discord.AuditLogEntry:35 +#: discord.ClientUser:43 discord.ClientUser:69 discord.ClientUser:75 +#: discord.CustomActivity:27 discord.File:30 discord.GroupChannel:49 +#: discord.GroupChannel:55 discord.Guild:58 discord.Guild:110 discord.Guild:116 +#: discord.Guild:171 discord.Guild:191 discord.Member:48 +#: discord.PartialEmoji:32 discord.PartialInviteGuild:52 #: discord.PartialInviteGuild:58 discord.PartialInviteGuild:64 -#: discord.PartialInviteGuild:70 discord.Streaming:40 -#: discord.Streaming.twitch_name:6 discord.TextChannel:49 discord.User:43 -#: discord.Webhook:76 discord.Webhook:82 discord.WidgetMember:55 -#: discord.WidgetMember:61 discord.abc.User:27 of +#: discord.PartialInviteGuild:70 discord.Streaming:35 discord.Streaming:41 +#: discord.Streaming:49 discord.Streaming.twitch_name:6 discord.Team:19 +#: discord.TeamMember:45 discord.TextChannel:49 discord.User:43 +#: discord.Webhook:77 discord.Webhook:102 discord.Webhook:108 +#: discord.Widget.invite_url:3 discord.WidgetMember:55 discord.WidgetMember:61 +#: discord.abc.User:27 of #, fuzzy msgid "Optional[:class:`str`]" msgstr ":class:`str`" -#: discord.AppInfo:30 of +#: discord.AppInfo:38 of #, fuzzy msgid "The application description." msgstr "Optional[:class:`str`] -- アプリケーションの説明。" -#: discord.AppInfo:36 of +#: discord.AppInfo:44 of #, fuzzy msgid "" "Whether the bot can be invited by anyone or if it is locked to the " "application owner." msgstr ":class:`bool` -- 誰でもBotを招待することができるか、それともアプリケーション所有者のみに限定されているか。" -#: discord.AppInfo:39 discord.AppInfo:46 discord.CallMessage.call_ended:3 -#: discord.ClientUser:49 discord.ClientUser:55 discord.ClientUser:73 -#: discord.ClientUser:79 discord.Emoji:45 discord.Emoji:51 discord.Emoji:57 -#: discord.Emoji:69 discord.File:31 discord.GroupCall:15 discord.Guild:80 -#: discord.Guild.large:6 discord.Invite:68 discord.Invite:81 discord.Message:11 -#: discord.Message:68 discord.Message:121 discord.PartialEmoji:37 +#: ../../api.rst:869 ../../api.rst:883 ../../api.rst:888 ../../api.rst:893 +#: ../../api.rst:898 ../../api.rst:903 ../../api.rst:915 ../../api.rst:923 +#: ../../api.rst:2250 ../../api.rst:2369 ../../api.rst:2377 ../../api.rst:2402 +#: ../../api.rst:2410 ../../api.rst:2467 discord.AllowedMentions:11 +#: discord.AppInfo:47 discord.AppInfo:54 discord.CallMessage.call_ended:3 +#: discord.CategoryChannel.permissions_synced:8 discord.ClientUser:49 +#: discord.ClientUser:57 discord.ClientUser:63 discord.ClientUser:81 +#: discord.ClientUser:87 discord.ClientUser.mentioned_in:7 discord.Emoji:45 +#: discord.Emoji:51 discord.Emoji:57 discord.Emoji:69 discord.File:36 +#: discord.GroupCall:15 discord.Guild:80 discord.Guild.chunked:9 +#: discord.Guild.large:6 discord.Integration:33 discord.Integration:39 +#: discord.Intents.bans:10 discord.Intents.dm_messages:25 +#: discord.Intents.dm_reactions:18 discord.Intents.dm_typing:11 +#: discord.Intents.emojis:14 discord.Intents.guild_messages:24 +#: discord.Intents.guild_reactions:18 discord.Intents.guild_typing:11 +#: discord.Intents.guilds:23 discord.Intents.integrations:9 +#: discord.Intents.invites:10 discord.Intents.members:31 +#: discord.Intents.messages:25 discord.Intents.presences:20 +#: discord.Intents.reactions:18 discord.Intents.typing:11 +#: discord.Intents.voice_states:13 discord.Intents.webhooks:9 discord.Invite:68 +#: discord.Invite:81 discord.Member.mentioned_in:7 +#: discord.MemberCacheFlags.joined:8 discord.MemberCacheFlags.online:8 +#: discord.MemberCacheFlags.voice:7 discord.Message:11 discord.Message:78 +#: discord.Message:131 discord.MessageFlags.crossposted:3 +#: discord.MessageFlags.is_crossposted:3 +#: discord.MessageFlags.source_message_deleted:3 +#: discord.MessageFlags.suppress_embeds:3 discord.MessageFlags.urgent:5 +#: discord.PartialEmoji:38 discord.PermissionOverwrite.is_empty:7 #: discord.Permissions.add_reactions:3 discord.Permissions.administrator:5 #: discord.Permissions.attach_files:3 discord.Permissions.ban_members:3 #: discord.Permissions.change_nickname:3 discord.Permissions.connect:3 @@ -1781,51 +2335,239 @@ msgstr ":class:`bool` -- 誰でもBotを招待することができるか、そ #: discord.Permissions.external_emojis:3 discord.Permissions.kick_members:3 #: discord.Permissions.manage_channels:5 discord.Permissions.manage_emojis:3 #: discord.Permissions.manage_guild:3 discord.Permissions.manage_messages:7 -#: discord.Permissions.manage_nicknames:3 discord.Permissions.manage_roles:5 +#: discord.Permissions.manage_nicknames:3 +#: discord.Permissions.manage_permissions:5 discord.Permissions.manage_roles:5 #: discord.Permissions.manage_webhooks:3 discord.Permissions.mention_everyone:3 #: discord.Permissions.move_members:3 discord.Permissions.mute_members:3 #: discord.Permissions.priority_speaker:3 #: discord.Permissions.read_message_history:3 #: discord.Permissions.read_messages:3 discord.Permissions.send_messages:3 #: discord.Permissions.send_tts_messages:3 discord.Permissions.speak:3 -#: discord.Permissions.stream:3 discord.Permissions.use_voice_activation:3 -#: discord.Permissions.view_audit_log:3 discord.Reaction:42 -#: discord.Reaction.custom_emoji:3 discord.Role:71 discord.Role:85 -#: discord.Role:91 discord.SystemChannelFlags.join_notifications:3 -#: discord.SystemChannelFlags.premium_subscriptions:3 discord.User:49 +#: discord.Permissions.stream:3 discord.Permissions.use_external_emojis:5 +#: discord.Permissions.use_voice_activation:3 +#: discord.Permissions.view_audit_log:3 discord.Permissions.view_channel:5 +#: discord.Permissions.view_guild_insights:5 +#: discord.PublicUserFlags.bug_hunter:3 +#: discord.PublicUserFlags.bug_hunter_level_2:3 +#: discord.PublicUserFlags.early_supporter:3 +#: discord.PublicUserFlags.early_verified_bot_developer:5 +#: discord.PublicUserFlags.hypesquad:3 +#: discord.PublicUserFlags.hypesquad_balance:3 +#: discord.PublicUserFlags.hypesquad_bravery:3 +#: discord.PublicUserFlags.hypesquad_brilliance:3 +#: discord.PublicUserFlags.partner:3 discord.PublicUserFlags.staff:3 +#: discord.PublicUserFlags.system:3 discord.PublicUserFlags.team_user:3 +#: discord.PublicUserFlags.verified_bot:3 +#: discord.PublicUserFlags.verified_bot_developer:3 discord.Reaction:42 +#: discord.Reaction.custom_emoji:3 discord.Role:59 discord.Role:73 +#: discord.Role:79 discord.SystemChannelFlags.join_notifications:3 +#: discord.SystemChannelFlags.premium_subscriptions:3 discord.TeamMember:51 +#: discord.TextChannel.permissions_synced:8 discord.User:49 discord.User:55 +#: discord.User.mentioned_in:7 discord.VoiceChannel.permissions_synced:8 #: discord.VoiceState:7 discord.VoiceState:13 discord.VoiceState:19 -#: discord.VoiceState:25 discord.VoiceState:31 discord.VoiceState:37 -#: discord.WidgetMember:43 discord.abc.User:33 discord.opus.is_loaded:7 of +#: discord.VoiceState:25 discord.VoiceState:33 discord.VoiceState:39 +#: discord.VoiceState:45 discord.WidgetMember:43 +#: discord.WidgetMember.mentioned_in:7 +#: discord.abc.GuildChannel.permissions_synced:8 discord.abc.User:33 +#: discord.opus.is_loaded:7 of msgid ":class:`bool`" msgstr ":class:`bool`" -#: discord.AppInfo:43 of +#: discord.AppInfo:51 of #, fuzzy msgid "" "Whether the bot requires the completion of the full oauth2 code grant " "flow to join." msgstr ":class:`bool` -- Botの参加に、完全なOAuth2認可コードフローの完了を必要とするかどうか。" -#: discord.AppInfo:50 of +#: discord.AppInfo:58 of msgid "A list of RPC origin URLs, if RPC is enabled." msgstr "" -#: discord.AppInfo:52 of +#: discord.AppInfo:60 of #, fuzzy msgid "Optional[List[:class:`str`]]" msgstr ":class:`str`" +#: discord.AppInfo:64 of +msgid "" +"If this application is a game sold on Discord, this field will be the " +"summary field for the store page of its primary SKU" +msgstr "" + +#: discord.AppInfo:73 of +msgid "The base64 encoded key for the GameSDK's GetTicket" +msgstr "" + +#: discord.AppInfo:81 discord.AppInfo.guild:1 of +msgid "" +"If this application is a game sold on Discord, this field will be the " +"guild to which it has been linked" +msgstr "" + +#: discord.AppInfo:86 discord.AppInfo:95 discord.Attachment:19 +#: discord.Attachment:25 discord.ConnectionClosed:20 discord.Guild:86 +#: discord.Guild:96 discord.Guild:104 discord.Guild.prune_members:38 +#: discord.Invite:105 discord.Invite:112 discord.Message:119 +#: discord.MessageReference:9 discord.MessageReference:21 +#: discord.PartialEmoji:44 discord.PrivilegedIntentsRequired:14 +#: discord.RawBulkMessageDeleteEvent:19 discord.RawMessageDeleteEvent:13 +#: discord.RawReactionActionEvent:26 discord.RawReactionClearEmojiEvent:21 +#: discord.RawReactionClearEvent:19 discord.ShardInfo:18 discord.TextChannel:43 +#: discord.TextChannel:63 discord.VoiceChannel:43 discord.Webhook:83 +#: discord.Webhook:89 of +msgid "Optional[:class:`int`]" +msgstr "" + +#: discord.AppInfo:90 of +msgid "" +"If this application is a game sold on Discord, this field will be the id " +"of the \"Game SKU\" that is created, if exists" +msgstr "" + +#: discord.AppInfo:99 of +msgid "" +"If this application is a game sold on Discord, this field will be the URL" +" slug that links to the store page" +msgstr "" + +#: discord.AppInfo:108 of +msgid "" +"If this application is a game sold on Discord, this field will be the " +"hash of the image on store embeds" +msgstr "" + #: discord.AppInfo.icon_url:1 of #, fuzzy msgid "Retrieves the application's icon asset." msgstr ":class:`.Asset` -- アプリケーションのアイコンアセット。" -#: discord.AppInfo.icon_url:3 of +#: discord.AppInfo.cover_image_url:5 discord.AppInfo.icon_url:5 +#: discord.Team.icon_url:3 of #, fuzzy msgid ":class:`.Asset`" msgstr ":class:`str`" -#: ../../api.rst:46 +#: discord.AppInfo.cover_image_url:1 of +msgid "Retrieves the cover image on a store embed." +msgstr "" + +#: discord.AppInfo.guild:6 discord.Message.guild:3 discord.VoiceClient.guild:3 +#: discord.Webhook.guild:5 of +#, fuzzy +msgid "Optional[:class:`Guild`]" +msgstr ":class:`.Guild`" + +#: discord.Team:1 of +#, fuzzy +msgid "Represents an application team for a bot provided by Discord." +msgstr "Discordが提供するBotのアプリケーション情報を表します。" + +#: discord.Team:5 of +#, fuzzy +msgid "The team ID." +msgstr "アムステルダムリージョン。" + +#: discord.Team:11 of +msgid "The team name" +msgstr "" + +#: discord.Team:23 of +msgid "The team's owner ID." +msgstr "" + +#: discord.Team:29 of +msgid "A list of the members in the team" +msgstr "" + +#: discord.Team:33 of +msgid "List[:class:`TeamMember`]" +msgstr "" + +#: discord.Team.icon_url:1 of +#, fuzzy +msgid "Retrieves the team's icon asset." +msgstr "Botのアプリケーション情報を取得します。" + +#: discord.Team.owner:1 of +msgid "The team's owner." +msgstr "" + +#: discord.Team.owner:3 of +msgid "Optional[:class:`TeamMember`]" +msgstr "" + +#: discord.TeamMember:1 of +#, fuzzy +msgid "Represents a team member in a team." +msgstr "オーディオストリームを表します。" + +#: discord.TeamMember:7 of +#, fuzzy +msgid "Checks if two team members are equal." +msgstr "二つのユーザーが等しいかを比較します。" + +#: discord.TeamMember:11 of +#, fuzzy +msgid "Checks if two team members are not equal." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: discord.TeamMember:15 of +#, fuzzy +msgid "Return the team member's hash." +msgstr "ユーザーのハッシュ値を返します。" + +#: discord.TeamMember:19 of +#, fuzzy +msgid "Returns the team member's name with discriminator." +msgstr "ユーザー名とディスクリミネータを返します。" + +#: discord.TeamMember:25 of +#, fuzzy +msgid "The team member's username." +msgstr "更新されたメンバーの更新後情報。" + +#: discord.TeamMember:31 of +#, fuzzy +msgid "The team member's unique ID." +msgstr "更新されたメンバーの更新後情報。" + +#: discord.TeamMember:37 of +#, fuzzy +msgid "" +"The team member's discriminator. This is given when the username has " +"conflicts." +msgstr ":class:`str` -- ユーザーの識別子。これはユーザー名が重複しているときに与えられます。" + +#: discord.TeamMember:43 of +#, fuzzy +msgid "The avatar hash the team member has. Could be None." +msgstr "Optional[:class:`str`] -- ユーザーのアバターハッシュ。 Noneが返る場合もあります。" + +#: discord.ClientUser:47 discord.TeamMember:49 discord.User:47 of +#, fuzzy +msgid "Specifies if the user is a bot account." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" + +#: discord.TeamMember:55 of +#, fuzzy +msgid "The team that the member is from." +msgstr "メンションが削除されたテキスト。" + +#: discord.TeamMember:57 of +#, fuzzy +msgid ":class:`Team`" +msgstr ":class:`bytes`" + +#: discord.TeamMember:61 of +msgid "The membership state of the member (e.g. invited or accepted)" +msgstr "" + +#: discord.TeamMember:63 of +msgid ":class:`TeamMembershipState`" +msgstr "" + +#: ../../api.rst:52 msgid "Voice" msgstr "ボイス" @@ -1841,40 +2583,39 @@ msgstr "これを意図的に生成することはできません。通常、 :m #: discord.VoiceClient:8 of msgid "" -"In order to play audio, you must have loaded the opus library through " -":func:`opus.load_opus`." -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." -msgstr "ロードを行っていない場合、オーディオの送信ができません。" +"In order to use PCM based AudioSources, you must have the opus library " +"installed on your system and loaded through :func:`opus.load_opus`. " +"Otherwise, your AudioSources must be opus encoded (e.g. using " +":class:`FFmpegOpusAudio`) or the library will not be able to transmit " +"audio." +msgstr "" -#: discord.VoiceClient:16 of +#: discord.VoiceClient:15 of #, fuzzy msgid "The voice connection session ID." msgstr ":class:`str` -- 音声接続のセッションID。" -#: discord.VoiceClient:22 of +#: discord.VoiceClient:21 of #, fuzzy msgid "The voice connection token." msgstr ":class:`str` -- 音声接続のトークン." -#: discord.VoiceClient:28 of +#: discord.VoiceClient:27 of #, fuzzy msgid "The endpoint we are connecting to." msgstr ":class:`str` -- 接続先のエンドポイント。" -#: discord.VoiceClient:34 of +#: discord.VoiceClient:33 of #, fuzzy msgid "The voice channel connected to." msgstr ":class:`abc.Connectable` -- 接続しているボイスチャンネル。" -#: discord.VoiceClient:36 of +#: discord.VoiceClient:35 of #, fuzzy msgid ":class:`abc.Connectable`" msgstr ":class:`.Invite`" -#: discord.VoiceClient:40 of +#: discord.VoiceClient:39 of #, fuzzy msgid "The event loop that the voice client is running on." msgstr ":class:`asyncio.AbstractEventLoop` -- ボイスクライアントが実行されているイベントループ。" @@ -1884,12 +2625,6 @@ msgstr ":class:`asyncio.AbstractEventLoop` -- ボイスクライアントが実 msgid "The guild we're connected to, if applicable." msgstr "Optional[:class:`Guild`] -- 存在する場合は、接続しているギルドを返します。" -#: discord.Message.guild:3 discord.VoiceClient.guild:3 discord.Webhook.guild:5 -#: of -#, fuzzy -msgid "Optional[:class:`Guild`]" -msgstr ":class:`.Guild`" - #: discord.VoiceClient.user:1 of #, fuzzy msgid "The user connected to voice (i.e. ourselves)." @@ -1900,6 +2635,92 @@ msgstr ":class:`ClientUser` -- ボイスチャンネルに接続しているユ msgid ":class:`ClientUser`" msgstr ":class:`~discord.ClientUser`" +#: discord.VoiceClient.on_voice_state_update:3 +#: discord.VoiceProtocol.on_voice_state_update:3 of +msgid "" +"An abstract method that is called when the client's voice state has " +"changed. This corresponds to ``VOICE_STATE_UPDATE``." +msgstr "" + +#: discord.VoiceClient.on_voice_state_update:6 +#: discord.VoiceProtocol.on_voice_state_update:6 of +msgid "" +"The raw `voice state payload`__. .. _voice_state_update_payload: " +"https://discord.com/developers/docs/resources/voice#voice-state-object " +"__ voice_state_update_payload_" +msgstr "" + +#: discord.VoiceClient.on_voice_state_update:6 +#: discord.VoiceProtocol.on_voice_state_update:6 of +#, fuzzy +msgid "The raw `voice state payload`__." +msgstr "生のイベントペイロードデータ。" + +#: discord.VoiceClient.on_voice_server_update:3 +#: discord.VoiceProtocol.on_voice_server_update:3 of +msgid "" +"An abstract method that is called when initially connecting to voice. " +"This corresponds to ``VOICE_SERVER_UPDATE``." +msgstr "" + +#: discord.VoiceClient.on_voice_server_update:6 +#: discord.VoiceProtocol.on_voice_server_update:6 of +msgid "" +"The raw `voice server update payload`__. .. " +"_voice_server_update_payload: " +"https://discord.com/developers/docs/topics/gateway#voice-server-update-" +"voice-server-update-event-fields __ voice_server_update_payload_" +msgstr "" + +#: discord.VoiceClient.on_voice_server_update:6 +#: discord.VoiceProtocol.on_voice_server_update:6 of +msgid "The raw `voice server update payload`__." +msgstr "" + +#: discord.VoiceClient.connect:3 discord.VoiceProtocol.connect:3 of +msgid "" +"An abstract method called when the client initiates the connection " +"request." +msgstr "" + +#: discord.VoiceClient.connect:5 discord.VoiceProtocol.connect:5 of +msgid "" +"When a connection is requested initially, the library calls the " +"constructor under ``__init__`` and then calls :meth:`connect`. If " +":meth:`connect` fails at some point then :meth:`disconnect` is called." +msgstr "" + +#: discord.VoiceClient.connect:9 discord.VoiceProtocol.connect:9 of +msgid "" +"Within this method, to start the voice connection flow it is recommended " +"to use :meth:`Guild.change_voice_state` to start the flow. After which, " +":meth:`on_voice_server_update` and :meth:`on_voice_state_update` will be " +"called. The order that these two are called is unspecified." +msgstr "" + +#: discord.VoiceClient.connect:14 discord.VoiceProtocol.connect:14 of +msgid "The timeout for the connection." +msgstr "" + +#: discord.VoiceClient.connect:16 discord.VoiceProtocol.connect:16 of +#, fuzzy +msgid "Whether reconnection is expected." +msgstr "Discordとの接続を閉じます。" + +#: discord.VoiceClient.latency:1 of +msgid "Latency between a HEARTBEAT and a HEARTBEAT_ACK in seconds." +msgstr "" + +#: discord.VoiceClient.latency:3 of +msgid "" +"This could be referred to as the Discord Voice WebSocket latency and is " +"an analogue of user's voice latencies as seen in the Discord client." +msgstr "" + +#: discord.VoiceClient.average_latency:1 of +msgid "Average of most recent 20 HEARTBEAT latencies in seconds." +msgstr "" + #: discord.VoiceClient.disconnect:3 of msgid "Disconnects this voice client from voice." msgstr "ボイスクライアントをボイスチャンネルから切断します。" @@ -1927,21 +2748,23 @@ msgid "" msgstr "ファイナライザーである ``after`` はソースがなくなったか、エラーが発生した後に呼び出されます。" #: discord.VoiceClient.play:6 of +#, fuzzy msgid "" "If an error happens while the audio player is running, the exception is " -"caught and the audio player is then stopped." +"caught and the audio player is then stopped. If no after callback is " +"passed, any caught exception will be displayed as if it were raised." msgstr "オーディオプレイヤーの実行中にエラーが発生した場合、例外はキャッチされ、プレイヤーは停止します。" -#: discord.VoiceClient.play:9 of +#: discord.VoiceClient.play:10 of msgid "The audio source we're reading from." msgstr "読み込むオーディオソース。" -#: discord.VoiceClient.play:11 of +#: discord.VoiceClient.play:12 of +#, fuzzy 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. This function" +" must have a single parameter, ``error``, that denotes an optional " +"exception that was raised during playing." msgstr "" "ファイナライザーはストリームが空になると呼び出されます。発生した例外はすべて破棄されます。この関数には再生中に発生したオプションの例外を表す一つのパラメータ" " ``error`` が必要です。" @@ -1953,9 +2776,13 @@ msgstr ":exc:`ClientException` -- すでにオーディオを再生している #: discord.VoiceClient.play:18 of #, fuzzy -msgid "source is not a :class:`AudioSource` or after is not a callable." +msgid "Source is not a :class:`AudioSource` or after is not a callable." msgstr ":exc:`TypeError` -- sourceが :class:`AudioSource` でないか、afterが呼び出し可能でない。" +#: discord.VoiceClient.play:19 of +msgid "Source is not opus encoded and opus is not loaded." +msgstr "" + #: discord.VoiceClient.is_playing:1 of msgid "Indicates if we're currently playing audio." msgstr "現在オーディオを再生しているかを表します。" @@ -2018,30 +2845,94 @@ msgstr ":exc:`ClientException` -- ボイスチャンネルに接続していな msgid "Encoding the data failed." msgstr ":exc:`opus.OpusError` -- dataのエンコードに失敗した。" -#: discord.AudioSource:1 of -msgid "Represents an audio stream." -msgstr "オーディオストリームを表します。" +#: discord.VoiceProtocol:1 of +#, fuzzy +msgid "A class that represents the Discord voice protocol." +msgstr "Discordの音声接続を表します。" -#: discord.AudioSource:3 of +#: discord.VoiceProtocol:3 of msgid "" -"The audio stream can be Opus encoded or not, however if the audio stream " -"is not Opus encoded then the audio format must be 16-bit 48KHz stereo " -"PCM." -msgstr "オーディオストリームはOpusにエンコードされていなくても構いませんが、エンコードされていない場合、オーディオフォーマットは16ビットの48KHzステレオPCMである必要があります。" +"This is an abstract class. The library provides a concrete implementation" +" under :class:`VoiceClient`." +msgstr "" -#: discord.AudioSource:8 of -msgid "The audio source reads are done in a separate thread." -msgstr "オーディオソースの読み込みは別スレッドで行われます。" +#: discord.VoiceProtocol:6 of +msgid "" +"This class allows you to implement a protocol to allow for an external " +"method of sending voice, such as Lavalink_ or a native library " +"implementation." +msgstr "" -#: discord.AudioSource.read:1 discord.FFmpegPCMAudio.read:1 -#: discord.PCMAudio.read:1 discord.PCMVolumeTransformer.read:1 of +#: discord.VoiceProtocol:9 of +msgid "These classes are passed to :meth:`abc.Connectable.connect`." +msgstr "" + +#: discord.VoiceProtocol:13 of +msgid "The client (or its subclasses) that started the connection request." +msgstr "" + +#: discord.VoiceProtocol:15 of +#, fuzzy +msgid "The voice channel that is being connected to." +msgstr "ピン留めが更新されたプライベートチャンネル。" + +#: discord.VoiceProtocol.disconnect:3 of +msgid "An abstract method called when the client terminates the connection." +msgstr "" + +#: discord.VoiceProtocol.disconnect:5 of +msgid "See :meth:`cleanup`." +msgstr "" + +#: discord.VoiceProtocol.disconnect:7 of +#, fuzzy +msgid "Whether the disconnection was forced." +msgstr "Discordとの接続を閉じます。" + +#: discord.VoiceProtocol.cleanup:1 of +msgid "" +"This method *must* be called to ensure proper clean-up during a " +"disconnect." +msgstr "" + +#: discord.VoiceProtocol.cleanup:3 of +msgid "" +"It is advisable to call this from within :meth:`disconnect` when you are " +"completely done with the voice protocol instance." +msgstr "" + +#: discord.VoiceProtocol.cleanup:6 of +msgid "" +"This method removes it from the internal state cache that keeps track of " +"currently alive voice clients. Failure to clean-up will cause subsequent " +"connections to report that it's still connected." +msgstr "" + +#: discord.AudioSource:1 of +msgid "Represents an audio stream." +msgstr "オーディオストリームを表します。" + +#: discord.AudioSource:3 of +msgid "" +"The audio stream can be Opus encoded or not, however if the audio stream " +"is not Opus encoded then the audio format must be 16-bit 48KHz stereo " +"PCM." +msgstr "オーディオストリームはOpusにエンコードされていなくても構いませんが、エンコードされていない場合、オーディオフォーマットは16ビットの48KHzステレオPCMである必要があります。" + +#: discord.AudioSource:8 of +msgid "The audio source reads are done in a separate thread." +msgstr "オーディオソースの読み込みは別スレッドで行われます。" + +#: discord.AudioSource.read:1 discord.FFmpegOpusAudio.read:1 +#: discord.FFmpegPCMAudio.read:1 discord.PCMAudio.read:1 +#: discord.PCMVolumeTransformer.read:1 of msgid "Reads 20ms worth of audio." msgstr "20ms分のオーディオを読み込みます。" #: discord.AsyncWebhookAdapter.handle_execution_response:7 #: discord.AsyncWebhookAdapter.request:3 discord.AudioSource.read:3 -#: discord.FFmpegPCMAudio.read:3 discord.PCMAudio.read:3 -#: discord.PCMVolumeTransformer.read:3 +#: discord.FFmpegOpusAudio.read:3 discord.FFmpegPCMAudio.read:3 +#: discord.PCMAudio.read:3 discord.PCMVolumeTransformer.read:3 #: discord.RequestsWebhookAdapter.handle_execution_response:7 #: discord.RequestsWebhookAdapter.request:3 #: discord.WebhookAdapter.handle_execution_response:7 @@ -2049,15 +2940,17 @@ msgstr "20ms分のオーディオを読み込みます。" msgid "Subclasses must implement this." msgstr "サブクラスはこれを実装する必要があります。" -#: discord.AudioSource.read:5 discord.FFmpegPCMAudio.read:5 -#: discord.PCMAudio.read:5 discord.PCMVolumeTransformer.read:5 of +#: discord.AudioSource.read:5 discord.FFmpegOpusAudio.read:5 +#: discord.FFmpegPCMAudio.read:5 discord.PCMAudio.read:5 +#: discord.PCMVolumeTransformer.read:5 of msgid "" "If the audio is complete, then returning an empty :term:`py:bytes-like " "object` to signal this is the way to do so." msgstr "オーディオの読み取りが終了すると、空の :term:`py:bytes-like object` を返してこれを通知します。" -#: discord.AudioSource.read:8 discord.FFmpegPCMAudio.read:8 -#: discord.PCMAudio.read:8 discord.PCMVolumeTransformer.read:8 of +#: discord.AudioSource.read:8 discord.FFmpegOpusAudio.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 " @@ -2067,27 +2960,29 @@ msgstr "" ":meth:`is_opus` が ``True`` " "を返す場合、20ms分のOpusにエンコードされたオーディオを返さなければいけません。それ以外の場合は、フレームあたり約3,840バイトの20ms相当の16ビット48KHzステレオPCM(20ms分のオーディオ)が必要です。" -#: discord.AudioSource.read:13 discord.FFmpegPCMAudio.read:13 -#: discord.PCMAudio.read:13 discord.PCMVolumeTransformer.read:13 of +#: discord.AudioSource.read:13 discord.FFmpegOpusAudio.read:13 +#: discord.FFmpegPCMAudio.read:13 discord.PCMAudio.read:13 +#: discord.PCMVolumeTransformer.read:13 of msgid "A bytes like object that represents the PCM or Opus data." msgstr "PCMまたはOpusデータを表すバイトライクオブジェクト。" -#: discord.Asset.read:23 discord.Attachment.read:20 discord.AudioSource.read:14 -#: discord.FFmpegPCMAudio.read:14 discord.PCMAudio.read:14 -#: discord.PCMVolumeTransformer.read:14 of +#: discord.Asset.read:18 discord.Attachment.read:20 discord.AudioSource.read:14 +#: discord.FFmpegOpusAudio.read:14 discord.FFmpegPCMAudio.read:14 +#: discord.PCMAudio.read:14 discord.PCMVolumeTransformer.read:14 of msgid ":class:`bytes`" msgstr ":class:`bytes`" -#: discord.AudioSource.is_opus:1 of +#: discord.AudioSource.is_opus:1 discord.FFmpegOpusAudio.is_opus:1 +#: discord.FFmpegPCMAudio.is_opus:1 of msgid "Checks if the audio source is already encoded in Opus." msgstr "オーディオソースがOpusにエンコードされているかを表します。" -#: discord.AudioSource.cleanup:1 discord.FFmpegPCMAudio.cleanup:1 +#: discord.AudioSource.cleanup:1 discord.FFmpegAudio.cleanup:1 #: discord.PCMVolumeTransformer.cleanup:1 of msgid "Called when clean-up is needed to be done." msgstr "クリーンアップが必要な時に呼び出されます。" -#: discord.AudioSource.cleanup:3 discord.FFmpegPCMAudio.cleanup:3 +#: discord.AudioSource.cleanup:3 discord.FFmpegAudio.cleanup:3 #: discord.PCMVolumeTransformer.cleanup:3 of msgid "" "Useful for clearing buffer data or processes after it is done playing " @@ -2107,7 +3002,18 @@ msgstr ":term:`py:file object` -- 生のPCMを表したバイトデータを読 msgid ":term:`py:file object`" msgstr "" -#: discord.FFmpegPCMAudio:1 of +#: discord.FFmpegAudio:1 of +msgid "Represents an FFmpeg (or AVConv) based AudioSource." +msgstr "" + +#: discord.FFmpegAudio:3 of +msgid "" +"User created AudioSources using FFmpeg differently from how " +":class:`FFmpegPCMAudio` and :class:`FFmpegOpusAudio` work should subclass" +" this." +msgstr "" + +#: discord.FFmpegOpusAudio:1 discord.FFmpegPCMAudio:1 of msgid "An audio source from FFmpeg (or AVConv)." msgstr "FFmpeg(またはAVConv)のオーディオソース。" @@ -2115,50 +3021,198 @@ msgstr "FFmpeg(またはAVConv)のオーディオソース。" msgid "This launches a sub-process to a specific input file given." msgstr "与えられた特定の入力ファイルに対してサブプロセスを起動します。" -#: discord.FFmpegPCMAudio:7 of +#: discord.FFmpegOpusAudio:18 discord.FFmpegPCMAudio:7 of msgid "" "You must have the ffmpeg or avconv executable in your path environment " "variable in order for this to work." msgstr "環境変数にffmpegまたはavconv実行可能ファイルがなければなりません。" #: discord.FFmpegPCMAudio:10 of +#, fuzzy 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 " +"``True`` then this is a file-like object that is passed to the stdin of " "ffmpeg." msgstr "" "ffmpegが受け取り、PCMバイトへ変換する入力。 ``pipe`` " "がTrueの場合、これはffmpegの標準入力に渡されるファイルライクオブジェクトです。" -#: discord.FFmpegPCMAudio:14 of +#: discord.FFmpegOpusAudio:39 discord.FFmpegPCMAudio:14 of msgid "The executable name (and path) to use. Defaults to ``ffmpeg``." msgstr "使用する実行可能ファイルの名前 (およびパス)。デフォルトでは ``ffmpeg`` です。" -#: discord.FFmpegPCMAudio:16 of +#: discord.FFmpegOpusAudio:41 discord.FFmpegPCMAudio:16 of msgid "" "If ``True``, denotes that ``source`` parameter will be passed to the " "stdin of ffmpeg. Defaults to ``False``." msgstr "``True`` の場合、 ``source`` パラメータがffmpegの標準入力に渡されます。デフォルトでは ``False`` です。" -#: discord.FFmpegPCMAudio:19 of +#: discord.FFmpegOpusAudio:44 discord.FFmpegPCMAudio:19 of msgid "" "A file-like object to pass to the Popen constructor. Could also be an " "instance of ``subprocess.PIPE``." msgstr "Popenのコンストラクタに渡すファイルライクオブジェクト。 ``subprocess.PIPE`` のようなインスタンスにすることも可能です。" -#: discord.FFmpegPCMAudio:22 of -msgid "Extra command line arguments to pass to ffmpeg after the ``-i`` flag." -msgstr "``-i`` フラグのあとにffmepgに渡す追加のコマンドライン引数。" - -#: discord.FFmpegPCMAudio:24 of +#: discord.FFmpegOpusAudio:47 discord.FFmpegPCMAudio:22 of msgid "Extra command line arguments to pass to ffmpeg before the ``-i`` flag." msgstr "``-i`` フラグのまえにffmepgに渡す追加のコマンドライン引数。" -#: discord.FFmpegPCMAudio:27 of +#: discord.FFmpegOpusAudio:49 discord.FFmpegPCMAudio:24 of +msgid "Extra command line arguments to pass to ffmpeg after the ``-i`` flag." +msgstr "``-i`` フラグのあとにffmepgに渡す追加のコマンドライン引数。" + +#: discord.FFmpegOpusAudio:52 discord.FFmpegPCMAudio:27 of #, fuzzy msgid "The subprocess failed to be created." msgstr ":exc:`ClientException` -- サブプロセスの作成に失敗した。" +#: discord.FFmpegOpusAudio:3 of +msgid "" +"This launches a sub-process to a specific input file given. However, " +"rather than producing PCM packets like :class:`FFmpegPCMAudio` does that " +"need to be encoded to Opus, this class produces Opus packets, skipping " +"the encoding step done by the library." +msgstr "" + +#: discord.FFmpegOpusAudio:7 of +msgid "" +"Alternatively, instead of instantiating this class directly, you can use " +":meth:`FFmpegOpusAudio.from_probe` to probe for bitrate and codec " +"information. This can be used to opportunistically skip pointless re-" +"encoding of existing Opus audio data for a boost in performance at the " +"cost of a short initial delay to gather the information. The same can be " +"achieved by passing ``copy`` to the ``codec`` parameter, but only if you " +"know that the input source is Opus encoded beforehand." +msgstr "" + +#: discord.FFmpegOpusAudio:21 of +#, fuzzy +msgid "" +"The input that ffmpeg will take and convert to Opus bytes. If ``pipe`` is" +" ``True`` then this is a file-like object that is passed to the stdin of " +"ffmpeg." +msgstr "" +"ffmpegが受け取り、PCMバイトへ変換する入力。 ``pipe`` " +"がTrueの場合、これはffmpegの標準入力に渡されるファイルライクオブジェクトです。" + +#: discord.FFmpegOpusAudio:25 of +msgid "The bitrate in kbps to encode the output to. Defaults to ``128``." +msgstr "" + +#: discord.FFmpegOpusAudio:27 of +msgid "" +"The codec to use to encode the audio data. Normally this would be just " +"``libopus``, but is used by :meth:`FFmpegOpusAudio.from_probe` to " +"opportunistically skip pointlessly re-encoding Opus audio data by passing" +" ``copy`` as the codec value. Any values other than ``copy``, ``opus``, " +"or ``libopus`` will be considered ``libopus``. Defaults to ``libopus``." +" .. warning:: Do not provide this parameter unless you are certain " +"that the audio input is already Opus encoded. For typical use " +":meth:`FFmpegOpusAudio.from_probe` should be used to determine the " +"proper value for this parameter." +msgstr "" + +#: discord.FFmpegOpusAudio:27 of +msgid "" +"The codec to use to encode the audio data. Normally this would be just " +"``libopus``, but is used by :meth:`FFmpegOpusAudio.from_probe` to " +"opportunistically skip pointlessly re-encoding Opus audio data by passing" +" ``copy`` as the codec value. Any values other than ``copy``, ``opus``, " +"or ``libopus`` will be considered ``libopus``. Defaults to ``libopus``." +msgstr "" + +#: discord.FFmpegOpusAudio:35 of +msgid "" +"Do not provide this parameter unless you are certain that the audio input" +" is already Opus encoded. For typical use " +":meth:`FFmpegOpusAudio.from_probe` should be used to determine the proper" +" value for this parameter." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:3 of +msgid "" +"A factory method that creates a :class:`FFmpegOpusAudio` after probing " +"the input source for audio codec and bitrate information." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:8 of +msgid "" +"Use this function to create an :class:`FFmpegOpusAudio` instance instead " +"of the constructor: ::" +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:13 of +msgid "" +"If you are on Windows and don't have ffprobe installed, use the " +"``fallback`` method to probe using ffmpeg instead: ::" +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:19 of +msgid "Using a custom method of determining codec and bitrate: ::" +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:29 of +msgid "Identical to the ``source`` parameter for the constructor." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:30 of +msgid "" +"The probing method used to determine bitrate and codec information. As a " +"string, valid values are ``native`` to use ffprobe (or avprobe) and " +"``fallback`` to use ffmpeg (or avconv). As a callable, it must take two " +"string arguments, ``source`` and ``executable``. Both parameters are the" +" same values passed to this factory function. ``executable`` will default" +" to ``ffmpeg`` if not provided as a keyword argument." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:36 of +msgid "" +"The remaining parameters to be passed to the :class:`FFmpegOpusAudio` " +"constructor, excluding ``bitrate`` and ``codec``." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:39 discord.FFmpegOpusAudio.probe:10 of +msgid "Invalid probe method, must be ``'native'`` or ``'fallback'``." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:40 discord.FFmpegOpusAudio.probe:11 of +msgid "Invalid value for ``probe`` parameter, must be :class:`str` or a callable." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:42 of +msgid "An instance of this class." +msgstr "" + +#: discord.FFmpegOpusAudio.from_probe:43 of +msgid ":class:`FFmpegOpusAudio`" +msgstr "" + +#: discord.FFmpegOpusAudio.probe:3 of +msgid "Probes the input source for bitrate and codec information." +msgstr "" + +#: discord.FFmpegOpusAudio.probe:5 of +msgid "Identical to the ``source`` parameter for :class:`FFmpegOpusAudio`." +msgstr "" + +#: discord.FFmpegOpusAudio.probe:6 of +msgid "" +"Identical to the ``method`` parameter for " +":meth:`FFmpegOpusAudio.from_probe`." +msgstr "" + +#: discord.FFmpegOpusAudio.probe:7 of +msgid "Identical to the ``executable`` parameter for :class:`FFmpegOpusAudio`." +msgstr "" + +#: discord.FFmpegOpusAudio.probe:13 of +msgid "A 2-tuple with the codec and bitrate of the input source." +msgstr "" + +#: discord.FFmpegOpusAudio.probe:14 of +msgid "Tuple[Optional[:class:`str`], Optional[:class:`int`]]" +msgstr "" + #: discord.PCMVolumeTransformer:1 of msgid "Transforms a previous :class:`AudioSource` to have volume controls." msgstr "前述の :class:`AudioSource` をボリュームコントロールを持つものに変換します。" @@ -2188,12 +3242,13 @@ msgid "The audio source is opus encoded." msgstr ":exc:`ClientException` -- オーディオソースがopusエンコード済み。" #: discord.PCMVolumeTransformer.volume:1 of +#, fuzzy 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 "ボリュームを浮動小数点数パーセンテージ (100%の場合は1.0)として取得、または設定します。" -#: ../../api.rst:64 +#: ../../api.rst:79 msgid "Opus Library" msgstr "Opusライブラリ" @@ -2209,8 +3264,11 @@ msgstr "" "この関数が呼び出されない場合、ライブラリは :func:`ctypes.util.find_library` " "関数を使用して利用可能であればロードします。" -#: discord.opus.load_opus:7 of -msgid "Not loading a library leads to voice not working." +#: discord.opus.load_opus:6 of +#, fuzzy +msgid "" +"Not loading a library and attempting to use PCM based AudioSources will " +"lead to voice not working." msgstr "ライブラリをロードしないと音声が機能しなくなります。" #: discord.opus.load_opus:9 of @@ -2262,17 +3320,17 @@ msgstr "ボイス関連の機能を動かすためには、これが ``True`` msgid "Indicates if the opus library has been loaded." msgstr "opusライブラリがロードされているかを表します。" -#: ../../api.rst:73 +#: ../../api.rst:88 msgid "Event Reference" msgstr "イベントリファレンス" -#: ../../api.rst:75 +#: ../../api.rst:90 msgid "" "This page outlines the different types of events listened by " ":class:`Client`." msgstr "この項目では :class:`Client` が受け取る様々なイベントについて説明します。" -#: ../../api.rst:77 +#: ../../api.rst:92 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 " @@ -2281,7 +3339,7 @@ msgstr "" "イベントを登録する方法は二通りあります。一つ目は :meth:`Client.event` を使用する方法です。二つ目は " ":class:`Client` を継承してサブクラスを作り、イベントをオーバーライドする方法です。この方法を用いた場合は以下のようになります:" -#: ../../api.rst:92 +#: ../../api.rst:107 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 " @@ -2290,7 +3348,7 @@ msgstr "" "イベントハンドラが例外を発生させると、それを処理するために :func:`on_error` が呼び出されます。 " "デフォルトではトレースバックが出力され、例外は無視されます。" -#: ../../api.rst:97 +#: ../../api.rst:112 msgid "" "All the events must be a |coroutine_link|_. If they aren't, then you " "might get unexpected errors. In order to turn a function into a coroutine" @@ -2299,7 +3357,7 @@ msgstr "" "すべてのイベントは |coroutine_link|_ である必要があります。 |coroutine_link|_ " "でない場合、予期せぬエラーが発生する可能性があります。関数をコルーチンにするには、関数定義の際に ``async def`` を使用してください。" -#: ../../api.rst:103 +#: ../../api.rst:118 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 " @@ -2308,22 +3366,51 @@ msgstr "" "クライアントがDiscordに正常に接続できたときに呼び出されます。クライアントの準備が完了していることと同義ではありません。 " ":func:`on_ready` を参照してください。" -#: ../../api.rst:106 +#: ../../api.rst:121 msgid "The warnings on :func:`on_ready` also apply." msgstr ":func:`on_ready` での警告も適用されます。" -#: ../../api.rst:110 +#: ../../api.rst:125 +#, fuzzy +msgid "" +"Similar to :func:`on_connect` except used by :class:`AutoShardedClient` " +"to denote when a particular shard ID has connected to Discord." +msgstr "" +"特定の Shard IDが準備完了になったかを確認するために :class:`AutoShardedClient` で使用される以外は " +":func:`on_ready` とほとんど同じです。" + +#: ../../api.rst:130 +#, fuzzy +msgid "The shard ID that has connected." +msgstr "準備が完了したShard ID。" + +#: ../../api.rst:135 msgid "" "Called when the client has disconnected from Discord. This could happen " "either through the internet being disconnected, explicit calls to logout," " or Discord terminating the connection one way or the other." msgstr "クライアントがDiscordから切断したときに呼び出されます。これはインターネットが切断された、明示的にログアウトした、またはDiscord側から何らかの方法で切断されたというような場合に呼び出される可能性があります。" -#: ../../api.rst:114 +#: ../../api.rst:139 msgid "This function can be called many times." msgstr "この関数は何度でも呼び出すことができます。" -#: ../../api.rst:118 +#: ../../api.rst:143 +#, fuzzy +msgid "" +"Similar to :func:`on_disconnect` except used by " +":class:`AutoShardedClient` to denote when a particular shard ID has " +"disconnected from Discord." +msgstr "" +"特定の Shard IDが準備完了になったかを確認するために :class:`AutoShardedClient` で使用される以外は " +":func:`on_ready` とほとんど同じです。" + +#: ../../api.rst:148 +#, fuzzy +msgid "The shard ID that has disconnected." +msgstr "準備が完了したShard ID。" + +#: ../../api.rst:153 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. " @@ -2332,7 +3419,7 @@ msgstr "" "クライアントがDiscordから受信したデータの準備を完了した際に呼び出されます。通常はログインが成功したあと、 " ":attr:`Client.guilds` とそれに関連するものの準備が完了したときです。" -#: ../../api.rst:123 +#: ../../api.rst:158 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 " @@ -2342,7 +3429,7 @@ msgstr "" "このイベントは、最初に呼び出されるイベントとは限りません。同時に、このイベントは **一度だけ呼ばれるという保証もできません** " "。このライブラリは、再接続ロジックを実装しているためリジューム要求が失敗するたびにこのイベントが呼び出されることになります。" -#: ../../api.rst:130 +#: ../../api.rst:165 msgid "" "Similar to :func:`on_ready` except used by :class:`AutoShardedClient` to " "denote when a particular shard ID has become ready." @@ -2350,15 +3437,29 @@ msgstr "" "特定の Shard IDが準備完了になったかを確認するために :class:`AutoShardedClient` で使用される以外は " ":func:`on_ready` とほとんど同じです。" -#: ../../api.rst:133 +#: ../../api.rst:168 msgid "The shard ID that is ready." msgstr "準備が完了したShard ID。" -#: ../../api.rst:138 +#: ../../api.rst:173 msgid "Called when the client has resumed a session." msgstr "クライアントがセッションを再開したときに呼び出されます。" -#: ../../api.rst:142 +#: ../../api.rst:177 +#, fuzzy +msgid "" +"Similar to :func:`on_resumed` except used by :class:`AutoShardedClient` " +"to denote when a particular shard ID has resumed a session." +msgstr "" +"特定の Shard IDが準備完了になったかを確認するために :class:`AutoShardedClient` で使用される以外は " +":func:`on_ready` とほとんど同じです。" + +#: ../../api.rst:182 +#, fuzzy +msgid "The shard ID that has resumed." +msgstr "準備が完了したShard ID。" + +#: ../../api.rst:187 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 " @@ -2367,13 +3468,13 @@ msgid "" " action of printing the traceback." msgstr "イベントがキャッチされない例外を発生させた場合、通常はトレースバックがstderrに出力され、その例外は無視されます。何らかの理由でこの動作を変更して、自分自身で例外処理を行いたい場合は、このイベントをオーバーライドすることができます。これを行った場合、トレースバックを出力するというデフォルトの動作は行われません。" -#: ../../api.rst:148 +#: ../../api.rst:193 msgid "" "The information of the exception raised and the exception itself can be " "retrieved with a standard call to :func:`sys.exc_info`." msgstr "発生した例外の情報と、例外事態は :func:`sys.exc_info` への標準呼び出しで取得できます。" -#: ../../api.rst:151 +#: ../../api.rst:196 msgid "" "If you want exception to propagate out of the :class:`Client` class you " "can define an ``on_error`` handler consisting of a single empty " @@ -2384,38 +3485,49 @@ msgstr "" "``on_error`` を定義することができます。発生した例外は、 :class:`Client` の ``on_error`` " "では決して処理されることはありません。" -#: ../../api.rst:156 +#: ../../api.rst:203 +msgid "``on_error`` will only be dispatched to :meth:`Client.event`." +msgstr "" + +#: ../../api.rst:205 +msgid "" +"It will not be received by :meth:`Client.wait_for`, or, if used, " +":ref:`ext_commands_api_bot` listeners such as " +":meth:`~ext.commands.Bot.listen` or :meth:`~ext.commands.Cog.listener`." +msgstr "" + +#: ../../api.rst:209 msgid "The name of the event that raised the exception." msgstr "例外を発生させたイベントの名前。" -#: ../../api.rst:159 +#: ../../api.rst:212 msgid "The positional arguments for the event that raised the exception." msgstr "例外を発生させたイベントの位置引数。" -#: ../../api.rst:161 +#: ../../api.rst:214 msgid "The keyword arguments for the event that raised the exception." msgstr "例外を発生させたイベントのキーワード引数。" -#: ../../api.rst:166 +#: ../../api.rst:219 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." msgstr "メッセージが処理される前、WebSocketからメッセージが受信されるたびに呼び出されます。このイベントはメッセージを受信した場合、渡されたデータが処理できないときでも常に呼びだされます。" -#: ../../api.rst:170 ../../api.rst:189 +#: ../../api.rst:223 ../../api.rst:242 msgid "" "This is only really useful for grabbing the WebSocket stream and " "debugging purposes." msgstr "これはWebSocketストリームを取得してデバッグする時のみに役に立ちます。" -#: ../../api.rst:175 ../../api.rst:194 +#: ../../api.rst:228 msgid "" "This is only for the messages received from the client WebSocket. The " "voice WebSocket will not trigger this event." msgstr "これは、クライアントWebSocketから受信したメッセージ専用です。音声WebSocketではこのイベントは実行されません。" -#: ../../api.rst:178 +#: ../../api.rst:231 msgid "" "The message passed in from the WebSocket library. Could be :class:`bytes`" " for a binary message or :class:`str` for a regular message." @@ -2423,14 +3535,21 @@ msgstr "" "WebSocketライブラリから渡されたメッセージ。バイナリメッセージの場合は :class:`bytes` 、通常のメッセージの場合は " ":class:`str` です。" -#: ../../api.rst:185 +#: ../../api.rst:238 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." msgstr "メッセージが送信される前にWebSocketで送信操作が行われるたびに呼び出されます。渡されるパラメータはWebSocketに送信されているメッセージです。" -#: ../../api.rst:197 +#: ../../api.rst:247 +#, fuzzy +msgid "" +"This is only for the messages sent from the client WebSocket. The voice " +"WebSocket will not trigger this event." +msgstr "これは、クライアントWebSocketから受信したメッセージ専用です。音声WebSocketではこのイベントは実行されません。" + +#: ../../api.rst:250 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 " @@ -2439,11 +3558,11 @@ msgstr "" "WebSocketライブラリから渡されるメッセージ。バイナリメッセージの場合は :class:`bytes` 、通常のメッセージの場合は " ":class:`str` です。" -#: ../../api.rst:203 +#: ../../api.rst:256 msgid "Called when someone begins typing a message." msgstr "誰かがメッセージを入力し始めたときに呼び出されます。" -#: ../../api.rst:205 +#: ../../api.rst:258 msgid "" "The ``channel`` parameter can be a :class:`abc.Messageable` instance. " "Which could either be :class:`TextChannel`, :class:`GroupChannel`, or " @@ -2453,7 +3572,7 @@ msgstr "" ":class:`TextChannel` 、 :class:`GroupChannel` 、または :class:`DMChannel` " "のいずれかです。" -#: ../../api.rst:209 +#: ../../api.rst:262 msgid "" "If the ``channel`` is a :class:`TextChannel` then the ``user`` parameter " "is a :class:`Member`, otherwise it is a :class:`User`." @@ -2461,23 +3580,33 @@ msgstr "" "``channel`` が :class:`TextChannel` である場合、 ``user`` パラメータは :class:`Member`" " 、それ以外の場合は :class:`User` です。" -#: ../../api.rst:212 +#: ../../api.rst:265 +msgid "This requires :attr:`Intents.typing` to be enabled." +msgstr "" + +#: ../../api.rst:267 msgid "The location where the typing originated from." msgstr "入力が行われたチャンネル。" -#: ../../api.rst:214 +#: ../../api.rst:269 msgid "The user that started typing." msgstr "入力を始めたユーザー。" -#: ../../api.rst:216 +#: ../../api.rst:271 msgid "When the typing started as a naive datetime in UTC." msgstr "UTCのnaive datetimeでの、タイピングの開始時刻。" -#: ../../api.rst:221 +#: ../../api.rst:276 msgid "Called when a :class:`Message` is created and sent." msgstr ":class:`Message` が作成され送信されたときに呼び出されます。" -#: ../../api.rst:225 +#: ../../api.rst:278 ../../api.rst:301 ../../api.rst:318 ../../api.rst:331 +#: ../../api.rst:344 ../../api.rst:370 ../../api.rst:393 ../../api.rst:505 +#: ../../api.rst:514 +msgid "This requires :attr:`Intents.messages` to be enabled." +msgstr "" + +#: ../../api.rst:282 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 " @@ -2486,11 +3615,11 @@ msgid "" "problem." msgstr "Botのメッセージとプライベートメッセージはこのイベントを通して送信されます。Botのプログラムによっては「再帰呼び出し」を続けることになります。Botが自分自身に返信しないようにするためにはユーザーIDを確認する方法が考えられます。この問題はBotが抱えるものではありません。" -#: ../../api.rst:231 +#: ../../api.rst:288 msgid "The current message." msgstr "現在のメッセージ。" -#: ../../api.rst:236 +#: ../../api.rst:293 msgid "" "Called when a message is deleted. If the message is not found in the " "internal message cache, then this event will not be called. Messages " @@ -2498,15 +3627,18 @@ msgid "" "participating in high traffic guilds." msgstr "メッセージが削除された際に呼び出されます。メッセージが内部のメッセージキャッシュに見つからない場合、このイベントは呼び出されません。これはメッセージが古すぎるか、クライアントが通信の多いギルドに参加している場合に発生します。" -#: ../../api.rst:241 ../../api.rst:255 ../../api.rst:289 -msgid "If this occurs increase the :attr:`Client.max_messages` attribute." +#: ../../api.rst:298 +#, fuzzy +msgid "" +"If this occurs increase the :attr:`Client.max_messages` attribute or use " +"the :func:`on_raw_message_delete` event instead." msgstr "このような場合には :attr:`Client.max_messages` を増やしてください。" -#: ../../api.rst:243 +#: ../../api.rst:303 msgid "The deleted message." msgstr "削除されたメッセージ。" -#: ../../api.rst:248 +#: ../../api.rst:308 msgid "" "Called when messages are bulk deleted. If none of the messages deleted " "are found in the internal message cache, then this event will not be " @@ -2517,11 +3649,18 @@ msgid "" "guilds." msgstr "メッセージが一括削除されたときに呼び出されます。メッセージが内部のメッセージキャッシュに見つからない場合、このイベントは呼び出されません。個々のメッセージが見つからない場合でも、このイベントは呼び出されますが、見つからなかったメッセージはメッセージのリストに含まれません。これはメッセージが古すぎるか、クライアントが通信の多いギルドに参加している場合に発生します。" -#: ../../api.rst:257 +#: ../../api.rst:315 +#, fuzzy +msgid "" +"If this occurs increase the :attr:`Client.max_messages` attribute or use " +"the :func:`on_raw_bulk_message_delete` event instead." +msgstr "このような場合には :attr:`Client.max_messages` を増やしてください。" + +#: ../../api.rst:320 msgid "The messages that have been deleted." msgstr "削除されたメッセージのリスト。" -#: ../../api.rst:262 +#: ../../api.rst:325 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 " @@ -2530,7 +3669,7 @@ msgstr "" "メッセージが削除されたときに呼び出されます。 :func:`on_message_delete` " "とは異なり、削除されたメッセージが内部キャッシュに存在するか否かにかかわらず呼び出されます。" -#: ../../api.rst:265 +#: ../../api.rst:328 msgid "" "If the message is found in the message cache, it can be accessed via " ":attr:`RawMessageDeleteEvent.cached_message`" @@ -2538,12 +3677,12 @@ msgstr "" "メッセージがメッセージキャッシュ内に見つかった場合、 :attr:`RawMessageDeleteEvent.cached_message` " "を介してアクセスすることができます。" -#: ../../api.rst:268 ../../api.rst:279 ../../api.rst:322 ../../api.rst:345 -#: ../../api.rst:368 ../../api.rst:387 +#: ../../api.rst:333 ../../api.rst:346 ../../api.rst:395 ../../api.rst:422 +#: ../../api.rst:449 ../../api.rst:472 ../../api.rst:497 msgid "The raw event payload data." msgstr "生のイベントペイロードデータ。" -#: ../../api.rst:273 +#: ../../api.rst:338 msgid "" "Called when a bulk delete is triggered. Unlike " ":func:`on_bulk_message_delete`, this is called regardless of the messages" @@ -2552,7 +3691,7 @@ msgstr "" "メッセージが一括削除されたときに呼び出されます。 :func:`on_bulk_message_delete` " "とは異なり、削除されたメッセージが内部キャッシュに存在するか否かにかかわらず呼び出されます。" -#: ../../api.rst:276 +#: ../../api.rst:341 msgid "" "If the messages are found in the message cache, they can be accessed via " ":attr:`RawBulkMessageDeleteEvent.cached_messages`" @@ -2560,7 +3699,7 @@ msgstr "" "メッセージがメッセージキャッシュ内に見つかった場合、 " ":attr:`RawBulkMessageDeleteEvent.cached_messages` を介してアクセスすることができます。" -#: ../../api.rst:284 +#: ../../api.rst:351 msgid "" "Called when a :class:`Message` receives an update event. If the message " "is not found in the internal message cache, then these events will not be" @@ -2570,41 +3709,52 @@ msgstr "" ":class:`Message` " "が更新イベントを受け取ったときに呼び出されます。メッセージが内部のメッセージキャッシュに見つからない場合、このイベントは呼び出されません。これはメッセージが古すぎるか、クライアントが通信の多いギルドに参加している場合に発生します。" -#: ../../api.rst:291 +#: ../../api.rst:356 +#, fuzzy +msgid "" +"If this occurs increase the :attr:`Client.max_messages` attribute or use " +"the :func:`on_raw_message_edit` event instead." +msgstr "このような場合には :attr:`Client.max_messages` を増やしてください。" + +#: ../../api.rst:359 msgid "The following non-exhaustive cases trigger this event:" msgstr "以下の非網羅的ケースがこのイベントを発生させます:" -#: ../../api.rst:293 +#: ../../api.rst:361 msgid "A message has been pinned or unpinned." msgstr "メッセージをピン留め、または解除した。" -#: ../../api.rst:294 +#: ../../api.rst:362 msgid "The message content has been changed." msgstr "メッセージの内容を変更した。" -#: ../../api.rst:295 +#: ../../api.rst:363 msgid "The message has received an embed." msgstr "メッセージが埋め込みを受け取った。" -#: ../../api.rst:297 +#: ../../api.rst:365 msgid "" "For performance reasons, the embed server does not do this in a " "\"consistent\" manner." msgstr "パフォーマンス上の理由から、埋め込みのサーバーはこれを「一貫した」方法では行いません。" -#: ../../api.rst:299 +#: ../../api.rst:367 +msgid "The message's embeds were suppressed or unsuppressed." +msgstr "" + +#: ../../api.rst:368 msgid "A call message has received an update to its participants or ending time." msgstr "通話呼び出しメッセージの参加者や終了時刻が変わった。" -#: ../../api.rst:301 +#: ../../api.rst:372 msgid "The previous version of the message." msgstr "更新前のメッセージ。" -#: ../../api.rst:303 +#: ../../api.rst:374 msgid "The current version of the message." msgstr "更新後のメッセージ。" -#: ../../api.rst:308 +#: ../../api.rst:379 msgid "" "Called when a message is edited. Unlike :func:`on_message_edit`, this is " "called regardless of the state of the internal message cache." @@ -2612,7 +3762,7 @@ msgstr "" "メッセージが編集されたときに呼び出されます。 :func:`on_message_edit` " "とは異なり、これは内部のメッセージキャッシュの状態に関係なく呼び出されます。" -#: ../../api.rst:311 +#: ../../api.rst:382 msgid "" "If the message is found in the message cache, it can be accessed via " ":attr:`RawMessageUpdateEvent.cached_message`" @@ -2620,17 +3770,18 @@ msgstr "" "メッセージがメッセージキャッシュ内に見つかった場合、 :attr:`RawMessageUpdateEvent.cached_message` " "を介してアクセスすることができます。" -#: ../../api.rst:314 +#: ../../api.rst:385 +#, fuzzy msgid "" "Due to the inherently raw nature of this event, the data parameter " "coincides with the raw data given by the `gateway " "`_." msgstr "" "このイベントの性質は、本質的に生表現のため、データのパラメータは `ゲートウェイ " -"`_ " +"`_ " "によって与えられた生データと一致します。" -#: ../../api.rst:317 +#: ../../api.rst:388 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 " @@ -2639,30 +3790,37 @@ msgid "" "Discord embed server." msgstr "データのペイロードが部分的であるため、データにアクセスするときは気をつけてください。部分的なデータの主な場合のひとつは、``'content'``にアクセスできない場合です。Discordの埋め込みサーバーによって、埋め込みが更新される、\"埋め込み\"しか変わっていない編集がそうです。" -#: ../../api.rst:327 +#: ../../api.rst:400 +#, fuzzy msgid "" "Called when a message has a reaction added to it. Similar to " ":func:`on_message_edit`, if the message is not found in the internal " -"message cache, then this event will not be called." +"message cache, then this event will not be called. Consider using " +":func:`on_raw_reaction_add` instead." msgstr "" "メッセージにリアクションが追加されたときに呼び出されます。 :func:`on_message_edit` " "のように、内部メッセージキャッシュにメッセージが見つからない場合は、このイベントは呼び出されません。" -#: ../../api.rst:333 +#: ../../api.rst:406 msgid "" "To get the :class:`Message` being reacted, access it via " ":attr:`Reaction.message`." msgstr "リアクションの付いた:class:`Message`を取得するには、:attr:`Reaction.message`を使ってください。" -#: ../../api.rst:335 ../../api.rst:358 +#: ../../api.rst:408 ../../api.rst:420 ../../api.rst:435 ../../api.rst:447 +#: ../../api.rst:458 ../../api.rst:470 ../../api.rst:481 ../../api.rst:493 +msgid "This requires :attr:`Intents.reactions` to be enabled." +msgstr "" + +#: ../../api.rst:410 ../../api.rst:437 msgid "The current state of the reaction." msgstr "リアクションの現在の状態。" -#: ../../api.rst:337 ../../api.rst:360 +#: ../../api.rst:412 ../../api.rst:439 msgid "The user who added the reaction." msgstr "リアクションを追加したユーザー。" -#: ../../api.rst:342 +#: ../../api.rst:417 msgid "" "Called when a message has a reaction added. Unlike " ":func:`on_reaction_add`, this is called regardless of the state of the " @@ -2671,18 +3829,18 @@ msgstr "" "メッセージにリアクションが追加されたときに呼び出されます。 :func:`on_reaction_add` " "とは異なり、これは内部のメッセージキャッシュの状態に関係なく呼び出されます。" -#: ../../api.rst:350 +#: ../../api.rst:427 msgid "" "Called when a message has a reaction removed from it. Similar to " "on_message_edit, if the message is not found in the internal message " "cache, then this event will not be called." msgstr "メッセージのリアクションが取り除かれたときに呼び出されます。on_message_editのように、内部のメッセージキャッシュにメッセージがないときには、このイベントは呼び出されません。" -#: ../../api.rst:356 +#: ../../api.rst:433 msgid "To get the message being reacted, access it via :attr:`Reaction.message`." msgstr "リアクションの付いたメッセージを取得するには、:attr:`Reaction.message`を使ってください。" -#: ../../api.rst:365 +#: ../../api.rst:444 msgid "" "Called when a message has a reaction removed. Unlike " ":func:`on_reaction_remove`, this is called regardless of the state of the" @@ -2691,24 +3849,26 @@ msgstr "" "メッセージからリアクションが削除されたときに呼び出されます。 :func:`on_reaction_remove` " "とは異なり、これは内部メッセージキャッシュの状態に関係なく呼び出されます。" -#: ../../api.rst:373 +#: ../../api.rst:454 +#, fuzzy msgid "" "Called when a message has all its reactions removed from it. Similar to " ":func:`on_message_edit`, if the message is not found in the internal " -"message cache, then this event will not be called." +"message cache, then this event will not be called. Consider using " +":func:`on_raw_reaction_clear` instead." msgstr "" "メッセージのリアクションがすべて削除されたときに呼び出されます。 :func:`on_message_edit` " "のように、内部メッセージキャッシュにメッセージが見つからない場合は、このイベントは呼び出されません。" -#: ../../api.rst:377 +#: ../../api.rst:460 msgid "The message that had its reactions cleared." msgstr "リアクションが削除されたメッセージ。" -#: ../../api.rst:379 +#: ../../api.rst:462 msgid "The reactions that were removed." msgstr "除去されたリアクション。" -#: ../../api.rst:384 +#: ../../api.rst:467 msgid "" "Called when a message has all its reactions removed. Unlike " ":func:`on_reaction_clear`, this is called regardless of the state of the " @@ -2717,159 +3877,203 @@ msgstr "" "メッセージからリアクションがすべて削除されたときに呼び出されます。 :func:`on_reaction_clear` " "とは異なり、これは内部メッセージキャッシュの状態に関係なく呼び出されます。" -#: ../../api.rst:393 +#: ../../api.rst:477 +#, fuzzy +msgid "" +"Called when a message has a specific reaction removed from it. Similar to" +" :func:`on_message_edit`, if the message is not found in the internal " +"message cache, then this event will not be called. Consider using " +":func:`on_raw_reaction_clear_emoji` instead." +msgstr "" +"メッセージのリアクションがすべて削除されたときに呼び出されます。 :func:`on_message_edit` " +"のように、内部メッセージキャッシュにメッセージが見つからない場合は、このイベントは呼び出されません。" + +#: ../../api.rst:485 +#, fuzzy +msgid "The reaction that got cleared." +msgstr "除去されたリアクション。" + +#: ../../api.rst:490 +#, fuzzy +msgid "" +"Called when a message has a specific reaction removed from it. Unlike " +":func:`on_reaction_clear_emoji` this is called regardless of the state of" +" the internal message cache." +msgstr "" +"メッセージからリアクションがすべて削除されたときに呼び出されます。 :func:`on_reaction_clear` " +"とは異なり、これは内部メッセージキャッシュの状態に関係なく呼び出されます。" + +#: ../../api.rst:503 msgid "Called whenever a private channel is deleted or created." msgstr "プライベートチャンネルが削除されたり作成されたときに呼び出されます。" -#: ../../api.rst:395 +#: ../../api.rst:507 msgid "The private channel that got created or deleted." msgstr "作成、または削除されたプライベートチャンネル。" -#: ../../api.rst:400 +#: ../../api.rst:512 msgid "Called whenever a private group DM is updated. e.g. changed name or topic." msgstr "プライベートグループDMが更新されたとき呼び出されます。 例: 名前やトピックの変更。" -#: ../../api.rst:402 +#: ../../api.rst:516 msgid "The updated group channel's old info." msgstr "更新されたグループチャンネルの更新前情報。" -#: ../../api.rst:404 +#: ../../api.rst:518 msgid "The updated group channel's new info." msgstr "更新されたグループチャンネルの更新後情報。" -#: ../../api.rst:409 +#: ../../api.rst:523 msgid "Called whenever a message is pinned or unpinned from a private channel." msgstr "プライベートチャンネルのメッセージがピン留めされたりはずされたりしたときに呼ばれます。" -#: ../../api.rst:411 +#: ../../api.rst:525 msgid "The private channel that had its pins updated." msgstr "ピン留めが更新されたプライベートチャンネル。" -#: ../../api.rst:413 ../../api.rst:441 +#: ../../api.rst:527 ../../api.rst:561 msgid "" "The latest message that was pinned as a naive datetime in UTC. Could be " "``None``." -msgstr "" +msgstr "最後にピン留めされたメッセージがピン留めされたUTC naive datetime。 ``None``の場合もあります。" -#: ../../api.rst:419 +#: ../../api.rst:533 msgid "Called whenever a guild channel is deleted or created." msgstr "ギルドのチャンネルが削除・作成されたとき呼び出されます。" -#: ../../api.rst:421 +#: ../../api.rst:535 msgid "Note that you can get the guild from :attr:`~abc.GuildChannel.guild`." msgstr "ギルドは :attr:`~abc.GuildChannel.guild` で取得できます。" -#: ../../api.rst:423 +#: ../../api.rst:537 ../../api.rst:546 ../../api.rst:557 ../../api.rst:634 +#: ../../api.rst:653 ../../api.rst:667 ../../api.rst:681 ../../api.rst:690 +#: ../../api.rst:716 +msgid "This requires :attr:`Intents.guilds` to be enabled." +msgstr "" + +#: ../../api.rst:539 msgid "The guild channel that got created or deleted." msgstr "作成、または削除されたギルドチャンネル。" -#: ../../api.rst:428 +#: ../../api.rst:544 msgid "" "Called whenever a guild channel is updated. e.g. changed name, topic, " "permissions." msgstr "ギルドチャンネルが更新されるたびに呼び出されます。例えば名前、トピック、権限の変更などです。" -#: ../../api.rst:430 +#: ../../api.rst:548 msgid "The updated guild channel's old info." msgstr "更新されたギルドの更新前情報。" -#: ../../api.rst:432 +#: ../../api.rst:550 msgid "The updated guild channel's new info." msgstr "更新されたギルドの更新後情報。" -#: ../../api.rst:437 +#: ../../api.rst:555 msgid "Called whenever a message is pinned or unpinned from a guild channel." msgstr "ギルドチャンネルのメッセージがピン留めされたり、解除されたりしたときに呼び出されます。" -#: ../../api.rst:439 +#: ../../api.rst:559 msgid "The guild channel that had its pins updated." msgstr "ピン留めが更新されたギルドチャンネル。" -#: ../../api.rst:446 +#: ../../api.rst:568 msgid "" "Called whenever an integration is created, modified, or removed from a " "guild." msgstr "ギルドの連携サービスが作成、更新、削除されるたびに呼び出されます。" -#: ../../api.rst:448 +#: ../../api.rst:570 +msgid "This requires :attr:`Intents.integrations` to be enabled." +msgstr "" + +#: ../../api.rst:572 msgid "The guild that had its integrations updated." msgstr "連携サービスが更新されたギルド。" -#: ../../api.rst:453 +#: ../../api.rst:577 msgid "" "Called whenever a webhook is created, modified, or removed from a guild " "channel." msgstr "ギルドチャンネルのWebhookが作成、更新、削除されたときに呼び出されます。" -#: ../../api.rst:455 +#: ../../api.rst:579 +msgid "This requires :attr:`Intents.webhooks` to be enabled." +msgstr "" + +#: ../../api.rst:581 msgid "The channel that had its webhooks updated." msgstr "Webhookが更新されたチャンネル。" -#: ../../api.rst:461 +#: ../../api.rst:587 msgid "Called when a :class:`Member` leaves or joins a :class:`Guild`." msgstr ":class:`Member` が :class:`Guild` に参加したり退出したりしたときに呼び出されます。" -#: ../../api.rst:463 +#: ../../api.rst:589 ../../api.rst:605 ../../api.rst:622 +msgid "This requires :attr:`Intents.members` to be enabled." +msgstr "" + +#: ../../api.rst:591 msgid "The member who joined or left." msgstr "参加、または脱退したメンバー。" -#: ../../api.rst:468 +#: ../../api.rst:596 msgid "Called when a :class:`Member` updates their profile." msgstr ":class:`Member` がプロフィールを編集したとき呼び出されます。" -#: ../../api.rst:470 ../../api.rst:486 +#: ../../api.rst:598 ../../api.rst:616 msgid "This is called when one or more of the following things change:" msgstr "これらのうちひとつ以上が変更されたとき呼び出されます:" -#: ../../api.rst:472 +#: ../../api.rst:600 msgid "status" msgstr "ステータス" -#: ../../api.rst:473 -msgid "game playing" -msgstr "遊んでいるゲーム" +#: ../../api.rst:601 +msgid "activity" +msgstr "" -#: ../../api.rst:474 +#: ../../api.rst:602 msgid "nickname" msgstr "ニックネーム" -#: ../../api.rst:475 discord.Member.edit:16 of +#: ../../api.rst:603 discord.Member.edit:16 of msgid "roles" -msgstr "役職" +msgstr "roles" -#: ../../api.rst:477 +#: ../../api.rst:607 msgid "The updated member's old info." msgstr "更新されたメンバーの更新前情報。" -#: ../../api.rst:479 +#: ../../api.rst:609 msgid "The updated member's updated info." msgstr "更新されたメンバーの更新後情報。" -#: ../../api.rst:484 +#: ../../api.rst:614 msgid "Called when a :class:`User` updates their profile." msgstr ":class:`User` がプロフィールを編集したとき呼び出されます。" -#: ../../api.rst:488 +#: ../../api.rst:618 msgid "avatar" msgstr "アバター" -#: ../../api.rst:489 +#: ../../api.rst:619 msgid "username" msgstr "ユーザー名" -#: ../../api.rst:490 +#: ../../api.rst:620 msgid "discriminator" -msgstr "" +msgstr "識別子" -#: ../../api.rst:492 +#: ../../api.rst:624 msgid "The updated user's old info." msgstr "更新されたユーザーの更新前情報。" -#: ../../api.rst:494 +#: ../../api.rst:626 msgid "The updated user's updated info." msgstr "更新されたユーザーの更新後情報。" -#: ../../api.rst:499 +#: ../../api.rst:631 msgid "" "Called when a :class:`Guild` is either created by the :class:`Client` or " "when the :class:`Client` joins a guild." @@ -2877,35 +4081,35 @@ msgstr "" ":class:`Client` によって :class:`Guild` が作成された。または :class:`Client` " "がギルドに参加したときに呼び出されます。" -#: ../../api.rst:502 +#: ../../api.rst:636 msgid "The guild that was joined." msgstr "参加したギルド。" -#: ../../api.rst:507 +#: ../../api.rst:641 msgid "Called when a :class:`Guild` is removed from the :class:`Client`." msgstr ":class:`Client` が :class:`Guild` から削除されたときに呼び出されます。" -#: ../../api.rst:509 +#: ../../api.rst:643 msgid "This happens through, but not limited to, these circumstances:" msgstr "これは以下の状況時に呼び出されますが、これに限ったものではありません:" -#: ../../api.rst:511 +#: ../../api.rst:645 msgid "The client got banned." msgstr "クライアントがBANされた。" -#: ../../api.rst:512 +#: ../../api.rst:646 msgid "The client got kicked." msgstr "クライアントがキックされた。" -#: ../../api.rst:513 +#: ../../api.rst:647 msgid "The client left the guild." msgstr "クライアントがギルドから退出した。" -#: ../../api.rst:514 +#: ../../api.rst:648 msgid "The client or the guild owner deleted the guild." msgstr "クライアント、またはギルドオーナーがギルドを削除した。" -#: ../../api.rst:516 +#: ../../api.rst:650 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 " @@ -2914,189 +4118,243 @@ msgstr "" "このイベントが呼び出されるためには、 :class:`Client` がギルドに参加している必要があります。(つまり、 " ":attr:`Client.guilds` にギルドが存在しなければならない)" -#: ../../api.rst:519 +#: ../../api.rst:655 msgid "The guild that got removed." msgstr "削除されたギルド。" -#: ../../api.rst:524 +#: ../../api.rst:660 msgid "Called when a :class:`Guild` updates, for example:" msgstr ":class:`Guild` が更新されたときに呼び出されます。例えば:" -#: ../../api.rst:526 +#: ../../api.rst:662 msgid "Changed name" msgstr "名前が変更された" -#: ../../api.rst:527 +#: ../../api.rst:663 msgid "Changed AFK channel" msgstr "AFKチャンネルが変更された" -#: ../../api.rst:528 +#: ../../api.rst:664 msgid "Changed AFK timeout" msgstr "AFKのタイムアウト時間が変更された" -#: ../../api.rst:529 +#: ../../api.rst:665 msgid "etc" msgstr "その他" -#: ../../api.rst:531 +#: ../../api.rst:669 msgid "The guild prior to being updated." msgstr "更新される前のギルド。" -#: ../../api.rst:533 +#: ../../api.rst:671 msgid "The guild after being updated." msgstr "更新された後のギルド。" -#: ../../api.rst:539 +#: ../../api.rst:677 msgid "Called when a :class:`Guild` creates or deletes a new :class:`Role`." msgstr ":class:`Guild` で :class:`Role` が新しく作成されたか、削除されたときに呼び出されます。" -#: ../../api.rst:541 +#: ../../api.rst:679 msgid "To get the guild it belongs to, use :attr:`Role.guild`." msgstr "ギルドを取得するには :attr:`Role.guild` を使用してください。" -#: ../../api.rst:543 +#: ../../api.rst:683 msgid "The role that was created or deleted." msgstr "作成、または削除された役職。" -#: ../../api.rst:548 +#: ../../api.rst:688 msgid "Called when a :class:`Role` is changed guild-wide." msgstr ":class:`Role` がギルド全体で変更されたときに呼び出されます。" -#: ../../api.rst:550 +#: ../../api.rst:692 msgid "The updated role's old info." msgstr "更新された役職の更新前情報。" -#: ../../api.rst:552 +#: ../../api.rst:694 msgid "The updated role's updated info." msgstr "更新された役職の更新後情報。" -#: ../../api.rst:557 +#: ../../api.rst:699 msgid "Called when a :class:`Guild` adds or removes :class:`Emoji`." msgstr ":class:`Guild` に :class:`Emoji` が追加、または削除されたときに呼び出されます。" -#: ../../api.rst:559 +#: ../../api.rst:701 +msgid "This requires :attr:`Intents.emojis` to be enabled." +msgstr "" + +#: ../../api.rst:703 msgid "The guild who got their emojis updated." msgstr "絵文字が更新されたギルド。" -#: ../../api.rst:561 +#: ../../api.rst:705 msgid "A list of emojis before the update." msgstr "更新前の絵文字のリスト。" -#: ../../api.rst:563 +#: ../../api.rst:707 msgid "A list of emojis after the update." msgstr "更新後の絵文字のリスト。" -#: ../../api.rst:569 +#: ../../api.rst:713 msgid "" "Called when a guild becomes available or unavailable. The guild must have" " existed in the :attr:`Client.guilds` cache." msgstr "ギルドが利用可能・不可能になったときに呼び出されます。ギルドは :attr:`Client.guilds` キャッシュに存在していないといけません。" -#: ../../api.rst:572 +#: ../../api.rst:718 msgid "The :class:`Guild` that has changed availability." msgstr "利用状況が変わった:class:`Guild`。" -#: ../../api.rst:576 +#: ../../api.rst:722 msgid "Called when a :class:`Member` changes their :class:`VoiceState`." msgstr ":class:`Member` が :class:`VoiceState` を変更したとき呼び出されます。" -#: ../../api.rst:578 +#: ../../api.rst:724 msgid "" "The following, but not limited to, examples illustrate when this event is" " called:" msgstr "これらの場合に限りませんが、例を挙げると、以下の場合に呼び出されます:" -#: ../../api.rst:580 +#: ../../api.rst:726 msgid "A member joins a voice channel." msgstr "メンバーがボイスチャンネルに参加したとき。" -#: ../../api.rst:581 +#: ../../api.rst:727 msgid "A member leaves a voice channel." msgstr "メンバーがボイスチャンネルから退出したとき。" -#: ../../api.rst:582 +#: ../../api.rst:728 msgid "A member is muted or deafened by their own accord." msgstr "メンバーが自身でマイクやスピーカーをミュートしたとき。" -#: ../../api.rst:583 +#: ../../api.rst:729 msgid "A member is muted or deafened by a guild administrator." msgstr "メンバーがギルドの管理者によってマイクやスピーカーをミュートされたとき。" -#: ../../api.rst:585 +#: ../../api.rst:731 +msgid "This requires :attr:`Intents.voice_states` to be enabled." +msgstr "" + +#: ../../api.rst:733 msgid "The member whose voice states changed." msgstr "ボイスの状態が変わった `Member` 。" -#: ../../api.rst:587 +#: ../../api.rst:735 msgid "The voice state prior to the changes." msgstr "更新前のボイス状態。" -#: ../../api.rst:589 +#: ../../api.rst:737 msgid "The voice state after to the changes." msgstr "更新後のボイス状態。" -#: ../../api.rst:594 +#: ../../api.rst:742 msgid "Called when user gets banned from a :class:`Guild`." msgstr "ユーザーが :class:`Guild` からBANされたとき呼び出されます。" -#: ../../api.rst:596 +#: ../../api.rst:744 ../../api.rst:757 +msgid "This requires :attr:`Intents.bans` to be enabled." +msgstr "" + +#: ../../api.rst:746 msgid "The guild the user got banned from." msgstr "ユーザーがBANされたギルド。" -#: ../../api.rst:598 +#: ../../api.rst:748 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 "BANされたユーザー。BAN時にユーザーがギルドにいたかによって、 :class:`User` か :class:`Member` になります。" -#: ../../api.rst:605 +#: ../../api.rst:755 msgid "Called when a :class:`User` gets unbanned from a :class:`Guild`." msgstr ":class:`User` が :class:`Guild` のBANを解除されたとき呼び出されます。" -#: ../../api.rst:607 +#: ../../api.rst:759 msgid "The guild the user got unbanned from." msgstr "ユーザーのBANが解除されたギルド。" -#: ../../api.rst:609 +#: ../../api.rst:761 msgid "The user that got unbanned." msgstr "Banが解除されたユーザー。" -#: ../../api.rst:615 +#: ../../api.rst:766 +#, fuzzy +msgid "" +"Called when an :class:`Invite` is created. You must have the " +":attr:`~Permissions.manage_channels` permission to receive this." +msgstr "これを行うには、関連付けられたGuildにて、 :attr:`~.Permissions.manage_channels` 権限が必要です。" + +#: ../../api.rst:773 ../../api.rst:790 +msgid "" +"There is a rare possibility that the :attr:`Invite.guild` and " +":attr:`Invite.channel` attributes will be of :class:`Object` rather than " +"the respective models." +msgstr "" + +#: ../../api.rst:776 ../../api.rst:796 +msgid "This requires :attr:`Intents.invites` to be enabled." +msgstr "" + +#: ../../api.rst:778 discord.CategoryChannel.create_invite:26 +#: discord.TextChannel.create_invite:26 discord.VoiceChannel.create_invite:26 +#: discord.abc.GuildChannel.create_invite:26 of +msgid "The invite that was created." +msgstr "" + +#: ../../api.rst:783 +#, fuzzy +msgid "" +"Called when an :class:`Invite` is deleted. You must have the " +":attr:`~Permissions.manage_channels` permission to receive this." +msgstr "これを行うには、関連付けられたGuildにて、 :attr:`~.Permissions.manage_channels` 権限が必要です。" + +#: ../../api.rst:793 +msgid "" +"Outside of those two attributes, the only other attribute guaranteed to " +"be filled by the Discord gateway for this event is :attr:`Invite.code`." +msgstr "" + +#: ../../api.rst:798 +#, fuzzy +msgid "The invite that was deleted." +msgstr "招待の更新。" + +#: ../../api.rst:804 msgid "Called when someone joins or leaves a :class:`GroupChannel`." msgstr "誰かが :class:`GroupChannel` に参加、または脱退したときに呼び出されます。" -#: ../../api.rst:617 +#: ../../api.rst:806 msgid "The group that the user joined or left." msgstr "ユーザーが参加または脱退したグループ。" -#: ../../api.rst:619 +#: ../../api.rst:808 msgid "The user that joined or left." msgstr "参加または脱退したユーザー。" -#: ../../api.rst:625 +#: ../../api.rst:814 msgid "" "Called when a :class:`Relationship` is added or removed from the " ":class:`ClientUser`." msgstr ":class:`ClientUser` の :class:`Relationship` が追加・削除されたとき呼び出されます。" -#: ../../api.rst:628 +#: ../../api.rst:817 msgid "The relationship that was added or removed." msgstr "追加・削除されたRelationship。" -#: ../../api.rst:633 +#: ../../api.rst:822 msgid "" "Called when a :class:`Relationship` is updated, e.g. when you block a " "friend or a friendship is accepted." msgstr ":class:`Relationship` が更新されたとき、たとえばフレンドをブロックしたり、フレンドが承認されたときに呼び出されます。" -#: ../../api.rst:636 +#: ../../api.rst:825 msgid "The previous relationship status." msgstr "以前のフレンドの状態。" -#: ../../api.rst:638 +#: ../../api.rst:827 msgid "The updated relationship status." msgstr "更新されたのフレンドの状態。" -#: ../../api.rst:644 +#: ../../api.rst:833 msgid "Utility Functions" msgstr "ユーティリティ関数" @@ -3175,9 +4433,31 @@ msgid "Keyword arguments that denote attributes to search with." msgstr "検索用の属性を表すキーワード引数。" #: discord.utils.snowflake_time:1 of -msgid "Returns the creation date in UTC of a Discord snowflake ID." +msgid "The snowflake ID." +msgstr "" + +#: discord.utils.snowflake_time:4 of +#, fuzzy +msgid "The creation date in UTC of a Discord snowflake ID." msgstr "Discordのsnowflake IDの作成日時をUTCで返します。" +#: ../../api.rst:878 discord.AuditLogEntry.created_at:3 +#: discord.CategoryChannel.created_at:3 discord.ClientUser.created_at:5 +#: discord.DMChannel.created_at:3 discord.Embed:51 discord.Emoji.created_at:3 +#: discord.GroupChannel.created_at:3 discord.Guild.created_at:3 +#: discord.Integration:81 discord.Invite:74 discord.Message.created_at:3 +#: discord.Object.created_at:3 discord.PartialInviteChannel.created_at:3 +#: discord.PartialInviteGuild.created_at:3 discord.Role.created_at:3 +#: discord.Spotify.end:3 discord.Spotify.start:3 discord.Template:39 +#: discord.Template:45 discord.TextChannel.created_at:3 +#: discord.User.created_at:5 discord.VoiceChannel.created_at:3 +#: discord.Webhook.created_at:3 discord.Widget.created_at:3 +#: discord.WidgetChannel.created_at:3 discord.WidgetMember.created_at:5 +#: discord.abc.GuildChannel.created_at:3 discord.abc.Snowflake.created_at:3 +#: discord.utils.snowflake_time:5 of +msgid ":class:`datetime.datetime`" +msgstr "" + #: discord.utils.oauth_url:1 of msgid "" "A helper function that returns the OAuth2 URL for inviting the bot into " @@ -3202,6 +4482,11 @@ msgstr "利用できる場合は、認証画面であらかじめ選択される msgid "An optional valid redirect URI." msgstr "任意の有効なリダイレクトURI。" +#: discord.utils.oauth_url:14 of +#, fuzzy +msgid "The OAuth2 URL for inviting the bot into guilds." +msgstr "ボットをギルドに招待するOAuth2 URLを返すヘルパー関数。" + #: discord.utils.escape_markdown:1 of msgid "A helper function that escapes Discord's markdown." msgstr "Discordのマークダウンをエスケープするヘルパー関数。" @@ -3244,17 +4529,24 @@ msgstr "everyone、here、役職とユーザーのメンションをエスケー msgid "This does not include channel mentions." msgstr "チャンネルのメンションはエスケープしません。" -#: discord.utils.escape_mentions:7 of +#: discord.utils.escape_mentions:9 of +msgid "" +"For more granular control over what mentions should be escaped within " +"messages, refer to the :class:`~discord.AllowedMentions` class." +msgstr "" + +#: discord.utils.escape_mentions:13 of msgid "The text to escape mentions from." msgstr "メンションをエスケープするテキスト。" -#: discord.utils.escape_mentions:10 of +#: discord.utils.escape_mentions:16 of msgid "The text with the mentions removed." msgstr "メンションが削除されたテキスト。" #: discord.utils.resolve_invite:1 of -msgid "Resolves an invite from a :class:`~discord.Invite`, URL or ID" -msgstr "" +#, fuzzy +msgid "Resolves an invite from a :class:`~discord.Invite`, URL or code." +msgstr ":class:`~discord.Invite` やURL、IDから招待を解決します" #: discord.utils.resolve_invite:3 of msgid "The invite." @@ -3264,126 +4556,200 @@ msgstr "招待。" msgid "The invite code." msgstr "招待コード。" -#: ../../api.rst:662 +#: discord.utils.resolve_template:1 of +#, fuzzy +msgid "Resolves a template code from a :class:`~discord.Template`, URL or code." +msgstr ":class:`~discord.Invite` やURL、IDから招待を解決します" + +#: discord.utils.resolve_template:5 of +#, fuzzy +msgid "The code." +msgstr "招待コード。" + +#: discord.Template:7 discord.utils.resolve_template:8 of +#, fuzzy +msgid "The template code." +msgstr "招待コード。" + +#: discord.utils.sleep_until:3 of +#, fuzzy +msgid "Sleep until a specified time." +msgstr "特定のインデックスのフィールドを削除します。" + +#: discord.utils.sleep_until:5 of +msgid "If the time supplied is in the past this function will yield instantly." +msgstr "" + +#: discord.utils.sleep_until:9 of +msgid "" +"The timestamp in which to sleep until. If the datetime is naive then it " +"is assumed to be in UTC." +msgstr "" + +#: discord.utils.sleep_until:12 of +msgid "If provided is returned to the caller when the coroutine completes." +msgstr "" + +#: ../../api.rst:854 msgid "Profile" msgstr "プロフィール" -#: ../../api.rst:666 +#: ../../api.rst:858 msgid "A namedtuple representing a user's Discord public profile." msgstr "Discordの公開プロフィールを表すnamedtuple。" -#: ../../api.rst:670 +#: ../../api.rst:862 msgid "The :class:`User` the profile belongs to." msgstr "このプロフィールを持つ :class:`User` 。" -#: ../../api.rst:673 +#: ../../api.rst:867 msgid "A boolean indicating if the user has premium (i.e. Discord Nitro)." msgstr "このユーザーがプレミアム(つまり: Discord Nitro)を持っているかを示す真偽値。" -#: ../../api.rst:676 +#: ../../api.rst:872 msgid "An alias for :attr:`premium`." msgstr ":attr:`premium` のエイリアス。" -#: ../../api.rst:679 +#: ../../api.rst:875 msgid "" "A naive UTC datetime indicating how long the user has been premium since." " This could be ``None`` if not applicable." msgstr "プレミアムを有効にした日時を表すtimezone naiveなUTC datetime。利用できない場合は ``None`` になります。" -#: ../../api.rst:683 +#: ../../api.rst:881 msgid "A boolean indicating if the user is Discord Staff." msgstr "ユーザーがDiscordのスタッフかを示す真偽値。" -#: ../../api.rst:686 +#: ../../api.rst:886 msgid "A boolean indicating if the user is a Discord Partner." msgstr "ユーザーがDiscordパートナーかを示す真偽値。" -#: ../../api.rst:689 +#: ../../api.rst:891 msgid "A boolean indicating if the user is a Bug Hunter." msgstr "ユーザーがバグハンターかを示す真偽値。" -#: ../../api.rst:692 +#: ../../api.rst:896 msgid "A boolean indicating if the user has had premium before 10 October, 2018." msgstr "ユーザーが2018年10月10日以前にNitroを持っていたかを示す真偽値。" -#: ../../api.rst:695 +#: ../../api.rst:901 msgid "A boolean indicating if the user is in Discord HypeSquad." msgstr "ユーザーがDiscord HypeSquadに属しているかを示す真偽値。" -#: ../../api.rst:698 +#: ../../api.rst:906 msgid "A list of :class:`HypeSquadHouse` that the user is in." msgstr "ユーザーが所属する :class:`HypeSquadHouse` のリスト。" -#: ../../api.rst:701 +#: ../../api.rst:908 +msgid "List[:class:`HypeSquadHouse`]" +msgstr "" + +#: ../../api.rst:911 +#, fuzzy +msgid "A boolean indicating if the user is in part of a team." +msgstr "ユーザーがDiscordのスタッフかを示す真偽値。" + +#: ../../api.rst:919 +#, fuzzy +msgid "" +"A boolean indicating if the user is officially part of the Discord urgent" +" message system." +msgstr "ユーザーがDiscordパートナーかを示す真偽値。" + +#: ../../api.rst:927 msgid "" "A list of :class:`Guild` that the :class:`ClientUser` shares with this " "user." msgstr ":class:`ClientUser` がこのユーザーと共有する :class:`Guild` の一覧。" -#: ../../api.rst:705 +#: ../../api.rst:930 +#, fuzzy +msgid "List[:class:`Guild`]" +msgstr ":class:`.Guild`" + +#: ../../api.rst:934 msgid "A list of dict objects indicating the accounts the user has connected." msgstr "ユーザーが関連付けたアカウントを示す辞書型のリスト。" -#: ../../api.rst:707 +#: ../../api.rst:936 msgid "An example entry can be seen below: ::" msgstr "以下がその例です: ::" -#: ../../api.rst:714 +#: ../../api.rst:940 +msgid "List[Dict[:class:`str`, :class:`str`]]" +msgstr "" + +#: ../../api.rst:945 msgid "Enumerations" msgstr "列挙型" -#: ../../api.rst:716 +#: ../../api.rst:947 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." msgstr "APIは、文字列が将来変わることに備え、文字列を直書きするのを防ぐために、いくらかの文字列の列挙型を提供します。" -#: ../../api.rst:719 +#: ../../api.rst:950 msgid "" "All enumerations are subclasses of an internal class which mimics the " "behaviour of :class:`enum.Enum`." msgstr "列挙型はすべて :class:`enum.Enum` の動作を模倣した内部クラスのサブクラスです。" -#: ../../api.rst:724 +#: ../../api.rst:955 msgid "Specifies the type of channel." msgstr "特定チャンネルのチャンネルタイプ。" -#: ../../api.rst:728 +#: ../../api.rst:959 msgid "A text channel." msgstr "テキストチャンネル。" -#: ../../api.rst:731 +#: ../../api.rst:962 msgid "A voice channel." msgstr "ボイスチャンネル。" -#: ../../api.rst:734 +#: ../../api.rst:965 msgid "A private text channel. Also called a direct message." msgstr "プライベートのテキストチャンネル。ダイレクトメッセージとも呼ばれています。" -#: ../../api.rst:737 +#: ../../api.rst:968 msgid "A private group text channel." msgstr "プライベートのグループDM。" -#: ../../api.rst:740 +#: ../../api.rst:971 +#, fuzzy +msgid "A category channel." +msgstr "テキストチャンネル。" + +#: ../../api.rst:974 msgid "A guild news channel." msgstr "ギルドのニュースチャンネル。" -#: ../../api.rst:744 +#: ../../api.rst:978 msgid "A guild store channel." msgstr "ギルドのストアチャンネル。" -#: ../../api.rst:748 +#: ../../api.rst:982 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." msgstr ":class:`Message` のタイプを指定します。これは、メッセージが通常のものかシステムメッセージかを判断するのに使用できます。" -#: ../../api.rst:753 +#: ../../api.rst:989 +#, fuzzy +msgid "Checks if two messages are equal." +msgstr "二つのユーザーが等しいかを比較します。" + +#: ../../api.rst:992 +#, fuzzy +msgid "Checks if two messages are not equal." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: ../../api.rst:996 msgid "The default message type. This is the same as regular messages." msgstr "デフォルトのメッセージ。これは通常のメッセージと同じです。" -#: ../../api.rst:756 +#: ../../api.rst:999 msgid "" "The system message when a recipient is added to a group private message, " "i.e. a private channel of type :attr:`ChannelType.group`." @@ -3391,7 +4757,7 @@ msgstr "" "グループのプライベートメッセージ、つまり、 :attr:`ChannelType.group` " "のプライベートチャンネルの参加者が増えたときのシステムメッセージ。" -#: ../../api.rst:760 +#: ../../api.rst:1003 msgid "" "The system message when a recipient is removed from a group private " "message, i.e. a private channel of type :attr:`ChannelType.group`." @@ -3399,259 +4765,291 @@ msgstr "" "グループのプライベートメッセージ、つまり、 :attr:`ChannelType.group` " "のプライベートチャンネルの参加者が減ったときのシステムメッセージ。" -#: ../../api.rst:764 +#: ../../api.rst:1007 msgid "" "The system message denoting call state, e.g. missed call, started call, " "etc." msgstr "通話の状態を示すシステムメッセージ。例: 不在着信、通話の開始、その他。" -#: ../../api.rst:768 +#: ../../api.rst:1011 msgid "The system message denoting that a channel's name has been changed." msgstr "チャンネル名の変更を示すシステムメッセージ。" -#: ../../api.rst:771 +#: ../../api.rst:1014 msgid "The system message denoting that a channel's icon has been changed." msgstr "チャンネルのアイコンの変更を示すシステムメッセージ。" -#: ../../api.rst:774 +#: ../../api.rst:1017 msgid "" "The system message denoting that a pinned message has been added to a " "channel." msgstr "ピン留めの追加を示すシステムメッセージ。" -#: ../../api.rst:777 +#: ../../api.rst:1020 msgid "The system message denoting that a new member has joined a Guild." msgstr "ギルドの新規メンバーの参加を示すシステムメッセージ。" -#: ../../api.rst:781 +#: ../../api.rst:1024 msgid "The system message denoting that a member has \"nitro boosted\" a guild." msgstr "メンバーがギルドを「ニトロブースト」したことを表すシステムメッセージ。" -#: ../../api.rst:784 +#: ../../api.rst:1027 msgid "" "The system message denoting that a member has \"nitro boosted\" a guild " "and it achieved level 1." msgstr "メンバーがギルドを「ニトロブースト」し、それによってギルドがレベル1に到達したことを表すシステムメッセージ。" -#: ../../api.rst:788 +#: ../../api.rst:1031 msgid "" "The system message denoting that a member has \"nitro boosted\" a guild " "and it achieved level 2." msgstr "メンバーがギルドを「ニトロブースト」し、それによってギルドがレベル2に到達したことを表すシステムメッセージ。" -#: ../../api.rst:792 +#: ../../api.rst:1035 msgid "" "The system message denoting that a member has \"nitro boosted\" a guild " "and it achieved level 3." msgstr "メンバーがギルドを「ニトロブースト」し、それによってギルドがレベル3に到達したことを表すシステムメッセージ。" -#: ../../api.rst:797 +#: ../../api.rst:1039 +#, fuzzy +msgid "" +"The system message denoting that an announcement channel has been " +"followed." +msgstr "チャンネル名の変更を示すシステムメッセージ。" + +#: ../../api.rst:1045 msgid "" "Specifies the type of :class:`Activity`. This is used to check how to " "interpret the activity itself." msgstr ":class:`Activity` のタイプを指定します。これはアクティビティをどう解釈するか確認するために使われます。" -#: ../../api.rst:802 +#: ../../api.rst:1050 msgid "An unknown activity type. This should generally not happen." msgstr "不明なアクティビティタイプ。これは通常起こらないはずです。" -#: ../../api.rst:805 +#: ../../api.rst:1053 msgid "A \"Playing\" activity type." msgstr "プレイ中のアクティビティタイプ。" -#: ../../api.rst:808 +#: ../../api.rst:1056 msgid "A \"Streaming\" activity type." msgstr "放送中のアクティビティタイプ。" -#: ../../api.rst:811 +#: ../../api.rst:1059 msgid "A \"Listening\" activity type." msgstr "再生中のアクティビティタイプ。" -#: ../../api.rst:814 +#: ../../api.rst:1062 msgid "A \"Watching\" activity type." msgstr "視聴中のアクティビティタイプ。" -#: ../../api.rst:818 +#: ../../api.rst:1065 +#, fuzzy +msgid "A custom activity type." +msgstr "放送中のアクティビティタイプ。" + +#: ../../api.rst:1068 +#, fuzzy +msgid "A competing activity type." +msgstr "視聴中のアクティビティタイプ。" + +#: ../../api.rst:1074 msgid "Specifies the HypeSquad house a user belongs to." msgstr "ユーザーが属するHypeSquadハウスを指定します。" -#: ../../api.rst:822 +#: ../../api.rst:1078 msgid "The \"Bravery\" house." msgstr "Braveryのハウス。" -#: ../../api.rst:825 +#: ../../api.rst:1081 msgid "The \"Brilliance\" house." msgstr "Brillianceのハウス。" -#: ../../api.rst:828 +#: ../../api.rst:1084 msgid "The \"Balance\" house." msgstr "Balanceのハウス。" -#: ../../api.rst:832 +#: ../../api.rst:1088 msgid "Specifies the region a voice server belongs to." msgstr "ボイスサーバーのリージョンを指定します。" -#: ../../api.rst:836 +#: ../../api.rst:1092 msgid "The Amsterdam region." msgstr "アムステルダムリージョン。" -#: ../../api.rst:839 +#: ../../api.rst:1095 msgid "The Brazil region." msgstr "ブラジルリージョン。" -#: ../../api.rst:842 +#: ../../api.rst:1098 +#, fuzzy +msgid "The Dubai region." +msgstr "インドリージョン。" + +#: ../../api.rst:1104 msgid "The EU Central region." msgstr "中央ヨーロッパのリージョン。" -#: ../../api.rst:845 +#: ../../api.rst:1107 msgid "The EU West region." msgstr "東ヨーロッパのリージョン。" -#: ../../api.rst:848 +#: ../../api.rst:1110 +#, fuzzy +msgid "The Europe region." +msgstr "日本リージョン。" + +#: ../../api.rst:1116 msgid "The Frankfurt region." msgstr "フランクフルトリージョン。" -#: ../../api.rst:851 +#: ../../api.rst:1119 msgid "The Hong Kong region." msgstr "香港リージョン。" -#: ../../api.rst:854 +#: ../../api.rst:1122 msgid "The India region." msgstr "インドリージョン。" -#: ../../api.rst:857 +#: ../../api.rst:1128 msgid "The Japan region." msgstr "日本リージョン。" -#: ../../api.rst:860 +#: ../../api.rst:1131 msgid "The London region." msgstr "ロンドンリージョン。" -#: ../../api.rst:863 +#: ../../api.rst:1134 msgid "The Russia region." msgstr "ロシアリージョン。" -#: ../../api.rst:866 +#: ../../api.rst:1137 msgid "The Singapore region." msgstr "シンガポールリージョン。" -#: ../../api.rst:869 +#: ../../api.rst:1140 msgid "The South Africa region." msgstr "南アフリカリージョン。" -#: ../../api.rst:872 +#: ../../api.rst:1143 +#, fuzzy +msgid "The South Korea region." +msgstr "南アフリカリージョン。" + +#: ../../api.rst:1146 msgid "The Sydney region." msgstr "シドニーリージョン。" -#: ../../api.rst:875 +#: ../../api.rst:1149 msgid "The US Central region." msgstr "中央アメリカのリージョン。" -#: ../../api.rst:878 +#: ../../api.rst:1152 msgid "The US East region." msgstr "アメリカ西部のリージョン。" -#: ../../api.rst:881 +#: ../../api.rst:1155 msgid "The US South region." msgstr "アメリカ南部のリージョン。" -#: ../../api.rst:884 +#: ../../api.rst:1158 msgid "The US West region." msgstr "アメリカ東部のリージョン。" -#: ../../api.rst:887 +#: ../../api.rst:1161 msgid "The Amsterdam region for VIP guilds." msgstr "VIPギルド用のアムステルダムリージョン。" -#: ../../api.rst:890 +#: ../../api.rst:1164 msgid "The US East region for VIP guilds." msgstr "VIPギルド用のアメリカ東部リージョン。" -#: ../../api.rst:893 +#: ../../api.rst:1167 msgid "The US West region for VIP guilds." msgstr "VIPギルド用のアメリカ西部リージョン。" -#: ../../api.rst:897 +#: ../../api.rst:1171 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." msgstr ":class:`Guild` の認証レベルを指定します。これは、メンバーがギルドにメッセージを送信できるようになるまでの条件です。" -#: ../../api.rst:904 +#: ../../api.rst:1178 msgid "Checks if two verification levels are equal." msgstr "認証レベルが等しいか確認します。" -#: ../../api.rst:907 +#: ../../api.rst:1181 msgid "Checks if two verification levels are not equal." msgstr "認証レベルが等しくないか確認します。" -#: ../../api.rst:910 +#: ../../api.rst:1184 msgid "Checks if a verification level is higher than another." msgstr "認証レベルがあるレベルより厳しいか確認します。" -#: ../../api.rst:913 +#: ../../api.rst:1187 msgid "Checks if a verification level is lower than another." msgstr "認証レベルがあるレベルより緩いか確認します。" -#: ../../api.rst:916 +#: ../../api.rst:1190 msgid "Checks if a verification level is higher or equal to another." msgstr "認証レベルがあるレベルと同じ、又は厳しいか確認します。" -#: ../../api.rst:919 +#: ../../api.rst:1193 msgid "Checks if a verification level is lower or equal to another." msgstr "認証レベルがあるレベルと同じ、又は緩いか確認します。" -#: ../../api.rst:923 +#: ../../api.rst:1197 msgid "No criteria set." msgstr "無制限。" -#: ../../api.rst:926 +#: ../../api.rst:1200 msgid "Member must have a verified email on their Discord account." msgstr "メンバーはDiscordアカウントのメール認証を済ませないといけません。" -#: ../../api.rst:929 +#: ../../api.rst:1203 msgid "" "Member must have a verified email and be registered on Discord for more " "than five minutes." msgstr "メンバーはメール認証をし、かつアカウント登録から5分経過しないといけません。" -#: ../../api.rst:933 +#: ../../api.rst:1207 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." msgstr "メンバーはメール認証をし、Discordのアカウント登録から5分経過し、かつ10分以上ギルドに所属していないといけません。" -#: ../../api.rst:938 +#: ../../api.rst:1212 msgid "An alias for :attr:`high`." msgstr ":attr:`high` のエイリアス。" -#: ../../api.rst:941 +#: ../../api.rst:1215 msgid "Member must have a verified phone on their Discord account." msgstr "メンバーはDiscordアカウントの電話番号認証を済ませないといけません。" -#: ../../api.rst:945 +#: ../../api.rst:1219 ../../api.rst:1223 msgid "An alias for :attr:`extreme`." msgstr ":attr:`extreme` のエイリアス。" -#: ../../api.rst:949 +#: ../../api.rst:1229 msgid "" "Specifies whether a :class:`Guild` has notifications on for all messages " "or mentions only by default." msgstr ":class:`Guild` の通知対象のデフォルト設定をすべてのメッセージ、またはメンションのみに指定します。" -#: ../../api.rst:953 +#: ../../api.rst:1233 msgid "" "Members receive notifications for every message regardless of them being " "mentioned." msgstr "メンバーは、メンションされているかどうかに関わらず、すべてのメッセージの通知を受け取ります。" -#: ../../api.rst:956 +#: ../../api.rst:1236 msgid "Members receive notifications for messages they are mentioned in." msgstr "メンバーは自分がメンションされているメッセージの通知のみ受け取ります。" -#: ../../api.rst:960 +#: ../../api.rst:1240 msgid "" "Specifies a :class:`Guild`\\'s explicit content filter, which is the " "machine learning algorithms that Discord uses to detect if an image " @@ -3660,67 +5058,67 @@ msgstr "" ":class:`Guild` " "の不適切な表現のフィルターを指定します。これはDiscordがポルノ画像や不適切な表現を検出するために使用している機械学習アルゴリズムです。" -#: ../../api.rst:968 +#: ../../api.rst:1248 msgid "Checks if two content filter levels are equal." msgstr "表現のフィルターのレベルが等しいか確認します。" -#: ../../api.rst:971 +#: ../../api.rst:1251 msgid "Checks if two content filter levels are not equal." msgstr "表現のフィルターのレベルが等しくないか確認します。" -#: ../../api.rst:974 +#: ../../api.rst:1254 msgid "Checks if a content filter level is higher than another." msgstr "表現のフィルターのレベルが他のレベルより大きいか確認します。" -#: ../../api.rst:977 +#: ../../api.rst:1257 msgid "Checks if a content filter level is lower than another." msgstr "表現のフィルターのレベルが他のレベルより小さいか確認します。" -#: ../../api.rst:980 +#: ../../api.rst:1260 msgid "Checks if a content filter level is higher or equal to another." msgstr "表現のフィルターのレベルが他のレベルより大きい、または等しいか確認します。" -#: ../../api.rst:983 +#: ../../api.rst:1263 msgid "Checks if a content filter level is lower or equal to another." msgstr "表現のフィルターのレベルが他のレベルより小さい、または等しいか確認します。" -#: ../../api.rst:987 +#: ../../api.rst:1267 msgid "The guild does not have the content filter enabled." msgstr "ギルドで表現のフィルターが有効ではない。" -#: ../../api.rst:990 +#: ../../api.rst:1270 msgid "The guild has the content filter enabled for members without a role." msgstr "ギルドで役職を持たないメンバーに対して表現のフィルターが有効化されている。" -#: ../../api.rst:993 +#: ../../api.rst:1273 msgid "The guild has the content filter enabled for every member." msgstr "ギルドで、すべてのメンバーに対して表現のフィルターが有効化されている。" -#: ../../api.rst:997 +#: ../../api.rst:1277 msgid "Specifies a :class:`Member` 's status." msgstr ":class:`Member` のステータスを指定します。" -#: ../../api.rst:1001 +#: ../../api.rst:1281 msgid "The member is online." msgstr "メンバーがオンライン。" -#: ../../api.rst:1004 +#: ../../api.rst:1284 msgid "The member is offline." msgstr "メンバーがオフライン。" -#: ../../api.rst:1007 +#: ../../api.rst:1287 msgid "The member is idle." msgstr "メンバーメンバーが退席中。" -#: ../../api.rst:1010 +#: ../../api.rst:1290 msgid "The member is \"Do Not Disturb\"." msgstr "メンバーが取り込み中。" -#: ../../api.rst:1013 +#: ../../api.rst:1293 msgid "An alias for :attr:`dnd`." msgstr ":attr:`dnd` のエイリアス。" -#: ../../api.rst:1016 +#: ../../api.rst:1296 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 " @@ -3729,183 +5127,195 @@ msgstr "" "メンバーがオンライン状態を隠す。実際には、これは :meth:`Client.change_presence` " "でプレゼンスを送信する時のみ使用します。ユーザーのプレゼンスを受け取った場合、これは :attr:`offline` に置き換えられます。" -#: ../../api.rst:1023 +#: ../../api.rst:1303 msgid "" "Represents the type of action being done for a :class:`AuditLogEntry`\\, " "which is retrievable via :meth:`Guild.audit_logs`." msgstr "" +":class:`AuditLogEntry` で行われた動作の種類を取得します。AuditLogEntryは " +":meth:`Guild.audit_logs` で取得可能です。" -#: ../../api.rst:1028 +#: ../../api.rst:1308 msgid "The guild has updated. Things that trigger this include:" msgstr "ギルドが更新された。このトリガーとなるものは以下のとおりです。" -#: ../../api.rst:1030 +#: ../../api.rst:1310 msgid "Changing the guild vanity URL" msgstr "ギルドのvanity URLの変更" -#: ../../api.rst:1031 +#: ../../api.rst:1311 msgid "Changing the guild invite splash" msgstr "ギルドの招待時のスプラッシュ画像の変更" -#: ../../api.rst:1032 +#: ../../api.rst:1312 msgid "Changing the guild AFK channel or timeout" msgstr "ギルドのAFKチャンネル、またはタイムアウトの変更" -#: ../../api.rst:1033 +#: ../../api.rst:1313 msgid "Changing the guild voice server region" msgstr "ギルドの音声通話のサーバーリージョンの変更" -#: ../../api.rst:1034 +#: ../../api.rst:1314 msgid "Changing the guild icon" msgstr "ギルドのアイコンの変更" -#: ../../api.rst:1035 +#: ../../api.rst:1315 msgid "Changing the guild moderation settings" msgstr "ギルドの管理設定の変更" -#: ../../api.rst:1036 +#: ../../api.rst:1316 msgid "Changing things related to the guild widget" msgstr "ギルドのウィジェットに関連するものの変更" -#: ../../api.rst:1038 +#: ../../api.rst:1318 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Guild`." -msgstr "" +msgstr "これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは :class:`Guild`になります。" -#: ../../api.rst:1041 ../../api.rst:1064 ../../api.rst:1083 ../../api.rst:1102 -#: ../../api.rst:1121 ../../api.rst:1137 ../../api.rst:1152 ../../api.rst:1211 -#: ../../api.rst:1225 ../../api.rst:1236 ../../api.rst:1256 ../../api.rst:1271 -#: ../../api.rst:1286 ../../api.rst:1310 ../../api.rst:1327 ../../api.rst:1343 -#: ../../api.rst:1355 ../../api.rst:1368 ../../api.rst:1379 ../../api.rst:1390 +#: ../../api.rst:1321 ../../api.rst:1344 ../../api.rst:1363 ../../api.rst:1382 +#: ../../api.rst:1401 ../../api.rst:1417 ../../api.rst:1432 ../../api.rst:1491 +#: ../../api.rst:1505 ../../api.rst:1550 ../../api.rst:1570 ../../api.rst:1585 +#: ../../api.rst:1600 ../../api.rst:1624 ../../api.rst:1641 ../../api.rst:1657 +#: ../../api.rst:1669 ../../api.rst:1682 ../../api.rst:1693 ../../api.rst:1704 msgid "Possible attributes for :class:`AuditLogDiff`:" -msgstr "" +msgstr ":class:`AuditLogDiff` から、以下の属性を参照できます:" -#: ../../api.rst:1043 +#: ../../api.rst:1323 msgid ":attr:`~AuditLogDiff.afk_channel`" msgstr ":attr:`~AuditLogDiff.afk_channel`" -#: ../../api.rst:1044 +#: ../../api.rst:1324 msgid ":attr:`~AuditLogDiff.system_channel`" msgstr ":attr:`~AuditLogDiff.system_channel`" -#: ../../api.rst:1045 +#: ../../api.rst:1325 msgid ":attr:`~AuditLogDiff.afk_timeout`" msgstr ":attr:`~AuditLogDiff.afk_timeout`" -#: ../../api.rst:1046 +#: ../../api.rst:1326 msgid ":attr:`~AuditLogDiff.default_message_notifications`" msgstr ":attr:`~AuditLogDiff.default_message_notifications`" -#: ../../api.rst:1047 +#: ../../api.rst:1327 msgid ":attr:`~AuditLogDiff.explicit_content_filter`" msgstr ":attr:`~AuditLogDiff.explicit_content_filter`" -#: ../../api.rst:1048 +#: ../../api.rst:1328 msgid ":attr:`~AuditLogDiff.mfa_level`" msgstr ":attr:`~AuditLogDiff.mfa_level`" -#: ../../api.rst:1049 ../../api.rst:1066 ../../api.rst:1085 ../../api.rst:1104 -#: ../../api.rst:1241 ../../api.rst:1261 ../../api.rst:1276 ../../api.rst:1330 -#: ../../api.rst:1346 ../../api.rst:1358 ../../api.rst:1370 ../../api.rst:1381 -#: ../../api.rst:1392 +#: ../../api.rst:1329 ../../api.rst:1346 ../../api.rst:1365 ../../api.rst:1384 +#: ../../api.rst:1555 ../../api.rst:1575 ../../api.rst:1590 ../../api.rst:1644 +#: ../../api.rst:1660 ../../api.rst:1672 ../../api.rst:1684 ../../api.rst:1695 +#: ../../api.rst:1706 msgid ":attr:`~AuditLogDiff.name`" msgstr ":attr:`~AuditLogDiff.name`" -#: ../../api.rst:1050 +#: ../../api.rst:1330 msgid ":attr:`~AuditLogDiff.owner`" msgstr ":attr:`~AuditLogDiff.owner`" -#: ../../api.rst:1051 +#: ../../api.rst:1331 msgid ":attr:`~AuditLogDiff.splash`" msgstr ":attr:`~AuditLogDiff.splash`" -#: ../../api.rst:1052 +#: ../../api.rst:1332 msgid ":attr:`~AuditLogDiff.vanity_url_code`" msgstr ":attr:`~AuditLogDiff.vanity_url_code`" -#: ../../api.rst:1056 +#: ../../api.rst:1336 msgid "A new channel was created." -msgstr "" +msgstr "チャンネルが作成されました。" -#: ../../api.rst:1058 +#: ../../api.rst:1338 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is " "either a :class:`abc.GuildChannel` or :class:`Object` with an ID." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`abc.GuildChannel` か、 :class:`Object` のいずれかになります。" -#: ../../api.rst:1061 +#: ../../api.rst:1341 msgid "" "A more filled out object in the :class:`Object` case can be found by " "using :attr:`~AuditLogEntry.after`." msgstr "" +":class:`Object` の場合、 :attr:`~AuditLogEntry.after` " +"を使用して、より詳細な情報を持つオブジェクトを見つけることができます。" -#: ../../api.rst:1067 ../../api.rst:1086 ../../api.rst:1105 ../../api.rst:1126 -#: ../../api.rst:1142 ../../api.rst:1157 +#: ../../api.rst:1347 ../../api.rst:1366 ../../api.rst:1385 ../../api.rst:1406 +#: ../../api.rst:1422 ../../api.rst:1437 msgid ":attr:`~AuditLogDiff.type`" msgstr ":attr:`~AuditLogDiff.type`" -#: ../../api.rst:1068 ../../api.rst:1088 ../../api.rst:1106 +#: ../../api.rst:1348 ../../api.rst:1368 ../../api.rst:1386 msgid ":attr:`~AuditLogDiff.overwrites`" msgstr ":attr:`~AuditLogDiff.overwrites`" -#: ../../api.rst:1072 +#: ../../api.rst:1352 msgid "A channel was updated. Things that trigger this include:" -msgstr "" +msgstr "チャンネルが更新されました。これのトリガーとなるものは以下の通りです。" -#: ../../api.rst:1074 +#: ../../api.rst:1354 msgid "The channel name or topic was changed" -msgstr "" +msgstr "チャンネルのチャンネルトピックの変更、または名前の変更。" -#: ../../api.rst:1075 +#: ../../api.rst:1355 msgid "The channel bitrate was changed" -msgstr "" +msgstr "チャンネルのビットレートの変更。" -#: ../../api.rst:1077 ../../api.rst:1112 +#: ../../api.rst:1357 ../../api.rst:1392 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`abc.GuildChannel` or :class:`Object` with an ID." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`abc.GuildChannel` か、 :class:`Object` のいずれかになります。" -#: ../../api.rst:1080 +#: ../../api.rst:1360 msgid "" "A more filled out object in the :class:`Object` case can be found by " "using :attr:`~AuditLogEntry.after` or :attr:`~AuditLogEntry.before`." msgstr "" +":class:`Object` の場合、 :attr:`~AuditLogEntry.after` または " +":attr:`~AuditLogEntry.before` を使用して、より詳細な情報を持つオブジェクトを見つけることができます。" -#: ../../api.rst:1087 +#: ../../api.rst:1367 msgid ":attr:`~AuditLogDiff.position`" msgstr ":attr:`~AuditLogDiff.position`" -#: ../../api.rst:1089 +#: ../../api.rst:1369 msgid ":attr:`~AuditLogDiff.topic`" msgstr ":attr:`~AuditLogDiff.topic`" -#: ../../api.rst:1090 +#: ../../api.rst:1370 msgid ":attr:`~AuditLogDiff.bitrate`" msgstr ":attr:`~AuditLogDiff.bitrate`" -#: ../../api.rst:1094 +#: ../../api.rst:1374 msgid "A channel was deleted." -msgstr "" +msgstr "チャンネルの削除。" -#: ../../api.rst:1096 +#: ../../api.rst:1376 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is an " ":class:`Object` with an ID." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`Object` になります。" -#: ../../api.rst:1099 +#: ../../api.rst:1379 msgid "" "A more filled out object can be found by using the " ":attr:`~AuditLogEntry.before` object." msgstr "" -#: ../../api.rst:1110 +#: ../../api.rst:1390 msgid "A channel permission overwrite was created." -msgstr "" +msgstr "チャンネルにおける権限の上書き設定の作成。" -#: ../../api.rst:1115 +#: ../../api.rst:1395 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 " @@ -3913,444 +5323,706 @@ msgid "" "``type`` attribute set to either ``'role'`` or ``'member'`` to help " "dictate what type of ID it is." msgstr "" +"この場合には、 :attr:`~AuditLogEntry.extra` は :class:`Role` か :class:`Member` " +"です。もしオブジェクトが見つからない場合はid、name、 ``'role'`` か ``'member'`` である``type`` 属性がある" +" :class:`Object` です。" -#: ../../api.rst:1123 ../../api.rst:1139 ../../api.rst:1154 +#: ../../api.rst:1403 ../../api.rst:1419 ../../api.rst:1434 msgid ":attr:`~AuditLogDiff.deny`" msgstr ":attr:`~AuditLogDiff.deny`" -#: ../../api.rst:1124 ../../api.rst:1140 ../../api.rst:1155 +#: ../../api.rst:1404 ../../api.rst:1420 ../../api.rst:1435 msgid ":attr:`~AuditLogDiff.allow`" msgstr ":attr:`~AuditLogDiff.allow`" -#: ../../api.rst:1125 ../../api.rst:1141 ../../api.rst:1156 +#: ../../api.rst:1405 ../../api.rst:1421 ../../api.rst:1436 msgid ":attr:`~AuditLogDiff.id`" msgstr ":attr:`~AuditLogDiff.id`" -#: ../../api.rst:1130 +#: ../../api.rst:1410 msgid "" "A channel permission overwrite was changed, this is typically when the " "permission values change." -msgstr "" +msgstr "チャンネルの権限の上書きが変更されました。典型的な例は、権限が変更された場合です。" -#: ../../api.rst:1133 ../../api.rst:1148 +#: ../../api.rst:1413 ../../api.rst:1428 msgid "" "See :attr:`overwrite_create` for more information on how the " ":attr:`~AuditLogEntry.target` and :attr:`~AuditLogEntry.extra` fields are" " set." msgstr "" +":attr:`overwrite_create` に、 :attr:`~AuditLogEntry.target` と " +":attr:`~AuditLogEntry.extra` についての説明があります。" -#: ../../api.rst:1146 +#: ../../api.rst:1426 msgid "A channel permission overwrite was deleted." -msgstr "" +msgstr "チャンネルにおける権限の上書き設定の削除。" -#: ../../api.rst:1161 +#: ../../api.rst:1441 msgid "A member was kicked." -msgstr "" +msgstr "メンバーのキック。" -#: ../../api.rst:1163 +#: ../../api.rst:1443 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`User` who got kicked." msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeはキックされたユーザーに該当する " +":class:`User` になります。" -#: ../../api.rst:1166 ../../api.rst:1181 ../../api.rst:1190 ../../api.rst:1199 +#: ../../api.rst:1446 ../../api.rst:1461 ../../api.rst:1470 ../../api.rst:1479 msgid "When this is the action, :attr:`~AuditLogEntry.changes` is empty." -msgstr "" +msgstr "これが上記のactionなら、:attr:`~AuditLogEntry.changes` は空になります。" -#: ../../api.rst:1170 +#: ../../api.rst:1450 msgid "A member prune was triggered." -msgstr "" +msgstr "非アクティブメンバーの一括キック。" -#: ../../api.rst:1172 +#: ../../api.rst:1452 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is set" " to ``None``." -msgstr "" +msgstr "これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは ``None`` に設定されます。" -#: ../../api.rst:1175 ../../api.rst:1403 +#: ../../api.rst:1455 ../../api.rst:1514 ../../api.rst:1716 ../../api.rst:1743 +#: ../../api.rst:1758 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.extra` is set " "to an unspecified proxy object with two attributes:" msgstr "" -#: ../../api.rst:1178 +#: ../../api.rst:1458 msgid "``delete_members_days``: An integer specifying how far the prune was." msgstr "" -#: ../../api.rst:1179 +#: ../../api.rst:1459 msgid "``members_removed``: An integer specifying how many members were removed." msgstr "" -#: ../../api.rst:1185 +#: ../../api.rst:1465 msgid "A member was banned." -msgstr "" +msgstr "メンバーのBAN。" -#: ../../api.rst:1187 +#: ../../api.rst:1467 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`User` who got banned." msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeはBANされたユーザーに該当する " +":class:`User` になります。" -#: ../../api.rst:1194 +#: ../../api.rst:1474 msgid "A member was unbanned." -msgstr "" +msgstr "メンバーのBANの解除。" -#: ../../api.rst:1196 +#: ../../api.rst:1476 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`User` who got unbanned." msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeはBANが解除されたユーザーに該当する " +":class:`User` になります。" -#: ../../api.rst:1203 +#: ../../api.rst:1483 msgid "A member has updated. This triggers in the following situations:" -msgstr "" +msgstr "メンバーの何らかの更新。これのトリガーとなるのは以下の場合です:" -#: ../../api.rst:1205 +#: ../../api.rst:1485 msgid "A nickname was changed" -msgstr "" +msgstr "メンバーのニックネームの変更。" -#: ../../api.rst:1206 +#: ../../api.rst:1486 msgid "They were server muted or deafened (or it was undo'd)" msgstr "" -#: ../../api.rst:1208 +#: ../../api.rst:1488 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Member` or :class:`User` who got updated." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、更新の行われた " +":class:`Member` あるいは :class:`User` になります。" -#: ../../api.rst:1213 +#: ../../api.rst:1493 msgid ":attr:`~AuditLogDiff.nick`" msgstr ":attr:`~AuditLogDiff.nick`" -#: ../../api.rst:1214 +#: ../../api.rst:1494 msgid ":attr:`~AuditLogDiff.mute`" msgstr ":attr:`~AuditLogDiff.mute`" -#: ../../api.rst:1215 +#: ../../api.rst:1495 msgid ":attr:`~AuditLogDiff.deaf`" msgstr ":attr:`~AuditLogDiff.deaf`" -#: ../../api.rst:1219 +#: ../../api.rst:1499 msgid "" "A member's role has been updated. This triggers when a member either " "gains a role or losses a role." msgstr "" -#: ../../api.rst:1222 +#: ../../api.rst:1502 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Member` or :class:`User` who got the role." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、役職の更新が行われた " +":class:`Member` あるいは :class:`User` になります。" -#: ../../api.rst:1227 +#: ../../api.rst:1507 msgid ":attr:`~AuditLogDiff.roles`" msgstr ":attr:`~AuditLogDiff.roles`" -#: ../../api.rst:1231 -msgid "A new role was created." +#: ../../api.rst:1511 +msgid "" +"A member's voice channel has been updated. This triggers when a member is" +" moved to a different voice channel." msgstr "" -#: ../../api.rst:1233 ../../api.rst:1253 ../../api.rst:1268 +#: ../../api.rst:1517 msgid "" -"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" -" :class:`Role` or a :class:`Object` with the ID." +"``channel``: A :class:`TextChannel` or :class:`Object` with the channel " +"ID where the members were moved." msgstr "" -#: ../../api.rst:1238 ../../api.rst:1258 ../../api.rst:1273 -msgid ":attr:`~AuditLogDiff.colour`" -msgstr ":attr:`~AuditLogDiff.colour`" - -#: ../../api.rst:1239 ../../api.rst:1259 ../../api.rst:1274 -msgid ":attr:`~AuditLogDiff.mentionable`" -msgstr ":attr:`~AuditLogDiff.mentionable`" - -#: ../../api.rst:1240 ../../api.rst:1260 ../../api.rst:1275 -msgid ":attr:`~AuditLogDiff.hoist`" -msgstr ":attr:`~AuditLogDiff.hoist`" - -#: ../../api.rst:1242 ../../api.rst:1262 ../../api.rst:1277 -msgid ":attr:`~AuditLogDiff.permissions`" -msgstr ":attr:`~AuditLogDiff.permissions`" +#: ../../api.rst:1518 +msgid "``count``: An integer specifying how many members were moved." +msgstr "" -#: ../../api.rst:1246 -msgid "A role was updated. This triggers in the following situations:" +#: ../../api.rst:1524 +msgid "" +"A member's voice state has changed. This triggers when a member is force " +"disconnected from voice." msgstr "" -#: ../../api.rst:1248 -msgid "The name has changed" +#: ../../api.rst:1527 ../../api.rst:1729 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.extra` is set " +"to an unspecified proxy object with one attribute:" +msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`Object` になります。" + +#: ../../api.rst:1530 +msgid "``count``: An integer specifying how many members were disconnected." +msgstr "" + +#: ../../api.rst:1536 +msgid "A bot was added to the guild." +msgstr "" + +#: ../../api.rst:1538 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` which was added to the guild." +msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、役職の更新が行われた " +":class:`Member` あるいは :class:`User` になります。" + +#: ../../api.rst:1545 +msgid "A new role was created." +msgstr "新しい役職の作成。" + +#: ../../api.rst:1547 ../../api.rst:1567 ../../api.rst:1582 +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Role` or a :class:`Object` with the ID." msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`Role` か、 :class:`Object` のいずれかになります。" + +#: ../../api.rst:1552 ../../api.rst:1572 ../../api.rst:1587 +msgid ":attr:`~AuditLogDiff.colour`" +msgstr ":attr:`~AuditLogDiff.colour`" + +#: ../../api.rst:1553 ../../api.rst:1573 ../../api.rst:1588 +msgid ":attr:`~AuditLogDiff.mentionable`" +msgstr ":attr:`~AuditLogDiff.mentionable`" + +#: ../../api.rst:1554 ../../api.rst:1574 ../../api.rst:1589 +msgid ":attr:`~AuditLogDiff.hoist`" +msgstr ":attr:`~AuditLogDiff.hoist`" + +#: ../../api.rst:1556 ../../api.rst:1576 ../../api.rst:1591 +msgid ":attr:`~AuditLogDiff.permissions`" +msgstr ":attr:`~AuditLogDiff.permissions`" + +#: ../../api.rst:1560 +msgid "A role was updated. This triggers in the following situations:" +msgstr "役職の何らかの更新。これのトリガーとなるのは以下の場合です:" + +#: ../../api.rst:1562 +msgid "The name has changed" +msgstr "名前の更新。" -#: ../../api.rst:1249 +#: ../../api.rst:1563 msgid "The permissions have changed" msgstr "" -#: ../../api.rst:1250 +#: ../../api.rst:1564 msgid "The colour has changed" msgstr "" -#: ../../api.rst:1251 +#: ../../api.rst:1565 msgid "Its hoist/mentionable state has changed" msgstr "" -#: ../../api.rst:1266 +#: ../../api.rst:1580 msgid "A role was deleted." -msgstr "" +msgstr "役職の削除。" -#: ../../api.rst:1281 +#: ../../api.rst:1595 msgid "An invite was created." -msgstr "" +msgstr "招待の作成。" -#: ../../api.rst:1283 +#: ../../api.rst:1597 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Invite` that was created." msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは作成された招待に該当する " +":class:`Invite` になります。" -#: ../../api.rst:1288 ../../api.rst:1312 +#: ../../api.rst:1602 ../../api.rst:1626 msgid ":attr:`~AuditLogDiff.max_age`" msgstr ":attr:`~AuditLogDiff.max_age`" -#: ../../api.rst:1289 ../../api.rst:1313 +#: ../../api.rst:1603 ../../api.rst:1627 msgid ":attr:`~AuditLogDiff.code`" msgstr ":attr:`~AuditLogDiff.code`" -#: ../../api.rst:1290 ../../api.rst:1314 +#: ../../api.rst:1604 ../../api.rst:1628 msgid ":attr:`~AuditLogDiff.temporary`" msgstr ":attr:`~AuditLogDiff.temporary`" -#: ../../api.rst:1291 ../../api.rst:1315 +#: ../../api.rst:1605 ../../api.rst:1629 msgid ":attr:`~AuditLogDiff.inviter`" msgstr ":attr:`~AuditLogDiff.inviter`" -#: ../../api.rst:1292 ../../api.rst:1316 ../../api.rst:1329 ../../api.rst:1345 -#: ../../api.rst:1357 +#: ../../api.rst:1606 ../../api.rst:1630 ../../api.rst:1643 ../../api.rst:1659 +#: ../../api.rst:1671 msgid ":attr:`~AuditLogDiff.channel`" msgstr ":attr:`~AuditLogDiff.channel`" -#: ../../api.rst:1293 ../../api.rst:1317 +#: ../../api.rst:1607 ../../api.rst:1631 msgid ":attr:`~AuditLogDiff.uses`" msgstr ":attr:`~AuditLogDiff.uses`" -#: ../../api.rst:1294 ../../api.rst:1318 +#: ../../api.rst:1608 ../../api.rst:1632 msgid ":attr:`~AuditLogDiff.max_uses`" msgstr ":attr:`~AuditLogDiff.max_uses`" -#: ../../api.rst:1298 +#: ../../api.rst:1612 msgid "An invite was updated." -msgstr "" +msgstr "招待の更新。" -#: ../../api.rst:1300 +#: ../../api.rst:1614 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Invite` that was updated." msgstr "" -#: ../../api.rst:1305 +#: ../../api.rst:1619 msgid "An invite was deleted." msgstr "" -#: ../../api.rst:1307 +#: ../../api.rst:1621 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Invite` that was deleted." msgstr "" -#: ../../api.rst:1322 +#: ../../api.rst:1636 msgid "A webhook was created." msgstr "" -#: ../../api.rst:1324 ../../api.rst:1340 ../../api.rst:1352 +#: ../../api.rst:1638 ../../api.rst:1654 ../../api.rst:1666 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Object` with the webhook ID." msgstr "" -#: ../../api.rst:1331 ../../api.rst:1359 +#: ../../api.rst:1645 ../../api.rst:1673 msgid ":attr:`~AuditLogDiff.type` (always set to ``1`` if so)" msgstr "" -#: ../../api.rst:1335 +#: ../../api.rst:1649 msgid "A webhook was updated. This trigger in the following situations:" msgstr "" -#: ../../api.rst:1337 +#: ../../api.rst:1651 msgid "The webhook name changed" msgstr "" -#: ../../api.rst:1338 +#: ../../api.rst:1652 msgid "The webhook channel changed" msgstr "" -#: ../../api.rst:1350 +#: ../../api.rst:1664 msgid "A webhook was deleted." msgstr "" -#: ../../api.rst:1363 +#: ../../api.rst:1677 msgid "An emoji was created." msgstr "" -#: ../../api.rst:1365 ../../api.rst:1376 +#: ../../api.rst:1679 ../../api.rst:1690 msgid "" "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:1374 +#: ../../api.rst:1688 msgid "An emoji was updated. This triggers when the name has changed." msgstr "" -#: ../../api.rst:1385 +#: ../../api.rst:1699 msgid "An emoji was deleted." msgstr "" -#: ../../api.rst:1387 +#: ../../api.rst:1701 msgid "" "When this is the action, the type of :attr:`~AuditLogEntry.target` is the" " :class:`Object` with the emoji ID." msgstr "" -#: ../../api.rst:1396 +#: ../../api.rst:1710 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." +" message was deleted by someone other than the author." msgstr "" -#: ../../api.rst:1400 +#: ../../api.rst:1713 msgid "" "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:1406 +#: ../../api.rst:1719 ../../api.rst:1732 msgid "``count``: An integer specifying how many messages were deleted." msgstr "" -#: ../../api.rst:1407 +#: ../../api.rst:1720 msgid "" "``channel``: A :class:`TextChannel` or :class:`Object` with the channel " "ID where the message got deleted." msgstr "" -#: ../../api.rst:1412 +#: ../../api.rst:1724 +msgid "Messages were bulk deleted by a moderator." +msgstr "" + +#: ../../api.rst:1726 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`TextChannel` or :class:`Object` with the ID of the channel that " +"was purged." +msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、IDが設定されている " +":class:`abc.GuildChannel` か、 :class:`Object` のいずれかになります。" + +#: ../../api.rst:1738 +#, fuzzy +msgid "A message was pinned in a channel." +msgstr "メッセージをピン留め、または解除した。" + +#: ../../api.rst:1740 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` who had their message pinned." +msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、役職の更新が行われた " +":class:`Member` あるいは :class:`User` になります。" + +#: ../../api.rst:1746 +msgid "" +"``channel``: A :class:`TextChannel` or :class:`Object` with the channel " +"ID where the message was pinned." +msgstr "" + +#: ../../api.rst:1747 +msgid "``message_id``: the ID of the message which was pinned." +msgstr "" + +#: ../../api.rst:1753 +#, fuzzy +msgid "A message was unpinned in a channel." +msgstr "ギルドチャンネルのメッセージがピン留めされたり、解除されたりしたときに呼び出されます。" + +#: ../../api.rst:1755 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Member` or :class:`User` who had their message unpinned." +msgstr "" +"これが上記のactionならば、 :attr:`~AuditLogEntry.target` のtypeは、更新の行われた " +":class:`Member` あるいは :class:`User` になります。" + +#: ../../api.rst:1761 +msgid "" +"``channel``: A :class:`TextChannel` or :class:`Object` with the channel " +"ID where the message was unpinned." +msgstr "" + +#: ../../api.rst:1762 +msgid "``message_id``: the ID of the message which was unpinned." +msgstr "" + +#: ../../api.rst:1768 +#, fuzzy +msgid "A guild integration was created." +msgstr "招待の作成。" + +#: ../../api.rst:1770 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Object` with the integration ID of the integration which was " +"created." +msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは作成された招待に該当する " +":class:`Invite` になります。" + +#: ../../api.rst:1777 +#, fuzzy +msgid "A guild integration was updated." +msgstr "連携サービスが更新されたギルド。" + +#: ../../api.rst:1779 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Object` with the integration ID of the integration which was " +"updated." +msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは作成された招待に該当する " +":class:`Invite` になります。" + +#: ../../api.rst:1786 +#, fuzzy +msgid "A guild integration was deleted." +msgstr "連携サービスが更新されたギルド。" + +#: ../../api.rst:1788 +#, fuzzy +msgid "" +"When this is the action, the type of :attr:`~AuditLogEntry.target` is the" +" :class:`Object` with the integration ID of the integration which was " +"deleted." +msgstr "" +"これが上記のactionならば、:attr:`~AuditLogEntry.target` のtypeは作成された招待に該当する " +":class:`Invite` になります。" + +#: ../../api.rst:1795 msgid "Represents the category that the :class:`AuditLogAction` belongs to." msgstr "" -#: ../../api.rst:1414 +#: ../../api.rst:1797 msgid "This can be retrieved via :attr:`AuditLogEntry.category`." msgstr "" -#: ../../api.rst:1418 +#: ../../api.rst:1801 msgid "The action is the creation of something." msgstr "" -#: ../../api.rst:1422 +#: ../../api.rst:1805 msgid "The action is the deletion of something." msgstr "" -#: ../../api.rst:1426 +#: ../../api.rst:1809 msgid "The action is the update of something." msgstr "" -#: ../../api.rst:1431 +#: ../../api.rst:1813 msgid "Specifies the type of :class:`Relationship`." msgstr "" -#: ../../api.rst:1435 ../../api.rst:1461 ../../api.rst:1483 ../../api.rst:1512 -#: ../../api.rst:1529 +#: ../../api.rst:1817 ../../api.rst:1843 ../../api.rst:1865 ../../api.rst:1894 +#: ../../api.rst:1911 msgid "This only applies to users, *not* bots." msgstr "" -#: ../../api.rst:1439 +#: ../../api.rst:1821 msgid "You are friends with this user." msgstr "" -#: ../../api.rst:1443 +#: ../../api.rst:1825 msgid "You have blocked this user." msgstr "このユーザーはブロックされています。" -#: ../../api.rst:1447 +#: ../../api.rst:1829 msgid "The user has sent you a friend request." msgstr "フレンド申請が届いています。" -#: ../../api.rst:1451 +#: ../../api.rst:1833 msgid "You have sent a friend request to this user." msgstr "" -#: ../../api.rst:1456 +#: ../../api.rst:1838 msgid "" "Represents the options found in ``Settings > Privacy & Safety > Safe " "Direct Messaging`` in the Discord client." msgstr "" -#: ../../api.rst:1465 +#: ../../api.rst:1847 msgid "Scan all direct messages from everyone." msgstr "" -#: ../../api.rst:1469 +#: ../../api.rst:1851 msgid "Scan all direct messages that aren't from friends." msgstr "" -#: ../../api.rst:1473 +#: ../../api.rst:1855 msgid "Don't scan any direct messages." msgstr "" -#: ../../api.rst:1478 +#: ../../api.rst:1860 msgid "" "Represents the options found in ``Settings > Privacy & Safety > Who Can " "Add You As A Friend`` in the Discord client." msgstr "" -#: ../../api.rst:1487 +#: ../../api.rst:1869 msgid "This allows no-one to add you as a friend." msgstr "" -#: ../../api.rst:1491 +#: ../../api.rst:1873 msgid "This allows guild members to add you as a friend." msgstr "" -#: ../../api.rst:1495 +#: ../../api.rst:1877 msgid "This allows friends of friends to add you as a friend." msgstr "" -#: ../../api.rst:1499 +#: ../../api.rst:1881 msgid "This is a superset of :attr:`mutual_guilds` and :attr:`mutual_friends`." msgstr "" -#: ../../api.rst:1503 +#: ../../api.rst:1885 msgid "This allows everyone to add you as a friend." msgstr "" -#: ../../api.rst:1508 +#: ../../api.rst:1890 msgid "Represents the user's Discord Nitro subscription type." msgstr "" -#: ../../api.rst:1516 +#: ../../api.rst:1898 msgid "Represents the Discord Nitro with Nitro-exclusive games." msgstr "" -#: ../../api.rst:1520 +#: ../../api.rst:1902 msgid "Represents the Discord Nitro with no Nitro-exclusive games." msgstr "" -#: ../../api.rst:1525 +#: ../../api.rst:1907 msgid "Represents the theme synced across all Discord clients." msgstr "" -#: ../../api.rst:1533 +#: ../../api.rst:1915 msgid "Represents the Light theme on Discord." -msgstr "" +msgstr "Discordのライトテーマを表します。" -#: ../../api.rst:1537 +#: ../../api.rst:1919 msgid "Represents the Dark theme on Discord." +msgstr "Discordのダークテーマを表します。" + +#: ../../api.rst:1924 +msgid "" +"Represents the membership state of a team member retrieved through " +":func:`Bot.application_info`." +msgstr "" + +#: ../../api.rst:1930 +#, fuzzy +msgid "Represents an invited member." +msgstr "Discordの埋め込みを表します。" + +#: ../../api.rst:1934 +msgid "Represents a member currently in the team." +msgstr "" + +#: ../../api.rst:1938 +msgid "Represents the type of webhook that can be received." +msgstr "" + +#: ../../api.rst:1944 +msgid "Represents a webhook that can post messages to channels with a token." +msgstr "" + +#: ../../api.rst:1948 +msgid "" +"Represents a webhook that is internally managed by Discord, used for " +"following channels." +msgstr "" + +#: ../../api.rst:1952 +msgid "" +"Represents the behaviour the :class:`Integration` should perform when a " +"user's subscription has finished." +msgstr "" + +#: ../../api.rst:1955 +msgid "There is an alias for this called ``ExpireBehavior``." +msgstr "" + +#: ../../api.rst:1961 +msgid "" +"This will remove the :attr:`Integration.role` from the user when their " +"subscription is finished." +msgstr "" + +#: ../../api.rst:1966 +msgid "This will kick the user when their subscription is finished." msgstr "" -#: ../../api.rst:1541 +#: ../../api.rst:1970 +msgid "Represents the default avatar of a Discord :class:`User`" +msgstr "" + +#: ../../api.rst:1974 +msgid "" +"Represents the default avatar with the color blurple. See also " +":attr:`Colour.blurple`" +msgstr "" + +#: ../../api.rst:1978 +msgid "" +"Represents the default avatar with the color grey. See also " +":attr:`Colour.greyple`" +msgstr "" + +#: ../../api.rst:1982 +#, fuzzy +msgid "An alias for :attr:`grey`." +msgstr ":attr:`high` のエイリアス。" + +#: ../../api.rst:1985 +msgid "" +"Represents the default avatar with the color green. See also " +":attr:`Colour.green`" +msgstr "" + +#: ../../api.rst:1989 +msgid "" +"Represents the default avatar with the color orange. See also " +":attr:`Colour.orange`" +msgstr "" + +#: ../../api.rst:1993 +msgid "" +"Represents the default avatar with the color red. See also " +":attr:`Colour.red`" +msgstr "" + +#: ../../api.rst:1998 msgid "Async Iterator" msgstr "非同期イテレータ" -#: ../../api.rst:1543 +#: ../../api.rst:2000 msgid "" "Some API functions return an \"async iterator\". An async iterator is " "something that is capable of being used in an :ref:`async for statement " @@ -4359,71 +6031,71 @@ msgstr "" "一部のAPI関数では「非同期イテレータ」を返します。非同期イテレータは :ref:`async for 構文 ` " "で使用できるものです。" -#: ../../api.rst:1546 +#: ../../api.rst:2003 msgid "These async iterators can be used as follows: ::" msgstr "これら非同期イテレータは以下のようにして使用可能です: ::" -#: ../../api.rst:1551 +#: ../../api.rst:2008 msgid "" "Certain utilities make working with async iterators easier, detailed " "below." msgstr "" -#: ../../api.rst:1555 +#: ../../api.rst:2012 msgid "" "Represents the \"AsyncIterator\" concept. Note that no such class exists," " it is purely abstract." msgstr "" -#: ../../api.rst:1562 +#: ../../api.rst:2019 msgid "Iterates over the contents of the async iterator." msgstr "" -#: ../../api.rst:1570 +#: ../../api.rst:2027 msgid "" "Advances the iterator by one, if possible. If no more items are found " "then this raises :exc:`NoMoreItems`." msgstr "" -#: ../../api.rst:1578 +#: ../../api.rst:2035 msgid "Similar to :func:`utils.get` except run over the async iterator." msgstr "" -#: ../../api.rst:1580 +#: ../../api.rst:2037 msgid "Getting the last message by a user named 'Dave' or ``None``: ::" msgstr "" -#: ../../api.rst:1589 +#: ../../api.rst:2046 msgid "Similar to :func:`utils.find` except run over the async iterator." msgstr "" -#: ../../api.rst:1591 +#: ../../api.rst:2048 msgid "" "Unlike :func:`utils.find`\\, the predicate provided can be a " "|coroutine_link|_." msgstr "" -#: ../../api.rst:1594 +#: ../../api.rst:2051 msgid "Getting the last audit log with a reason or ``None``: ::" msgstr "" -#: ../../api.rst:1601 +#: ../../api.rst:2058 msgid "The predicate to use. Could be a |coroutine_link|_." msgstr "" -#: ../../api.rst:1602 +#: ../../api.rst:2059 msgid "The first element that returns ``True`` for the predicate or ``None``." msgstr "" -#: ../../api.rst:1609 +#: ../../api.rst:2066 msgid "Flattens the async iterator into a :class:`list` with all the elements." msgstr "" -#: ../../api.rst:1611 +#: ../../api.rst:2068 msgid "A list of every element in the async iterator." msgstr "" -#: ../../api.rst:1616 +#: ../../api.rst:2073 msgid "" "This is similar to the built-in :func:`map ` function. Another " ":class:`AsyncIterator` is returned that executes the function on every " @@ -4431,19 +6103,20 @@ msgid "" "function or a |coroutine_link|_." msgstr "" -#: ../../api.rst:1621 +#: ../../api.rst:2078 msgid "Creating a content iterator: ::" msgstr "" -#: ../../api.rst:1629 +#: ../../api.rst:2086 msgid "The function to call on every element. Could be a |coroutine_link|_." msgstr "" -#: ../../api.rst:1630 ../../api.rst:1647 -msgid "An async iterator." -msgstr "" +#: ../../api.rst:2087 ../../api.rst:2104 +#, fuzzy +msgid ":class:`AsyncIterator`" +msgstr ":class:`str`" -#: ../../api.rst:1634 +#: ../../api.rst:2091 msgid "" "This is similar to the built-in :func:`filter ` function. " "Another :class:`AsyncIterator` is returned that filters over the original" @@ -4451,19 +6124,19 @@ msgid "" "|coroutine_link|_." msgstr "" -#: ../../api.rst:1638 +#: ../../api.rst:2095 msgid "Getting messages by non-bot accounts: ::" msgstr "" -#: ../../api.rst:1646 +#: ../../api.rst:2103 msgid "The predicate to call on every element. Could be a |coroutine_link|_." msgstr "" -#: ../../api.rst:1651 +#: ../../api.rst:2109 msgid "Audit Log Data" msgstr "監査ログデータ" -#: ../../api.rst:1653 +#: ../../api.rst:2111 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 " @@ -4531,21 +6204,6 @@ msgstr "" msgid "Returns the entry's creation time in UTC." msgstr "カテゴリの名前を返します。" -#: discord.AuditLogEntry.created_at:3 discord.CategoryChannel.created_at:3 -#: discord.ClientUser.created_at:5 discord.Embed:51 discord.Emoji.created_at:3 -#: discord.GroupChannel.created_at:3 discord.Guild.created_at:3 -#: discord.Invite:74 discord.Message.created_at:3 discord.Object.created_at:3 -#: discord.PartialInviteChannel.created_at:3 -#: discord.PartialInviteGuild.created_at:3 discord.Role.created_at:3 -#: discord.Spotify.end:3 discord.Spotify.start:3 -#: discord.TextChannel.created_at:3 discord.User.created_at:5 -#: discord.VoiceChannel.created_at:3 discord.Webhook.created_at:3 -#: discord.Widget.created_at:3 discord.WidgetChannel.created_at:3 -#: discord.WidgetMember.created_at:5 discord.abc.GuildChannel.created_at:3 -#: discord.abc.Snowflake.created_at:3 of -msgid ":class:`datetime.datetime`" -msgstr "" - #: discord.AuditLogEntry.category:1 of #, fuzzy msgid "The category of the action, if applicable." @@ -4577,91 +6235,91 @@ msgstr ":class:`.Guild`" msgid "The target's subsequent state." msgstr "" -#: ../../api.rst:1662 +#: ../../api.rst:2120 msgid "An audit log change set." msgstr "" -#: ../../api.rst:1666 +#: ../../api.rst:2124 msgid "The old value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1668 ../../api.rst:1688 +#: ../../api.rst:2126 ../../api.rst:2146 msgid "" "Depending on the :class:`AuditLogActionCategory` retrieved by " ":attr:`~AuditLogEntry.category`\\, the data retrieved by this attribute " "differs:" msgstr "" -#: ../../api.rst:1673 ../../api.rst:1693 +#: ../../api.rst:2131 ../../api.rst:2151 msgid "Category" msgstr "" -#: ../../api.rst:1673 ../../api.rst:1693 discord.PermissionOverwrite:15 of +#: ../../api.rst:2131 ../../api.rst:2151 msgid "Description" msgstr "" -#: ../../api.rst:1675 ../../api.rst:1695 +#: ../../api.rst:2133 ../../api.rst:2153 msgid ":attr:`~AuditLogActionCategory.create`" -msgstr "" +msgstr ":attr:`~AuditLogActionCategory.create`" -#: ../../api.rst:1675 +#: ../../api.rst:2133 msgid "All attributes are set to ``None``." msgstr "" -#: ../../api.rst:1677 ../../api.rst:1697 +#: ../../api.rst:2135 ../../api.rst:2155 msgid ":attr:`~AuditLogActionCategory.delete`" -msgstr "" +msgstr ":attr:`~AuditLogActionCategory.delete`" -#: ../../api.rst:1677 +#: ../../api.rst:2135 msgid "All attributes are set the value before deletion." msgstr "" -#: ../../api.rst:1679 ../../api.rst:1699 +#: ../../api.rst:2137 ../../api.rst:2157 msgid ":attr:`~AuditLogActionCategory.update`" -msgstr "" +msgstr ":attr:`~AuditLogActionCategory.update`" -#: ../../api.rst:1679 +#: ../../api.rst:2137 msgid "All attributes are set the value before updating." msgstr "" -#: ../../api.rst:1681 ../../api.rst:1701 +#: ../../api.rst:2139 ../../api.rst:2159 msgid "``None``" -msgstr "" +msgstr "``None``" -#: ../../api.rst:1681 ../../api.rst:1701 +#: ../../api.rst:2139 ../../api.rst:2159 msgid "No attributes are set." msgstr "" -#: ../../api.rst:1686 +#: ../../api.rst:2144 msgid "The new value. The attribute has the type of :class:`AuditLogDiff`." msgstr "" -#: ../../api.rst:1695 +#: ../../api.rst:2153 msgid "All attributes are set to the created value" msgstr "" -#: ../../api.rst:1697 +#: ../../api.rst:2155 msgid "All attributes are set to ``None``" msgstr "" -#: ../../api.rst:1699 +#: ../../api.rst:2157 msgid "All attributes are set the value after updating." msgstr "" -#: ../../api.rst:1706 +#: ../../api.rst:2164 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." msgstr "" -#: ../../api.rst:1710 +#: ../../api.rst:2168 msgid "" "Note that accessing an attribute that does not match the specified action" " will lead to an attribute error." msgstr "" -#: ../../api.rst:1713 +#: ../../api.rst:2171 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" @@ -4670,165 +6328,204 @@ msgid "" "attributes that are possible." msgstr "" -#: ../../api.rst:1720 +#: ../../api.rst:2180 msgid "Returns an iterator over (attribute, value) tuple of this diff." msgstr "" -#: ../../api.rst:1724 -msgid ":class:`str` – A name of something." -msgstr "" +#: ../../api.rst:2184 +#, fuzzy +msgid "A name of something." +msgstr "ギルドの名前。" -#: ../../api.rst:1728 -msgid ":class:`str` – A guild's icon hash. See also :attr:`Guild.icon`." +#: ../../api.rst:2190 +msgid "A guild's icon hash. See also :attr:`Guild.icon`." msgstr "" -#: ../../api.rst:1732 -msgid "" -":class:`str` – The guild's invite splash hash. See also " -":attr:`Guild.splash`." +#: ../../api.rst:2196 +msgid "The guild's invite splash hash. See also :attr:`Guild.splash`." msgstr "" -#: ../../api.rst:1736 -msgid "" -"Union[:class:`Member`, :class:`User`] – The guild's owner. See also " -":attr:`Guild.owner`" +#: ../../api.rst:2202 +msgid "The guild's owner. See also :attr:`Guild.owner`" msgstr "" -#: ../../api.rst:1740 -msgid "" -":class:`VoiceRegion` – The guild's voice region. See also " -":attr:`Guild.region`." +#: ../../api.rst:2204 +msgid "Union[:class:`Member`, :class:`User`]" msgstr "" -#: ../../api.rst:1744 -msgid "Union[:class:`VoiceChannel`, :class:`Object`] – The guild's AFK channel." +#: ../../api.rst:2208 +msgid "The guild's voice region. See also :attr:`Guild.region`." msgstr "" -#: ../../api.rst:1746 ../../api.rst:1755 +#: ../../api.rst:2210 discord.GroupCall:27 discord.Guild:40 of +#, fuzzy +msgid ":class:`VoiceRegion`" +msgstr ":class:`bool`" + +#: ../../api.rst:2214 +#, fuzzy +msgid "The guild's AFK channel." +msgstr "ギルドのニュースチャンネル。" + +#: ../../api.rst:2216 ../../api.rst:2227 msgid "" "If this could not be found, then it falls back to a :class:`Object` with " "the ID being set." msgstr "" -#: ../../api.rst:1749 +#: ../../api.rst:2219 msgid "See :attr:`Guild.afk_channel`." msgstr "" -#: ../../api.rst:1753 -msgid "Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel." -msgstr "" +#: ../../api.rst:2221 +#, fuzzy +msgid "Union[:class:`VoiceChannel`, :class:`Object`]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" -#: ../../api.rst:1758 +#: ../../api.rst:2225 +#, fuzzy +msgid "The guild's system channel." +msgstr "ギルドのストアチャンネル。" + +#: ../../api.rst:2230 msgid "See :attr:`Guild.system_channel`." msgstr "" -#: ../../api.rst:1762 -msgid ":class:`int` – The guild's AFK timeout. See :attr:`Guild.afk_timeout`." -msgstr "" +#: ../../api.rst:2232 ../../api.rst:2259 +#, fuzzy +msgid "Union[:class:`TextChannel`, :class:`Object`]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" -#: ../../api.rst:1766 -msgid ":class:`int` - The guild's MFA level. See :attr:`Guild.mfa_level`." +#: ../../api.rst:2236 +msgid "The guild's AFK timeout. See :attr:`Guild.afk_timeout`." msgstr "" -#: ../../api.rst:1770 -msgid ":class:`bool` – The guild's widget has been enabled or disabled." +#: ../../api.rst:2242 +msgid "The guild's MFA level. See :attr:`Guild.mfa_level`." msgstr "" -#: ../../api.rst:1774 -msgid "Union[:class:`TextChannel`, :class:`Object`] – The widget's channel." +#: ../../api.rst:2248 +msgid "The guild's widget has been enabled or disabled." msgstr "" -#: ../../api.rst:1776 +#: ../../api.rst:2254 +#, fuzzy +msgid "The widget's channel." +msgstr "ボイスチャンネル。" + +#: ../../api.rst:2256 msgid "" "If this could not be found then it falls back to a :class:`Object` with " "the ID being set." msgstr "" -#: ../../api.rst:1781 -msgid ":class:`VerificationLevel` – The guild's verification level." -msgstr "" +#: ../../api.rst:2263 discord.Guild:128 of +#, fuzzy +msgid "The guild's verification level." +msgstr "認証レベルが等しいか確認します。" -#: ../../api.rst:1783 +#: ../../api.rst:2265 msgid "See also :attr:`Guild.verification_level`." msgstr "" -#: ../../api.rst:1787 -msgid ":class:`NotificationLevel` – The guild's default notification level." +#: ../../api.rst:2267 discord.Guild:130 discord.PartialInviteGuild:40 of +#, fuzzy +msgid ":class:`VerificationLevel`" +msgstr ":class:`.Profile`" + +#: ../../api.rst:2271 +msgid "The guild's default notification level." msgstr "" -#: ../../api.rst:1789 +#: ../../api.rst:2273 msgid "See also :attr:`Guild.default_notifications`." msgstr "" -#: ../../api.rst:1793 -msgid ":class:`ContentFilter` – The guild's content filter." -msgstr "" +#: ../../api.rst:2275 discord.Guild:142 of +#, fuzzy +msgid ":class:`NotificationLevel`" +msgstr ":class:`.Profile`" -#: ../../api.rst:1795 -msgid "See also :attr:`Guild.explicit_content_filter`." -msgstr "" +#: ../../api.rst:2279 +#, fuzzy +msgid "The guild's content filter." +msgstr "ギルドで表現のフィルターが有効ではない。" -#: ../../api.rst:1799 -msgid ":class:`int` – The guild's default message notification setting." +#: ../../api.rst:2281 +msgid "See also :attr:`Guild.explicit_content_filter`." msgstr "" -#: ../../api.rst:1803 -msgid ":class:`str` – The guild's vanity URL." -msgstr "" +#: ../../api.rst:2283 discord.Guild:136 of +#, fuzzy +msgid ":class:`ContentFilter`" +msgstr ":class:`.Profile`" -#: ../../api.rst:1805 +#: ../../api.rst:2287 +#, fuzzy +msgid "The guild's default message notification setting." +msgstr ":attr:`~AuditLogDiff.default_message_notifications`" + +#: ../../api.rst:2293 +#, fuzzy +msgid "The guild's vanity URL." +msgstr "ギルドのウィジェット。" + +#: ../../api.rst:2295 msgid "See also :meth:`Guild.vanity_invite` and :meth:`Guild.edit`." msgstr "" -#: ../../api.rst:1809 -msgid "" -":class:`int` – The position of a :class:`Role` or " -":class:`abc.GuildChannel`." +#: ../../api.rst:2301 +msgid "The position of a :class:`Role` or :class:`abc.GuildChannel`." msgstr "" -#: ../../api.rst:1813 -msgid "" -"Union[:class:`int`, :class:`str`] – The type of channel or channel " -"permission overwrite." -msgstr "" +#: ../../api.rst:2307 +#, fuzzy +msgid "The type of channel or channel permission overwrite." +msgstr "権限を確認したいチャンネル。" -#: ../../api.rst:1815 +#: ../../api.rst:2309 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 " "channel." msgstr "" -#: ../../api.rst:1818 +#: ../../api.rst:2312 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:1823 -msgid ":class:`str` – The topic of a :class:`TextChannel`." +#: ../../api.rst:2315 +#, fuzzy +msgid "Union[:class:`int`, :class:`str`]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" + +#: ../../api.rst:2319 +#, fuzzy +msgid "The topic of a :class:`TextChannel`." msgstr ":class:`str` – :class:`TextChannel` のトピック。" -#: ../../api.rst:1825 +#: ../../api.rst:2321 msgid "See also :attr:`TextChannel.topic`." msgstr "" -#: ../../api.rst:1829 -msgid ":class:`int` – The bitrate of a :class:`VoiceChannel`." -msgstr "" +#: ../../api.rst:2327 +#, fuzzy +msgid "The bitrate of a :class:`VoiceChannel`." +msgstr ":class:`str` – :class:`TextChannel` のトピック。" -#: ../../api.rst:1831 +#: ../../api.rst:2329 msgid "See also :attr:`VoiceChannel.bitrate`." msgstr "" -#: ../../api.rst:1835 +#: ../../api.rst:2335 msgid "" -"List[Tuple[target, :class:`PermissionOverwrite`]] – A list of permission " -"overwrite tuples that represents a target and a " +"A list of permission overwrite tuples that represents a target and a " ":class:`PermissionOverwrite` for said target." msgstr "" -#: ../../api.rst:1839 +#: ../../api.rst:2338 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 " @@ -4837,163 +6534,198 @@ msgid "" "type of ID it is." msgstr "" -#: ../../api.rst:1847 -msgid "" -"List[Union[:class:`Role`, :class:`Object`]] – A list of roles being added" -" or removed from a member." +#: ../../api.rst:2344 +msgid "List[Tuple[target, :class:`PermissionOverwrite`]]" +msgstr "" + +#: ../../api.rst:2348 +msgid "A list of roles being added or removed from a member." msgstr "" -#: ../../api.rst:1850 +#: ../../api.rst:2350 msgid "" "If a role is not found then it is a :class:`Object` with the ID and name " "being filled in." msgstr "" -#: ../../api.rst:1855 -msgid "Optional[:class:`str`] – The nickname of a member." +#: ../../api.rst:2353 +msgid "List[Union[:class:`Role`, :class:`Object`]]" +msgstr "" + +#: ../../api.rst:2357 +msgid "The nickname of a member." msgstr "" -#: ../../api.rst:1857 +#: ../../api.rst:2359 msgid "See also :attr:`Member.nick`" msgstr "" -#: ../../api.rst:1861 -msgid ":class:`bool` – Whether the member is being server deafened." +#: ../../api.rst:2365 +msgid "Whether the member is being server deafened." msgstr "" -#: ../../api.rst:1863 +#: ../../api.rst:2367 msgid "See also :attr:`VoiceState.deaf`." msgstr "" -#: ../../api.rst:1867 -msgid ":class:`bool` – Whether the member is being server muted." +#: ../../api.rst:2373 +msgid "Whether the member is being server muted." msgstr "" -#: ../../api.rst:1869 +#: ../../api.rst:2375 msgid "See also :attr:`VoiceState.mute`." msgstr "" -#: ../../api.rst:1873 -msgid ":class:`Permissions` – The permissions of a role." +#: ../../api.rst:2381 +#, fuzzy +msgid "The permissions of a role." msgstr ":class:`Permissions` – 役職の権限。" -#: ../../api.rst:1875 +#: ../../api.rst:2383 msgid "See also :attr:`Role.permissions`." msgstr "" -#: ../../api.rst:1880 -msgid ":class:`Colour` – The colour of a role." +#: ../../api.rst:2385 ../../api.rst:2474 discord.DMChannel.permissions_for:17 +#: discord.GroupChannel.permissions_for:18 discord.Member.guild_permissions:12 +#: discord.Member.permissions_in:13 discord.Role.permissions:3 of +msgid ":class:`Permissions`" +msgstr "" + +#: ../../api.rst:2390 +#, fuzzy +msgid "The colour of a role." msgstr ":class:`Colour` – 役職の色。" -#: ../../api.rst:1882 +#: ../../api.rst:2392 msgid "See also :attr:`Role.colour`" msgstr "" -#: ../../api.rst:1886 -msgid ":class:`bool` – Whether the role is being hoisted or not." +#: ../../api.rst:2394 discord.ClientUser.color:6 discord.ClientUser.colour:6 +#: discord.Member.color:7 discord.Member.colour:7 discord.Role.color:3 +#: discord.Role.colour:3 discord.Spotify.color:5 discord.Spotify.colour:5 +#: discord.User.color:6 discord.User.colour:6 discord.WidgetMember.color:6 +#: discord.WidgetMember.colour:6 of +#, fuzzy +msgid ":class:`Colour`" +msgstr ":class:`bool`" + +#: ../../api.rst:2398 +msgid "Whether the role is being hoisted or not." msgstr "" -#: ../../api.rst:1888 +#: ../../api.rst:2400 msgid "See also :attr:`Role.hoist`" msgstr "" -#: ../../api.rst:1892 -msgid ":class:`bool` – Whether the role is mentionable or not." +#: ../../api.rst:2406 +msgid "Whether the role is mentionable or not." msgstr "" -#: ../../api.rst:1894 +#: ../../api.rst:2408 msgid "See also :attr:`Role.mentionable`" msgstr "" -#: ../../api.rst:1898 -msgid ":class:`str` – The invite's code." -msgstr "" +#: ../../api.rst:2414 +#, fuzzy +msgid "The invite's code." +msgstr "招待コード。" -#: ../../api.rst:1900 +#: ../../api.rst:2416 msgid "See also :attr:`Invite.code`" msgstr "" -#: ../../api.rst:1904 -msgid "Union[:class:`abc.GuildChannel`, :class:`Object`] – A guild channel." -msgstr "" +#: ../../api.rst:2422 +#, fuzzy +msgid "A guild channel." +msgstr "ギルドのニュースチャンネル。" -#: ../../api.rst:1906 +#: ../../api.rst:2424 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." msgstr "" -#: ../../api.rst:1911 -msgid ":class:`User` – The user who created the invite." +#: ../../api.rst:2427 +#, fuzzy +msgid "Union[:class:`abc.GuildChannel`, :class:`Object`]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" + +#: ../../api.rst:2431 discord.Invite:97 of +#, fuzzy +msgid "The user who created the invite." msgstr ":class:`User` – 招待を作成したユーザー。" -#: ../../api.rst:1913 +#: ../../api.rst:2433 msgid "See also :attr:`Invite.inviter`." msgstr "" -#: ../../api.rst:1917 -msgid ":class:`int` – The invite's max uses." +#: ../../api.rst:2439 +#, fuzzy +msgid "The invite's max uses." msgstr ":class:`int` – 招待の最大使用可能回数。" -#: ../../api.rst:1919 +#: ../../api.rst:2441 msgid "See also :attr:`Invite.max_uses`." msgstr "" -#: ../../api.rst:1923 -msgid ":class:`int` – The invite's current uses." +#: ../../api.rst:2447 +#, fuzzy +msgid "The invite's current uses." msgstr ":class:`int` – 招待の現在までの使用回数。" -#: ../../api.rst:1925 +#: ../../api.rst:2449 msgid "See also :attr:`Invite.uses`." msgstr "" -#: ../../api.rst:1929 -msgid ":class:`int` – The invite's max age in seconds." -msgstr "" +#: ../../api.rst:2455 +#, fuzzy +msgid "The invite's max age in seconds." +msgstr ":class:`int` – 招待の最大使用可能回数。" -#: ../../api.rst:1931 +#: ../../api.rst:2457 msgid "See also :attr:`Invite.max_age`." msgstr "" -#: ../../api.rst:1935 -msgid ":class:`bool` – If the invite is a temporary invite." +#: ../../api.rst:2463 +msgid "If the invite is a temporary invite." msgstr "" -#: ../../api.rst:1937 +#: ../../api.rst:2465 msgid "See also :attr:`Invite.temporary`." msgstr "" -#: ../../api.rst:1942 -msgid ":class:`Permissions` – The permissions being allowed or denied." +#: ../../api.rst:2472 +msgid "The permissions being allowed or denied." msgstr "" -#: ../../api.rst:1946 -msgid ":class:`int` – The ID of the object being changed." -msgstr "" +#: ../../api.rst:2478 +#, fuzzy +msgid "The ID of the object being changed." +msgstr "更新される前のギルド。" -#: ../../api.rst:1950 -msgid ":class:`str` – The avatar hash of a member." +#: ../../api.rst:2484 +msgid "The avatar hash of a member." msgstr "" -#: ../../api.rst:1952 +#: ../../api.rst:2486 msgid "See also :attr:`User.avatar`." msgstr "" -#: ../../api.rst:1956 +#: ../../api.rst:2492 msgid "" -":class:`int` – The number of seconds members have to wait before sending " -"another message in the channel." +"The number of seconds members have to wait before sending another message" +" in the channel." msgstr "" -#: ../../api.rst:1959 +#: ../../api.rst:2495 msgid "See also :attr:`TextChannel.slowmode_delay`." msgstr "" -#: ../../api.rst:1965 +#: ../../api.rst:2503 msgid "Webhook Support" msgstr "Webhookサポート" -#: ../../api.rst:1967 +#: ../../api.rst:2505 msgid "" "discord.py offers support for creating, editing, and executing webhooks " "through the :class:`Webhook` class." @@ -5039,49 +6771,70 @@ msgstr "" msgid "Or creating a webhook from an ID and token and using :doc:`req:index`:" msgstr "" -#: discord.Webhook:43 of -msgid "The webhook's ID" +#: discord.Webhook:45 of +#, fuzzy +msgid "Checks if two webhooks are equal." +msgstr "二つのユーザーが等しいかを比較します。" + +#: discord.Webhook:49 of +#, fuzzy +msgid "Checks if two webhooks are not equal." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: discord.Webhook:53 of +#, fuzzy +msgid "Returns the webhooks's hash." +msgstr "カテゴリのハッシュを返します。" + +#: discord.Webhook:55 of +msgid "Webhooks are now comparable and hashable." msgstr "" -#: discord.Webhook:49 discord.Webhook.partial:7 of -msgid "The authentication token of the webhook." +#: discord.Webhook:60 of +msgid "The webhook's ID" msgstr "" -#: discord.Webhook:55 of -msgid "The guild ID this webhook is for." +#: discord.Webhook:66 of +#, fuzzy +msgid "The type of the webhook." +msgstr "ユーザーのプロフィール。" + +#: discord.Webhook:70 of +#, fuzzy +msgid ":class:`WebhookType`" +msgstr ":class:`.Webhook`" + +#: discord.Webhook:74 of +msgid "" +"The authentication token of the webhook. If this is ``None`` then the " +"webhook cannot be used to make requests." msgstr "" -#: discord.Attachment:19 discord.Attachment:25 discord.ConnectionClosed:20 -#: discord.Guild:86 discord.Guild:92 discord.Guild.prune_members:30 -#: discord.Invite:105 discord.Invite:112 discord.Message:109 -#: discord.PartialEmoji:43 discord.RawBulkMessageDeleteEvent:19 -#: discord.RawMessageDeleteEvent:13 discord.RawReactionActionEvent:26 -#: discord.RawReactionClearEvent:19 discord.TextChannel:63 discord.Webhook:57 -#: discord.Webhook:63 of -msgid "Optional[:class:`int`]" +#: discord.Webhook:81 of +msgid "The guild ID this webhook is for." msgstr "" -#: discord.Webhook:61 of +#: discord.Webhook:87 of #, fuzzy msgid "The channel ID this webhook is for." msgstr "Webhookが更新されたチャンネル。" -#: discord.Webhook:67 of +#: discord.Webhook:93 of msgid "" "The user this webhook was created by. If the webhook was received without" " authentication then this will be ``None``." msgstr "" -#: discord.Webhook:70 of +#: discord.Webhook:96 of msgid "Optional[:class:`abc.User`]" msgstr "" -#: discord.Webhook:74 of +#: discord.Webhook:100 of #, fuzzy msgid "The default name of the webhook." msgstr "フィールドの名前。" -#: discord.Webhook:80 of +#: discord.Webhook:106 of msgid "The default avatar of the webhook." msgstr "" @@ -5094,20 +6847,32 @@ msgid "Creates a partial :class:`Webhook`." msgstr "" #: discord.Webhook.partial:3 of -msgid "A partial webhook is just a webhook object with an ID and a token." +msgid "The ID of the webhook." msgstr "" #: discord.Webhook.partial:5 of -msgid "The ID of the webhook." +msgid "The authentication token of the webhook." msgstr "" -#: discord.Webhook.from_url:5 discord.Webhook.partial:9 of +#: discord.Webhook.from_url:5 discord.Webhook.partial:7 of msgid "" "The webhook adapter to use when sending requests. This is typically " ":class:`AsyncWebhookAdapter` for :doc:`aiohttp ` or " ":class:`RequestsWebhookAdapter` for :doc:`req:index`." msgstr "" +#: discord.Webhook.from_url:12 discord.Webhook.partial:12 of +msgid "" +"A partial :class:`Webhook`. A partial webhook is just a webhook object " +"with an ID and a token." +msgstr "" + +#: discord.TextChannel.create_webhook:22 discord.TextChannel.follow:23 +#: discord.Webhook.from_url:14 discord.Webhook.partial:14 +#: discord.WebhookAdapter:7 of +msgid ":class:`Webhook`" +msgstr "" + #: discord.Webhook.from_url:1 of msgid "Creates a partial :class:`Webhook` from a webhook URL." msgstr "" @@ -5134,6 +6899,7 @@ msgstr "" msgid "The text channel this webhook belongs to." msgstr "Webhookが更新されたチャンネル。" +#: discord.Guild.public_updates_channel:9 discord.Guild.rules_channel:8 #: discord.Guild.system_channel:5 discord.Webhook.channel:5 of msgid "Optional[:class:`TextChannel`]" msgstr "" @@ -5158,6 +6924,26 @@ msgid "" "parameters." msgstr "" +#: discord.ClientUser.avatar_url:9 discord.ClientUser.avatar_url_as:24 +#: discord.ClientUser.default_avatar_url:3 discord.Emoji.url:3 +#: discord.GroupChannel.icon_url:3 discord.Guild.banner_url:3 +#: discord.Guild.banner_url_as:14 discord.Guild.discovery_splash_url:5 +#: discord.Guild.discovery_splash_url_as:16 discord.Guild.icon_url:3 +#: discord.Guild.icon_url_as:20 discord.Guild.splash_url:3 +#: discord.Guild.splash_url_as:14 discord.Member.avatar_url_as:24 +#: discord.PartialEmoji.url:3 discord.PartialInviteGuild.banner_url:3 +#: discord.PartialInviteGuild.banner_url_as:4 +#: discord.PartialInviteGuild.icon_url:3 +#: discord.PartialInviteGuild.icon_url_as:4 +#: discord.PartialInviteGuild.splash_url:3 +#: discord.PartialInviteGuild.splash_url_as:4 discord.User.avatar_url:9 +#: discord.User.avatar_url_as:24 discord.User.default_avatar_url:3 +#: discord.Webhook.avatar_url:9 discord.Webhook.avatar_url_as:18 +#: discord.WidgetMember.avatar_url:9 discord.WidgetMember.avatar_url_as:24 +#: discord.WidgetMember.default_avatar_url:3 of +msgid ":class:`Asset`" +msgstr "" + #: discord.Webhook.avatar_url_as:6 of msgid "" "The format must be one of 'jpeg', 'jpg', or 'png'. The size must be a " @@ -5171,39 +6957,29 @@ msgid "" msgstr "" #: discord.ClientUser.avatar_url_as:18 discord.Guild.banner_url_as:8 -#: discord.Guild.icon_url_as:14 discord.Guild.splash_url_as:8 -#: discord.Member.avatar_url_as:18 discord.User.avatar_url_as:18 -#: discord.Webhook.avatar_url_as:12 discord.WidgetMember.avatar_url_as:18 of +#: discord.Guild.discovery_splash_url_as:10 discord.Guild.icon_url_as:14 +#: discord.Guild.splash_url_as:8 discord.Member.avatar_url_as:18 +#: discord.User.avatar_url_as:18 discord.Webhook.avatar_url_as:12 +#: discord.WidgetMember.avatar_url_as:18 of msgid "The size of the image to display." msgstr "" -#: discord.Guild.banner_url_as:11 discord.Guild.icon_url_as:17 -#: discord.Guild.splash_url_as:11 discord.Webhook.avatar_url_as:15 of +#: discord.Guild.banner_url_as:11 discord.Guild.discovery_splash_url_as:13 +#: discord.Guild.icon_url_as:17 discord.Guild.splash_url_as:11 +#: discord.Webhook.avatar_url_as:15 of msgid "Bad image format passed to ``format`` or invalid ``size``." msgstr "" #: discord.ClientUser.avatar_url_as:23 discord.Guild.banner_url_as:13 -#: discord.Guild.icon_url_as:19 discord.Guild.splash_url_as:13 -#: discord.Member.avatar_url_as:23 discord.User.avatar_url_as:23 +#: discord.Guild.discovery_splash_url_as:15 discord.Guild.icon_url_as:19 +#: discord.Guild.splash_url_as:13 discord.Member.avatar_url_as:23 +#: discord.PartialInviteGuild.banner_url_as:3 +#: discord.PartialInviteGuild.icon_url_as:3 +#: discord.PartialInviteGuild.splash_url_as:3 discord.User.avatar_url_as:23 #: discord.Webhook.avatar_url_as:17 discord.WidgetMember.avatar_url_as:23 of msgid "The resulting CDN asset." msgstr "" -#: discord.ClientUser.avatar_url_as:24 discord.ClientUser.default_avatar_url:3 -#: discord.Emoji.url:3 discord.GroupChannel.icon_url:3 -#: discord.Guild.banner_url:3 discord.Guild.banner_url_as:14 -#: discord.Guild.icon_url:3 discord.Guild.icon_url_as:20 -#: discord.Guild.splash_url:3 discord.Guild.splash_url_as:14 -#: discord.Member.avatar_url_as:24 discord.PartialEmoji.url:3 -#: discord.PartialInviteGuild.banner_url:3 -#: discord.PartialInviteGuild.icon_url:3 -#: discord.PartialInviteGuild.splash_url:3 discord.User.avatar_url_as:24 -#: discord.User.default_avatar_url:3 discord.Webhook.avatar_url_as:18 -#: discord.WidgetMember.avatar_url_as:24 -#: discord.WidgetMember.default_avatar_url:3 of -msgid ":class:`Asset`" -msgstr "" - #: discord.Webhook.delete:1 discord.Webhook.edit:1 discord.Webhook.send:1 of msgid "|maybecoro|" msgstr "" @@ -5219,19 +6995,33 @@ msgid "" msgstr "" #: discord.Webhook.delete:8 of +msgid "" +"The reason for deleting this webhook. Shows up on the audit log. .. " +"versionadded:: 1.4" +msgstr "" + +#: discord.Webhook.delete:8 of +msgid "The reason for deleting this webhook. Shows up on the audit log." +msgstr "" + +#: discord.Webhook.delete:13 of #, fuzzy msgid "Deleting the webhook failed." msgstr ":exc:`.HTTPException` -- Webhookの取得に失敗した。" -#: discord.Webhook.delete:9 discord.Webhook.edit:14 of +#: discord.Webhook.delete:14 discord.Webhook.edit:18 of msgid "This webhook does not exist." msgstr "" -#: discord.Webhook.delete:10 of +#: discord.Webhook.delete:15 of #, fuzzy msgid "You do not have permissions to delete this webhook." msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" +#: discord.Webhook.delete:16 discord.Webhook.edit:19 of +msgid "This webhook does not have a token associated with it." +msgstr "" + #: discord.Webhook.edit:3 of msgid "Edits this Webhook." msgstr "" @@ -5246,16 +7036,21 @@ msgid "" "avatar." msgstr "" -#: discord.Webhook.edit:13 of +#: discord.Webhook.edit:12 of +msgid "" +"The reason for editing this webhook. Shows up on the audit log. .. " +"versionadded:: 1.4" +msgstr "" + +#: discord.Webhook.edit:12 of +msgid "The reason for editing this webhook. Shows up on the audit log." +msgstr "" + +#: discord.Webhook.edit:17 of #, fuzzy msgid "Editing the webhook failed." msgstr ":exc:`.HTTPException` -- Webhookの取得に失敗した。" -#: discord.Webhook.edit:15 of -#, fuzzy -msgid "You do not have permissions to edit this webhook." -msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" - #: discord.Webhook.send:3 of msgid "Sends a message using the webhook." msgstr "" @@ -5333,34 +7128,46 @@ msgid "" "mixed with the ``embed`` parameter." msgstr "" -#: discord.DMChannel.send:35 discord.GroupChannel.send:35 -#: discord.Member.send:35 discord.TextChannel.send:35 discord.User.send:35 -#: discord.Webhook.send:43 discord.abc.Messageable.send:35 of +#: discord.Message.edit:25 discord.Webhook.send:42 of +msgid "" +"Controls the mentions being processed in this message. .. versionadded::" +" 1.4" +msgstr "" + +#: discord.Message.edit:25 discord.Webhook.send:42 of +msgid "Controls the mentions being processed in this message." +msgstr "" + +#: discord.DMChannel.send:44 discord.GroupChannel.send:44 +#: discord.Member.send:44 discord.TextChannel.send:44 discord.User.send:44 +#: discord.Webhook.send:47 discord.abc.Messageable.send:44 of msgid "Sending the message failed." msgstr "" -#: discord.Webhook.send:44 of +#: discord.Webhook.send:48 of msgid "This webhook was not found." msgstr "" -#: discord.Webhook.send:45 of +#: discord.Webhook.send:49 of msgid "The authorization token for the webhook is incorrect." msgstr "" -#: discord.Webhook.send:46 of +#: discord.Webhook.send:50 of msgid "" "You specified both ``embed`` and ``embeds`` or the length of " -"``embeds`` was invalid." +"``embeds`` was invalid or there was no token associated with this " +"webhook." msgstr "" -#: discord.DMChannel.send:39 discord.GroupChannel.send:39 -#: discord.Member.send:39 discord.TextChannel.send:39 discord.User.send:39 -#: discord.Webhook.send:48 discord.abc.Messageable.send:39 of +#: discord.DMChannel.send:48 discord.GroupChannel.send:48 +#: discord.Member.send:48 discord.TextChannel.send:48 discord.User.send:48 +#: discord.Webhook.send:52 discord.abc.Messageable.send:48 of msgid "The message that was sent." msgstr "" -#: discord.RawMessageDeleteEvent:25 discord.RawMessageUpdateEvent:19 -#: discord.TextChannel.last_message:14 discord.Webhook.send:49 of +#: discord.MessageReference.cached_message:3 discord.RawMessageDeleteEvent:25 +#: discord.RawMessageUpdateEvent:27 discord.TextChannel.last_message:14 +#: discord.Webhook.send:53 of msgid "Optional[:class:`Message`]" msgstr "" @@ -5368,11 +7175,11 @@ msgstr "" msgid "An alias for :meth:`~.Webhook.send`." msgstr "" -#: ../../api.rst:1973 +#: ../../api.rst:2511 msgid "Adapters" msgstr "" -#: ../../api.rst:1975 +#: ../../api.rst:2513 msgid "" "Adapters allow you to change how the request should be handled. They all " "build on a single interface, :meth:`WebhookAdapter.request`." @@ -5386,10 +7193,6 @@ msgstr "" msgid "The webhook that owns this adapter." msgstr "" -#: discord.TextChannel.create_webhook:22 discord.WebhookAdapter:7 of -msgid ":class:`Webhook`" -msgstr "" - #: discord.AsyncWebhookAdapter.request:1 #: discord.RequestsWebhookAdapter.request:1 discord.WebhookAdapter.request:1 of msgid "Actually does the request." @@ -5484,11 +7287,11 @@ msgid "" "then this will raise an :exc:`HTTPException` instead." msgstr "" -#: ../../api.rst:1990 +#: ../../api.rst:2528 msgid "Abstract Base Classes" msgstr "抽象基底クラス" -#: ../../api.rst:1992 +#: ../../api.rst:2530 msgid "" "An :term:`py:abstract base class` (also known as an ``abc``) is a class " "that models can inherit to get their behaviour. The Python implementation" @@ -5498,7 +7301,7 @@ msgid "" ":func:`py:isinstance` and :func:`py:issubclass`\\." msgstr "" -#: ../../api.rst:1997 +#: ../../api.rst:2535 msgid "" "This library has a module related to abstract base classes, some of which" " are actually from the :doc:`abc ` standard module, " @@ -5515,7 +7318,13 @@ msgid "" "base class." msgstr "" -#: discord.abc.Snowflake:8 of +#: discord.abc.Snowflake:6 of +msgid "" +"If you want to create a snowflake on your own, consider using " +":class:`.Object`." +msgstr "" + +#: discord.abc.Snowflake:11 of msgid "The model's unique ID." msgstr "" @@ -5541,8 +7350,8 @@ msgstr ":class:`~discord.ClientUser`" msgid ":class:`~discord.Member`" msgstr "" -#: discord.abc.GuildChannel:9 discord.abc.Messageable:12 -#: discord.abc.PrivateChannel:8 discord.abc.User:9 of +#: discord.abc.GuildChannel:9 discord.abc.PrivateChannel:8 discord.abc.User:9 +#: of msgid "This ABC must also implement :class:`~discord.abc.Snowflake`." msgstr "" @@ -5562,8 +7371,9 @@ msgid "The avatar hash the user has." msgstr "ユーザーのハッシュ値を返します。" #: discord.abc.User:31 of +#, fuzzy msgid "If the user is a bot account." -msgstr "" +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.ClientUser.display_name:1 discord.Member.display_name:1 #: discord.User.display_name:1 discord.abc.User.display_name:1 of @@ -5727,6 +7537,22 @@ msgstr "" msgid "Optional[:class:`~discord.CategoryChannel`]" msgstr ":class:`~discord.User`" +#: discord.CategoryChannel.permissions_synced:1 +#: discord.TextChannel.permissions_synced:1 +#: discord.VoiceChannel.permissions_synced:1 +#: discord.abc.GuildChannel.permissions_synced:1 of +msgid "" +"Whether or not the permissions for this channel are synced with the " +"category it belongs to." +msgstr "" + +#: discord.CategoryChannel.permissions_synced:4 +#: discord.TextChannel.permissions_synced:4 +#: discord.VoiceChannel.permissions_synced:4 +#: discord.abc.GuildChannel.permissions_synced:4 of +msgid "If there is no category then this is ``False``." +msgstr "" + #: discord.CategoryChannel.permissions_for:1 #: discord.TextChannel.permissions_for:1 discord.VoiceChannel.permissions_for:1 #: discord.abc.GuildChannel.permissions_for:1 of @@ -5770,7 +7596,7 @@ msgstr "" msgid "The member to resolve permissions for." msgstr "" -#: discord.CategoryChannel.permissions_for:13 +#: discord.CategoryChannel.permissions_for:13 discord.Member.permissions_in:12 #: discord.TextChannel.permissions_for:13 #: discord.VoiceChannel.permissions_for:13 #: discord.abc.GuildChannel.permissions_for:13 of @@ -5896,52 +7722,54 @@ msgstr "" #: discord.TextChannel.set_permissions:40 #: discord.VoiceChannel.set_permissions:40 #: discord.abc.GuildChannel.set_permissions:40 of -msgid "The permissions to allow and deny to the target." +msgid "" +"The permissions to allow and deny to the target, or ``None`` to delete " +"the overwrite." msgstr "" -#: discord.CategoryChannel.set_permissions:42 -#: discord.TextChannel.set_permissions:42 -#: discord.VoiceChannel.set_permissions:42 -#: discord.abc.GuildChannel.set_permissions:42 of +#: discord.CategoryChannel.set_permissions:43 +#: discord.TextChannel.set_permissions:43 +#: discord.VoiceChannel.set_permissions:43 +#: discord.abc.GuildChannel.set_permissions:43 of msgid "" "A keyword argument list of permissions to set for ease of use. Cannot be " "mixed with ``overwrite``." msgstr "" -#: discord.CategoryChannel.set_permissions:44 discord.Guild.prune_members:16 +#: discord.CategoryChannel.set_permissions:45 discord.Guild.prune_members:21 #: discord.Guild.unban:12 discord.Member.move_to:16 -#: discord.TextChannel.set_permissions:44 -#: discord.VoiceChannel.set_permissions:44 -#: discord.abc.GuildChannel.set_permissions:44 of +#: discord.TextChannel.set_permissions:45 +#: discord.VoiceChannel.set_permissions:45 +#: discord.abc.GuildChannel.set_permissions:45 of msgid "The reason for doing this action. Shows up on the audit log." msgstr "" -#: discord.CategoryChannel.set_permissions:47 -#: discord.TextChannel.set_permissions:47 -#: discord.VoiceChannel.set_permissions:47 -#: discord.abc.GuildChannel.set_permissions:47 of -msgid "You do not have permissions to edit channel specific permissions." -msgstr "" - #: discord.CategoryChannel.set_permissions:48 #: discord.TextChannel.set_permissions:48 #: discord.VoiceChannel.set_permissions:48 #: discord.abc.GuildChannel.set_permissions:48 of -#, fuzzy -msgid "Editing channel specific permissions failed." -msgstr "権限を確認したいチャンネル。" +msgid "You do not have permissions to edit channel specific permissions." +msgstr "" #: discord.CategoryChannel.set_permissions:49 #: discord.TextChannel.set_permissions:49 #: discord.VoiceChannel.set_permissions:49 #: discord.abc.GuildChannel.set_permissions:49 of -msgid "The role or member being edited is not part of the guild." -msgstr "" +#, fuzzy +msgid "Editing channel specific permissions failed." +msgstr "権限を確認したいチャンネル。" #: discord.CategoryChannel.set_permissions:50 #: discord.TextChannel.set_permissions:50 #: discord.VoiceChannel.set_permissions:50 #: discord.abc.GuildChannel.set_permissions:50 of +msgid "The role or member being edited is not part of the guild." +msgstr "" + +#: discord.CategoryChannel.set_permissions:51 +#: discord.TextChannel.set_permissions:51 +#: discord.VoiceChannel.set_permissions:51 +#: discord.abc.GuildChannel.set_permissions:51 of msgid "" "The overwrite parameter invalid or the target type was not " ":class:`~discord.Role` or :class:`~discord.Member`." @@ -5954,32 +7782,57 @@ msgid "" "this channel." msgstr "" -#: discord.CategoryChannel.clone:8 discord.TextChannel.clone:8 -#: discord.VoiceChannel.clone:8 discord.abc.GuildChannel.clone:8 of +#: discord.CategoryChannel.clone:6 discord.TextChannel.clone:6 +#: discord.VoiceChannel.clone:6 discord.abc.GuildChannel.clone:6 of +#, fuzzy +msgid "" +"You must have the :attr:`~discord.Permissions.manage_channels` permission" +" to do this." +msgstr "これを行うには、関連付けられたGuildにて、 :attr:`~.Permissions.manage_channels` 権限が必要です。" + +#: discord.CategoryChannel.clone:11 discord.TextChannel.clone:11 +#: discord.VoiceChannel.clone:11 discord.abc.GuildChannel.clone:11 of msgid "" "The name of the new channel. If not provided, defaults to this channel " "name." msgstr "" -#: discord.CategoryChannel.clone:11 discord.TextChannel.clone:11 -#: discord.VoiceChannel.clone:11 discord.abc.GuildChannel.clone:11 of +#: discord.CategoryChannel.clone:14 discord.TextChannel.clone:14 +#: discord.VoiceChannel.clone:14 discord.abc.GuildChannel.clone:14 of msgid "The reason for cloning this channel. Shows up on the audit log." msgstr "" -#: discord.CategoryChannel.clone:14 discord.Guild.create_text_channel:60 -#: discord.TextChannel.clone:14 discord.VoiceChannel.clone:14 -#: discord.abc.GuildChannel.clone:14 of +#: discord.CategoryChannel.clone:17 discord.Guild.create_category:10 +#: discord.Guild.create_category_channel:10 +#: discord.Guild.create_text_channel:60 discord.Guild.create_voice_channel:11 +#: discord.TextChannel.clone:17 discord.VoiceChannel.clone:17 +#: discord.abc.GuildChannel.clone:17 of #, fuzzy msgid "You do not have the proper permissions to create this channel." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.CategoryChannel.clone:15 discord.Guild.create_text_channel:61 -#: discord.TextChannel.clone:15 discord.VoiceChannel.clone:15 -#: discord.abc.GuildChannel.clone:15 of +#: discord.CategoryChannel.clone:18 discord.Guild.create_category:11 +#: discord.Guild.create_category_channel:11 +#: discord.Guild.create_text_channel:61 discord.Guild.create_voice_channel:12 +#: discord.TextChannel.clone:18 discord.VoiceChannel.clone:18 +#: discord.abc.GuildChannel.clone:18 of #, fuzzy msgid "Creating the channel failed." msgstr ":exc:`.HTTPException` -- チャンネルの取得に失敗した。" +#: discord.CategoryChannel.clone:20 discord.Member.create_dm:6 +#: discord.TextChannel.clone:20 discord.User.create_dm:6 +#: discord.VoiceChannel.clone:20 discord.abc.GuildChannel.clone:20 of +#, fuzzy +msgid "The channel that was created." +msgstr "チャンネルが作成されました。" + +#: discord.CategoryChannel.clone:21 discord.TextChannel.clone:21 +#: discord.VoiceChannel.clone:21 discord.abc.GuildChannel.clone:21 of +#, fuzzy +msgid ":class:`.abc.GuildChannel`" +msgstr ":class:`.Guild`" + #: discord.CategoryChannel.create_invite:3 discord.TextChannel.create_invite:3 #: discord.VoiceChannel.create_invite:3 #: discord.abc.GuildChannel.create_invite:3 of @@ -5999,8 +7852,8 @@ msgstr "これを行うためには、そのチャンネルの :attr:`~.Permissi #: 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 in seconds. If it's 0 then the invite " +"doesn't expire. Defaults to ``0``." msgstr "" #: discord.CategoryChannel.create_invite:11 @@ -6008,7 +7861,7 @@ msgstr "" #: discord.abc.GuildChannel.create_invite:11 of msgid "" "How many uses the invite could be used for. If it's 0 then there are " -"unlimited uses. Defaults to 0." +"unlimited uses. Defaults to ``0``." msgstr "" #: discord.CategoryChannel.create_invite:14 @@ -6036,14 +7889,9 @@ msgstr "" #: discord.CategoryChannel.create_invite:24 #: discord.TextChannel.create_invite:24 discord.VoiceChannel.create_invite:24 #: discord.abc.GuildChannel.create_invite:24 of +#, fuzzy msgid "Invite creation failed." -msgstr "" - -#: discord.CategoryChannel.create_invite:26 -#: discord.TextChannel.create_invite:26 discord.VoiceChannel.create_invite:26 -#: discord.abc.GuildChannel.create_invite:26 of -msgid "The invite that was created." -msgstr "" +msgstr "招待の作成。" #: discord.CategoryChannel.create_invite:27 #: discord.TextChannel.create_invite:27 discord.VoiceChannel.create_invite:27 @@ -6280,26 +8128,52 @@ msgid "" "silently ignored." msgstr "" -#: discord.DMChannel.send:36 discord.GroupChannel.send:36 -#: discord.Member.send:36 discord.TextChannel.send:36 discord.User.send:36 -#: discord.abc.Messageable.send:36 of +#: discord.DMChannel.send:34 discord.GroupChannel.send:34 +#: discord.Member.send:34 discord.TextChannel.send:34 discord.User.send:34 +#: discord.abc.Messageable.send:34 of +msgid "" +"Controls the mentions being processed in this message. If this is passed," +" then the object is merged with :attr:`~discord.Client.allowed_mentions`." +" The merging behaviour only overrides attributes that have been " +"explicitly passed to the object, otherwise it uses the attributes set in " +":attr:`~discord.Client.allowed_mentions`. If no object is passed at all " +"then the defaults given by :attr:`~discord.Client.allowed_mentions` are " +"used instead. .. versionadded:: 1.4" +msgstr "" + +#: discord.DMChannel.send:34 discord.GroupChannel.send:34 +#: discord.Member.send:34 discord.TextChannel.send:34 discord.User.send:34 +#: discord.abc.Messageable.send:34 of +msgid "" +"Controls the mentions being processed in this message. If this is passed," +" then the object is merged with :attr:`~discord.Client.allowed_mentions`." +" The merging behaviour only overrides attributes that have been " +"explicitly passed to the object, otherwise it uses the attributes set in " +":attr:`~discord.Client.allowed_mentions`. If no object is passed at all " +"then the defaults given by :attr:`~discord.Client.allowed_mentions` are " +"used instead." +msgstr "" + +#: discord.DMChannel.send:45 discord.GroupChannel.send:45 +#: discord.Member.send:45 discord.TextChannel.send:45 discord.User.send:45 +#: discord.abc.Messageable.send:45 of msgid "You do not have the proper permissions to send the message." msgstr "" -#: discord.DMChannel.send:37 discord.GroupChannel.send:37 -#: discord.Member.send:37 discord.TextChannel.send:37 discord.User.send:37 -#: discord.abc.Messageable.send:37 of +#: discord.DMChannel.send:46 discord.GroupChannel.send:46 +#: discord.Member.send:46 discord.TextChannel.send:46 discord.User.send:46 +#: discord.abc.Messageable.send:46 of msgid "" "The ``files`` list is not of the appropriate size or you specified " "both ``file`` and ``files``." msgstr "" -#: discord.DMChannel.fetch_message:15 discord.DMChannel.send:40 -#: discord.GroupChannel.fetch_message:15 discord.GroupChannel.send:40 -#: discord.Member.fetch_message:15 discord.Member.send:40 -#: discord.TextChannel.fetch_message:15 discord.TextChannel.send:40 -#: discord.User.fetch_message:15 discord.User.send:40 -#: discord.abc.Messageable.fetch_message:15 discord.abc.Messageable.send:40 of +#: discord.DMChannel.fetch_message:15 discord.DMChannel.send:49 +#: discord.GroupChannel.fetch_message:15 discord.GroupChannel.send:49 +#: discord.Member.fetch_message:15 discord.Member.send:49 +#: discord.TextChannel.fetch_message:15 discord.TextChannel.send:49 +#: discord.User.fetch_message:15 discord.User.send:49 +#: discord.abc.Messageable.fetch_message:15 discord.abc.Messageable.send:49 of msgid ":class:`~discord.Message`" msgstr "" @@ -6398,23 +8272,23 @@ msgid "" "to a voice server." msgstr "" -#: ../../api.rst:2027 +#: ../../api.rst:2565 msgid "Discord Models" msgstr "Discordモデル" -#: ../../api.rst:2029 +#: ../../api.rst:2567 msgid "" "Models are classes that are received from Discord and are not meant to be" " created by the user of the library." msgstr "モデルはDiscordから受け取るクラスであり、ユーザーによって作成されることを想定していません。" -#: ../../api.rst:2034 +#: ../../api.rst:2572 msgid "" "The classes listed below are **not intended to be created by users** and " "are also **read-only**." msgstr "下記のクラスは、 **ユーザーによって作成されることを想定しておらず** 、中には **読み取り専用** のものもあります。" -#: ../../api.rst:2037 +#: ../../api.rst:2575 msgid "" "For example, this means that you should not make your own :class:`User` " "instances nor should you modify the :class:`User` instance yourself." @@ -6422,7 +8296,7 @@ msgstr "" "つまり、独自の :class:`User` を作成は行うべきではなく、また、 :class:`User` " "インスタンスの値の変更もするべきではありません。" -#: ../../api.rst:2040 +#: ../../api.rst:2578 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 " @@ -6433,13 +8307,13 @@ msgstr "" ":func:`utils.find` 関数を用いるか、 :ref:`discord-api-events` " "の特定のイベントから受け取る方法が挙げられます。" -#: ../../api.rst:2047 ../../api.rst:2306 +#: ../../api.rst:2585 ../../api.rst:2870 msgid "" "Nearly all classes here have :ref:`py:slots` defined which means that it " "is impossible to have dynamic attributes to the data classes." msgstr "ほぼすべてのクラスに :ref:`py:slots` が定義されています。つまり、データクラスに動的に変数を追加することは不可能です。" -#: ../../api.rst:2052 +#: ../../api.rst:2590 msgid "ClientUser" msgstr "ClientUser" @@ -6473,81 +8347,76 @@ msgstr ":class:`int` -- ユーザーの一意のID。" msgid "The user's discriminator. This is given when the username has conflicts." msgstr ":class:`str` -- ユーザーの識別子。これはユーザー名が重複しているときに与えられます。" -#: discord.ClientUser:41 discord.User:41 of +#: discord.ClientUser:41 of #, fuzzy -msgid "The avatar hash the user has. Could be None." +msgid "The avatar hash the user has. Could be ``None``." msgstr "Optional[:class:`str`] -- ユーザーのアバターハッシュ。 Noneが返る場合もあります。" -#: discord.ClientUser:47 discord.User:47 of +#: discord.ClientUser:53 discord.User:53 of #, fuzzy -msgid "Specifies if the user is a bot account." -msgstr "二つのユーザーが等しいものではないか比較します。" +msgid "" +"Specifies if the user is a system user (i.e. represents Discord " +"officially)." +msgstr ":class:`bool` -- ユーザーがプレミアムユーザー (例えば Discord Nitro) であるかを表します。" -#: discord.ClientUser:53 of +#: discord.ClientUser:61 of +#, fuzzy msgid "Specifies if the user is a verified account." -msgstr "" +msgstr ":class:`bool` -- ユーザーが認証済みアカウントであるかを表します。" -#: discord.ClientUser:59 of +#: discord.ClientUser:67 of +#, fuzzy msgid "The email the user used when registering." -msgstr "" +msgstr "Optional[:class:`str`] -- ユーザーが登録時に使用したEメールアドレス。" -#: discord.ClientUser:65 of +#: discord.ClientUser:73 of +#, fuzzy msgid "The IETF language tag used to identify the language the user is using." -msgstr "" +msgstr "Optional[:class:`str`] -- ユーザーが使用している言語を識別するためのIETF言語タグ。" -#: discord.ClientUser:71 of +#: discord.ClientUser:79 of +#, fuzzy msgid "Specifies if the user has MFA turned on and working." -msgstr "" +msgstr ":class:`bool` -- ユーザーが二段階認証を行っているかを表します。" -#: discord.ClientUser:77 of +#: discord.ClientUser:85 of #, fuzzy msgid "Specifies if the user is a premium user (e.g. has Discord Nitro)." -msgstr "このユーザーがプレミアム(つまり: Discord Nitro)を持っているかを示す真偽値。" +msgstr ":class:`bool` -- ユーザーがプレミアムユーザー (例えば Discord Nitro) であるかを表します。" -#: discord.ClientUser:83 of +#: discord.ClientUser:91 of +#, fuzzy msgid "" "Specifies the type of premium a user has (e.g. Nitro or Nitro Classic). " "Could be None if the user is not premium." msgstr "" +":class:`PremiumType` -- ユーザーのプレミアムの種類 (例えばNitroやNitro Classic) " +"を表します。ユーザーがプレミアムでない場合、Noneが返ります。" -#: discord.ClientUser:85 of -#, fuzzy -msgid ":class:`PremiumType`" -msgstr ":class:`.Invite`" +#: discord.ClientUser:93 of +msgid "Optional[:class:`PremiumType`]" +msgstr "" #: discord.ClientUser.get_relationship:1 of msgid "Retrieves the :class:`Relationship` if applicable." msgstr "該当すれば :class:`Relationship` が返ります。" -#: discord.ClientUser.blocked:5 discord.ClientUser.create_group:9 -#: discord.ClientUser.edit_settings:7 discord.ClientUser.friends:5 -#: discord.ClientUser.get_relationship:5 discord.ClientUser.relationships:5 -#: discord.Member.block:7 discord.Member.is_blocked:5 -#: discord.Member.is_friend:5 discord.Member.mutual_friends:7 -#: discord.Member.profile:7 discord.Member.remove_friend:7 -#: discord.Member.send_friend_request:7 discord.Member.unblock:7 -#: discord.User.block:7 discord.User.is_blocked:5 discord.User.is_friend:5 -#: discord.User.mutual_friends:7 discord.User.profile:7 -#: discord.User.relationship:5 discord.User.remove_friend:7 -#: discord.User.send_friend_request:7 discord.User.unblock:7 of -msgid "This can only be used by non-bot accounts." -msgstr "" - #: discord.ClientUser.get_relationship:7 of msgid "The user ID to check if we have a relationship with them." msgstr "リレーションシップがあるか確認したいユーザーのID。" #: discord.ClientUser.get_relationship:10 of msgid "The relationship if available or ``None``." -msgstr "" +msgstr "該当すればリレーションシップが返り、それ以外は ``None`` が返ります。" -#: discord.ClientUser.get_relationship:11 of +#: discord.ClientUser.get_relationship:11 discord.User.relationship:7 of msgid "Optional[:class:`Relationship`]" msgstr "" #: discord.ClientUser.relationships:1 of +#, fuzzy msgid "Returns all the relationships that the user has." -msgstr "" +msgstr "List[:class:`User`] -- ユーザーが持つすべてのリレーションシップを返します。" #: discord.CallMessage:16 discord.ClientUser.blocked:7 #: discord.ClientUser.friends:7 discord.ClientUser.relationships:7 @@ -6557,22 +8426,24 @@ msgid "List[:class:`User`]" msgstr "" #: discord.ClientUser.friends:1 of +#, fuzzy msgid "Returns all the users that the user is friends with." -msgstr "" +msgstr "List[:class:`User`] -- ユーザーのフレンドであるすべてのユーザーを返します。" #: discord.ClientUser.blocked:1 of +#, fuzzy msgid "Returns all the users that the user has blocked." -msgstr "" +msgstr "List[:class:`User`] -- ユーザーがブロックしているすべてのユーザーを返します。" #: discord.ClientUser.edit:3 of msgid "Edits the current profile of the client." -msgstr "" +msgstr "現在のクライアントのプロフィールを編集します。" #: discord.ClientUser.edit:5 of msgid "" "If a bot account is used then a password field is optional, otherwise it " "is required." -msgstr "" +msgstr "Botアカウントである場合はpasswordフィールドはオプションとなります。それ以外の場合は必須です。" #: discord.ClientUser.edit:10 of msgid "" @@ -6581,6 +8452,9 @@ msgid "" "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 "" +"アバターをアップロードする際には、アップロードする画像を表す :term:`py:bytes-like object` " +"を渡す必要があります。これをファイルを介して行う場合、ファイルを ``open('some_filename', 'rb')`` で開き、 " +":term:`py:bytes-like object` は ``fp.read()`` で取得できます。" #: discord.ClientUser.edit:15 of msgid "The only image formats supported for uploading is JPEG and PNG." @@ -6590,45 +8464,54 @@ msgstr "" msgid "" "The current password for the client's account. Only applicable to user " "accounts." -msgstr "" +msgstr "クライアントの現在のパスワード。ユーザーアカウントでのみ適用可能です。" #: discord.ClientUser.edit:20 of msgid "The new password you wish to change to. Only applicable to user accounts." -msgstr "" +msgstr "変更する際の新しいパスワード。ユーザーアカウントでのみ適用可能です。" #: discord.ClientUser.edit:23 of msgid "The new email you wish to change to. Only applicable to user accounts." -msgstr "" +msgstr "変更する際の新しいEメールアドレス。ユーザーアカウントでのみ適用可能です。" #: 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." msgstr "" +"変更する際の新しいHypesquad house。現在のhouseから脱退したい場合は ``None`` " +"を指定してください。ユーザアカウントでのみ適用可能です。" #: discord.ClientUser.edit:30 of msgid "The new username you wish to change to." -msgstr "" +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." msgstr "" +"アップロードする画像を表す :term:`py:bytes-like object` 。アバターをなしにしたい場合は ``None`` " +"を設定することが出来ます。" #: discord.ClientUser.edit:36 of +#, fuzzy msgid "Editing your profile failed." -msgstr "" +msgstr ":exc:`HTTPException` -- プロフィールの編集に失敗した。" #: discord.ClientUser.edit:37 of +#, fuzzy msgid "Wrong image format passed for ``avatar``." -msgstr "" +msgstr ":exc:`InvalidArgument` -- ``avatar`` に誤った形式の画像が渡された。" #: discord.ClientUser.edit:38 of +#, fuzzy msgid "" "Password is required for non-bot accounts. House field was not a " "HypeSquadHouse." msgstr "" +":exc:`ClientException` -- Botではないアカウントでpasswordが指定されていない。 " +"HouseフィールドがHypeSquadHouseでない。" #: discord.ClientUser.create_group:3 of msgid "" @@ -6636,14 +8519,17 @@ msgid "" "recipients must be have a relationship of type " ":attr:`RelationshipType.friend`." msgstr "" +"与えられたrecipientsを含むグループダイレクトメッセージを作成します。これを実行するにはrecipientsとの間に " +":attr:`RelationshipType.friend` のリレーションシップを持っていなければなりません。" #: discord.ClientUser.create_group:11 of msgid "An argument :class:`list` of :class:`User` to have in your group." -msgstr "" +msgstr "グループに参加させたい :class:`User` の :class:`list` 。" #: discord.ClientUser.create_group:15 of +#, fuzzy msgid "Failed to create the group direct message." -msgstr "" +msgstr ":exc:`HTTPException` -- グループダイレクトメッセージの作成に失敗した。" #: discord.ClientUser.create_group:16 of msgid "" @@ -6653,7 +8539,7 @@ msgstr "" #: discord.ClientUser.create_group:18 of msgid "The new group channel." -msgstr "" +msgstr "新しいグループチャンネル。" #: discord.ClientUser.create_group:19 of msgid ":class:`GroupChannel`" @@ -6661,7 +8547,7 @@ msgstr "" #: discord.ClientUser.edit_settings:3 of msgid "Edits the client user's settings." -msgstr "" +msgstr "クライアントユーザーの設定を変更します。" #: discord.ClientUser.edit_settings:9 of msgid "" @@ -6768,20 +8654,22 @@ msgid "The timezone offset to use." msgstr "" #: discord.ClientUser.edit_settings:62 of +#, fuzzy msgid "Editing the settings failed." -msgstr "" +msgstr ":exc:`HTTPException` -- 設定の編集に失敗した。" #: discord.ClientUser.edit_settings:63 of +#, fuzzy msgid "The client is a bot user and not a user account." -msgstr "" +msgstr ":exc:`Forbidden` -- クライアントがBotユーザーであり、ユーザーアカウントでない。" #: discord.ClientUser.edit_settings:65 of msgid "The client user's updated settings." -msgstr "" +msgstr "クライアントユーザーの更新された設定。" #: discord.Activity:57 discord.Activity:69 discord.Activity:78 -#: discord.ClientUser.edit_settings:66 discord.RawMessageUpdateEvent:13 -#: discord.Streaming:46 of +#: discord.ClientUser.edit_settings:66 discord.RawMessageUpdateEvent:21 +#: discord.Streaming:61 of msgid ":class:`dict`" msgstr "" @@ -6852,17 +8740,9 @@ msgstr "" #: discord.ClientUser.color:4 discord.Member.color:5 discord.User.color:4 #: discord.WidgetMember.color:4 of -msgid "There is an alias for this named :meth:`colour`." +msgid "There is an alias for this named :attr:`colour`." msgstr "" -#: discord.ClientUser.color:6 discord.ClientUser.colour:6 -#: discord.Member.color:7 discord.Member.colour:7 discord.Role:65 -#: discord.User.color:6 discord.User.colour:6 discord.WidgetMember.color:6 -#: discord.WidgetMember.colour:6 of -#, fuzzy -msgid ":class:`Colour`" -msgstr ":class:`bool`" - #: discord.ClientUser.colour:1 discord.User.colour:1 #: discord.WidgetMember.colour:1 of msgid "" @@ -6872,7 +8752,7 @@ msgstr "" #: discord.ClientUser.colour:4 discord.Member.colour:5 discord.User.colour:4 #: discord.WidgetMember.colour:4 of -msgid "There is an alias for this named :meth:`color`." +msgid "There is an alias for this named :attr:`color`." msgstr "" #: discord.ClientUser.created_at:1 discord.User.created_at:1 @@ -6883,7 +8763,8 @@ msgstr "ユーザー名とディスクリミネータを返します。" #: discord.ClientUser.created_at:3 discord.User.created_at:3 #: discord.WidgetMember.created_at:3 of -msgid "This is when the user's discord account was created." +#, fuzzy +msgid "This is when the user's Discord account was created." msgstr "これはユーザーのDiscordアカウントが作成された時間です。" #: discord.ClientUser.default_avatar:1 discord.User.default_avatar:1 @@ -6895,13 +8776,9 @@ msgstr "" #: discord.ClientUser.default_avatar:3 discord.User.default_avatar:3 #: discord.WidgetMember.default_avatar:3 of -msgid "class" -msgstr "" - -#: discord.ClientUser.default_avatar:5 discord.User.default_avatar:5 -#: discord.WidgetMember.default_avatar:5 of -msgid "`DefaultAvatar`" -msgstr "" +#, fuzzy +msgid ":class:`DefaultAvatar`" +msgstr ":class:`str`" #: discord.ClientUser.default_avatar_url:1 discord.User.default_avatar_url:1 #: discord.WidgetMember.default_avatar_url:1 of @@ -6918,8 +8795,9 @@ msgstr "通常であれば、これはユーザー名がそのまま返ります #: discord.ClientUser.is_avatar_animated:1 discord.Member.is_avatar_animated:1 #: discord.User.is_avatar_animated:1 discord.WidgetMember.is_avatar_animated:1 #: of -msgid "Indicates if the user has an animated avatar." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Indicates if the user has an animated avatar." +msgstr ":class:`bool` -- ユーザーが認証済みアカウントであるかを表します。" #: discord.ClientUser.mentioned_in:1 discord.User.mentioned_in:1 #: discord.WidgetMember.mentioned_in:1 of @@ -6931,6 +8809,12 @@ msgstr "指定のメッセージにユーザーに対するメンションが含 msgid "The message to check if you're mentioned in." msgstr "メンションが含まれているかを確認するメッセージ。" +#: discord.ClientUser.mentioned_in:6 discord.User.mentioned_in:6 +#: discord.WidgetMember.mentioned_in:6 of +#, fuzzy +msgid "Indicates if the user is mentioned in the message." +msgstr "指定のメッセージにユーザーに対するメンションが含まれているかを確認します。" + #: discord.ClientUser.permissions_in:1 discord.Member.permissions_in:1 #: discord.User.permissions_in:1 discord.WidgetMember.permissions_in:1 of msgid "An alias for :meth:`abc.GuildChannel.permissions_for`." @@ -6946,7 +8830,18 @@ msgstr "基本的には以下と同等です:" msgid "The channel to check your permissions for." msgstr "権限を確認したいチャンネル。" -#: ../../api.rst:2059 +#: discord.ClientUser.public_flags:1 discord.User.public_flags:1 +#: discord.WidgetMember.public_flags:1 of +msgid "The publicly available flags the user has." +msgstr "" + +#: discord.ClientUser.public_flags:3 discord.User.public_flags:3 +#: discord.WidgetMember.public_flags:3 of +#, fuzzy +msgid ":class:`PublicUserFlags`" +msgstr ":class:`bytes`" + +#: ../../api.rst:2597 msgid "Relationship" msgstr "" @@ -6988,10 +8883,11 @@ msgid "Accepts the relationship request. e.g. accepting a friend request." msgstr "" #: discord.Relationship.accept:6 of +#, fuzzy msgid "Accepting the relationship failed." -msgstr "" +msgstr ":exc:`HTTPException` -- 設定の編集に失敗した。" -#: ../../api.rst:2065 +#: ../../api.rst:2603 msgid "User" msgstr "" @@ -6999,6 +8895,11 @@ msgstr "" msgid "Represents a Discord user." msgstr "" +#: discord.User:41 of +#, fuzzy +msgid "The avatar hash the user has. Could be None." +msgstr "Optional[:class:`str`] -- ユーザーのアバターハッシュ。 Noneが返る場合もあります。" + #: discord.User.dm_channel:1 of msgid "Returns the channel associated with this user if it exists." msgstr "" @@ -7023,6 +8924,11 @@ msgid "" "people." msgstr "" +#: discord.Member.create_dm:7 discord.User.create_dm:7 of +#, fuzzy +msgid ":class:`.DMChannel`" +msgstr ":class:`.Widget`" + #: discord.User.relationship:1 of msgid "" "Returns the :class:`Relationship` with this user if applicable, ``None`` " @@ -7046,12 +8952,14 @@ msgid "The users that are mutual friends." msgstr "" #: discord.Member.is_friend:1 discord.User.is_friend:1 of -msgid "Checks if the user is your friend." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if the user is your friend." +msgstr ":class:`bool` -- ユーザーが認証済みアカウントであるかを表します。" #: discord.Member.is_blocked:1 discord.User.is_blocked:1 of -msgid "Checks if the user is blocked." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if the user is blocked." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.Member.block:3 discord.User.block:3 of msgid "Blocks the user." @@ -7113,7 +9021,7 @@ msgstr "" msgid ":class:`Profile`" msgstr "" -#: ../../api.rst:2079 +#: ../../api.rst:2617 msgid "Attachment" msgstr "" @@ -7130,11 +9038,11 @@ msgid "The attachment size in bytes." msgstr "" #: discord.Attachment:17 of -msgid "The attachment's height, in pixels. Only applicable to images." +msgid "The attachment's height, in pixels. Only applicable to images and videos." msgstr "" #: discord.Attachment:23 of -msgid "The attachment's width, in pixels. Only applicable to images." +msgid "The attachment's width, in pixels. Only applicable to images and videos." msgstr "" #: discord.Attachment:29 of @@ -7175,7 +9083,8 @@ msgid "" " done." msgstr "" -#: discord.Attachment.read:7 discord.Attachment.save:12 of +#: discord.Attachment.read:7 discord.Attachment.save:12 +#: discord.Attachment.to_file:8 of msgid "" "Whether to use :attr:`proxy_url` rather than :attr:`url` when downloading" " the attachment. This will allow attachments to be saved after deletion " @@ -7189,9 +9098,11 @@ msgstr "" msgid "Saving the attachment failed." msgstr "" -#: discord.Attachment.read:17 discord.Attachment.save:21 of +#: discord.Attachment.read:17 discord.Attachment.save:21 +#: discord.Attachment.to_file:24 of +#, fuzzy msgid "The attachment was deleted." -msgstr "" +msgstr "チャンネルの削除。" #: discord.Asset.save:14 discord.Attachment.save:23 of msgid "The number of bytes written." @@ -7201,11 +9112,11 @@ msgstr "" msgid "Retrieves the content of this attachment as a :class:`bytes` object." msgstr "" -#: discord.Attachment.read:15 of +#: discord.Attachment.read:15 discord.Attachment.to_file:22 of msgid "Downloading the attachment failed." msgstr "" -#: discord.Attachment.read:16 of +#: discord.Attachment.read:16 discord.Attachment.to_file:23 of #, fuzzy msgid "You do not have permissions to access this attachment" msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" @@ -7214,7 +9125,40 @@ msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がな msgid "The contents of the attachment." msgstr "" -#: ../../api.rst:2085 +#: discord.Attachment.to_file:3 of +msgid "" +"Converts the attachment into a :class:`File` suitable for sending via " +":meth:`abc.Messageable.send`." +msgstr "" + +#: discord.Attachment.to_file:8 of +msgid "" +"Whether to use :attr:`proxy_url` rather than :attr:`url` when downloading" +" the attachment. This will allow attachments to be saved after deletion " +"more often, compared to the regular URL which is generally deleted right " +"after the message is deleted. Note that this can still fail to download " +"deleted attachments if too much time has passed and it does not work on " +"some types of attachments. .. versionadded:: 1.4" +msgstr "" + +#: discord.Attachment.to_file:17 of +msgid "Whether the file is a spoiler. .. versionadded:: 1.4" +msgstr "" + +#: discord.Attachment.to_file:17 of +msgid "Whether the file is a spoiler." +msgstr "" + +#: discord.Attachment.to_file:26 of +msgid "The attachment as a file suitable for sending." +msgstr "" + +#: discord.Attachment.to_file:27 of +#, fuzzy +msgid ":class:`File`" +msgstr ":class:`.Profile`" + +#: ../../api.rst:2623 msgid "Asset" msgstr "" @@ -7257,25 +9201,20 @@ msgid "" " e.g. a guild with no custom icon." msgstr "" -#: discord.Asset.read:13 discord.Asset.read:15 discord.Asset.save:5 -#: discord.Asset.save:7 of -msgid "Same as in :meth:`Attachment.save`." -msgstr "" - -#: discord.Asset.read:18 discord.Asset.save:10 of +#: discord.Asset.read:13 discord.Asset.save:10 of msgid "There was no valid URL or internal connection state." msgstr "" -#: discord.Asset.read:19 discord.Asset.save:11 of +#: discord.Asset.read:14 discord.Asset.save:11 of msgid "Downloading the asset failed." msgstr "" -#: discord.Asset.read:20 discord.Asset.save:12 of +#: discord.Asset.read:15 discord.Asset.save:12 of #, fuzzy msgid "The asset was deleted." -msgstr "削除されたメッセージのリスト。" +msgstr "役職の削除。" -#: discord.Asset.read:22 of +#: discord.Asset.read:17 of msgid "The content of the asset." msgstr "" @@ -7283,7 +9222,11 @@ msgstr "" msgid "Saves this asset into a file-like object." msgstr "" -#: ../../api.rst:2091 +#: discord.Asset.save:5 discord.Asset.save:7 of +msgid "Same as in :meth:`Attachment.save`." +msgstr "" + +#: ../../api.rst:2629 msgid "Message" msgstr "" @@ -7362,10 +9305,21 @@ msgid "Optional[:class:`CallMessage`]" msgstr "" #: discord.Message:60 of +msgid "" +"The message that this message references. This is only applicable to " +"messages of type :attr:`MessageType.pins_add` or crossposted messages " +"created by a followed channel integration." +msgstr "" + +#: discord.Message:66 of +msgid "Optional[:class:`MessageReference`]" +msgstr "" + +#: discord.Message:70 of msgid "Specifies if the message mentions everyone." msgstr "" -#: discord.Message:64 of +#: discord.Message:74 of msgid "" "This does not check if the ``@everyone`` or the ``@here`` text is in the " "message itself. Rather this boolean indicates if either the ``@everyone``" @@ -7373,7 +9327,7 @@ msgid "" "mentioning." msgstr "" -#: discord.Message:72 of +#: discord.Message:82 of msgid "" "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 " @@ -7382,123 +9336,135 @@ msgid "" ":attr:`system_content`." msgstr "" -#: discord.Message:79 of +#: discord.Message:89 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." msgstr "" -#: discord.Message:82 of +#: discord.Message:92 of #, fuzzy msgid "List[:class:`abc.User`]" msgstr ":class:`str`" -#: discord.Message:86 of +#: discord.Message:96 of msgid "" "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.CategoryChannel.channels:5 discord.Guild.channels:3 -#: discord.Guild.fetch_channels:15 discord.Message:89 of +#: discord.Guild.fetch_channels:15 discord.Message:99 of msgid "List[:class:`abc.GuildChannel`]" msgstr "" -#: discord.Message:93 of +#: discord.Message:103 of msgid "" "A list of :class:`Role` that were mentioned. If the message is in a " "private message then the list is always empty." msgstr "" -#: discord.Emoji.roles:5 discord.Member.roles:7 discord.Message:96 of +#: discord.Emoji.roles:5 discord.Guild.edit_role_positions:32 +#: discord.Guild.fetch_roles:14 discord.Guild.roles:6 discord.Member.roles:7 +#: discord.Message:106 of #, fuzzy msgid "List[:class:`Role`]" msgstr ":class:`.Profile`" -#: discord.Message:100 of +#: discord.Message:110 of #, fuzzy msgid "The message ID." msgstr "削除されたメッセージ。" -#: discord.Message:106 of +#: discord.Message:116 of msgid "" "If this message was sent by a webhook, then this is the webhook ID's that" " sent this message." msgstr "" -#: discord.Message:113 of +#: discord.Message:123 of msgid "A list of attachments given to a message." msgstr "" -#: discord.Message:115 of +#: discord.Message:125 of msgid "List[:class:`Attachment`]" msgstr "" -#: discord.Message:119 of +#: discord.Message:129 of msgid "Specifies if the message is currently pinned." msgstr "" -#: discord.Message:125 of +#: discord.Message:135 of +#, fuzzy +msgid "Extra features of the message." +msgstr "更新後のメッセージ。" + +#: discord.Message:139 of +#, fuzzy +msgid ":class:`MessageFlags`" +msgstr ":class:`bytes`" + +#: discord.Message:143 of msgid "" "Reactions to a message. Reactions can be either custom emoji or standard " "unicode emoji." msgstr "" -#: discord.Message:127 of +#: discord.Message:145 of msgid "List[:class:`Reaction`]" msgstr "" -#: discord.Message:131 of +#: discord.Message:149 of msgid "" "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:134 of +#: discord.Message:152 of msgid "It is a dictionary with the following optional keys:" msgstr "" -#: discord.Message:136 of +#: discord.Message:154 of msgid "" "``type``: An integer denoting the type of message activity being " "requested." msgstr "" -#: discord.Message:137 of +#: discord.Message:155 of msgid "``party_id``: The party ID associated with the party." msgstr "" -#: discord.Message:139 discord.Message:153 of +#: discord.Message:157 discord.Message:171 of msgid "Optional[:class:`dict`]" msgstr "" -#: discord.Message:143 of +#: discord.Message:161 of msgid "The rich presence enabled application associated with this message." msgstr "" -#: discord.Message:145 of +#: discord.Message:163 of msgid "It is a dictionary with the following keys:" msgstr "" -#: discord.Message:147 of +#: discord.Message:165 of msgid "``id``: A string representing the application's ID." msgstr "" -#: discord.Message:148 of +#: discord.Message:166 of msgid "``name``: A string representing the application's name." msgstr "" -#: discord.Message:149 of +#: discord.Message:167 of msgid "``description``: A string representing the application's description." msgstr "" -#: discord.Message:150 of +#: discord.Message:168 of msgid "``icon``: A string representing the icon ID of the application." msgstr "" -#: discord.Message:151 of +#: discord.Message:169 of msgid "``cover_image``: A string representing the embed's image asset ID." msgstr "" @@ -7561,9 +9527,10 @@ msgstr "" msgid "A naive UTC datetime object containing the edited time of the message." msgstr "" -#: discord.Activity.end:3 discord.Activity.start:3 discord.CallMessage:10 -#: discord.Game.end:3 discord.Game.start:3 discord.Member:30 discord.Member:55 -#: discord.Message.edited_at:3 of +#: discord.Activity.end:3 discord.Activity.start:3 +#: discord.BaseActivity.created_at:5 discord.CallMessage:10 discord.Game.end:3 +#: discord.Game.start:3 discord.Member:30 discord.Member:55 +#: discord.Message.edited_at:3 discord.Spotify.created_at:5 of msgid "Optional[:class:`datetime.datetime`]" msgstr "" @@ -7571,6 +9538,10 @@ msgstr "" msgid "Returns a URL that allows the client to jump to this message." msgstr "" +#: discord.Message.is_system:1 of +msgid ":class:`bool`: Whether the message is a system message." +msgstr "" + #: discord.Message.system_content:1 of msgid "" "A property that returns the content that is rendered regardless of the " @@ -7602,7 +9573,7 @@ msgstr "" #: discord.Message.delete:12 of msgid "" "If provided, the number of seconds to wait in the background before " -"deleting the message." +"deleting the message. If the deletion fails then it is silently ignored." msgstr "" #: discord.Message.delete:16 of @@ -7611,6 +9582,11 @@ msgstr "" #: discord.Message.delete:17 of #, fuzzy +msgid "The message was deleted already" +msgstr "メッセージが埋め込みを受け取った。" + +#: discord.Message.delete:18 of +#, fuzzy msgid "Deleting the message failed." msgstr "削除されたメッセージ。" @@ -7625,28 +9601,65 @@ msgid "" msgstr "" #: discord.Message.edit:7 of +msgid "The ``suppress`` keyword-only parameter was added." +msgstr "" + +#: discord.Message.edit:10 of msgid "" "The new content to replace the message with. Could be ``None`` to remove " "the content." msgstr "" -#: discord.Message.edit:10 of +#: discord.Message.edit:13 of msgid "" "The new embed to replace the original with. Could be ``None`` to remove " "the embed." msgstr "" -#: discord.Message.edit:13 of +#: discord.Message.edit:16 of +msgid "" +"Whether to suppress embeds for the message. This removes all the embeds " +"if set to ``True``. If set to ``False`` this brings the embeds back if " +"they were suppressed. Using this parameter requires " +":attr:`~.Permissions.manage_messages`." +msgstr "" + +#: discord.Message.edit:21 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." msgstr "" -#: discord.Message.edit:18 of +#: discord.Message.edit:30 of msgid "Editing the message failed." msgstr "" +#: discord.Message.edit:31 of +msgid "" +"Tried to suppress a message without permissions or edited a message's" +" content or embed that isn't yours." +msgstr "" + +#: discord.Message.publish:3 of +msgid "Publishes this message to your announcement channel." +msgstr "" + +#: discord.Message.publish:5 of +#, fuzzy +msgid "" +"If the message is not your own then the " +":attr:`~Permissions.manage_messages` permission is needed." +msgstr "これを行うには、関連付けられたGuildにて、 :attr:`~.Permissions.manage_channels` 権限が必要です。" + +#: discord.Message.publish:8 of +msgid "You do not have the proper permissions to publish this message." +msgstr "" + +#: discord.Message.publish:9 of +msgid "Publishing the message failed." +msgstr "" + #: discord.Message.pin:3 of msgid "Pins the message." msgstr "" @@ -7658,16 +9671,26 @@ msgid "" msgstr "" #: discord.Message.pin:8 of +msgid "" +"The reason for pinning the message. Shows up on the audit log. .. " +"versionadded:: 1.4" +msgstr "" + +#: discord.Message.pin:8 of +msgid "The reason for pinning the message. Shows up on the audit log." +msgstr "" + +#: discord.Message.pin:13 of #, fuzzy msgid "You do not have permissions to pin the message." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.Message.pin:9 discord.Message.unpin:9 of +#: discord.Message.pin:14 discord.Message.unpin:14 of #, fuzzy msgid "The message or channel was not found or deleted." msgstr "作成、または削除されたギルドチャンネル。" -#: discord.Message.pin:10 of +#: discord.Message.pin:15 of msgid "" "Pinning the message failed, probably due to the channel having more " "than 50 pinned messages." @@ -7678,11 +9701,21 @@ msgid "Unpins the message." msgstr "" #: discord.Message.unpin:8 of +msgid "" +"The reason for unpinning the message. Shows up on the audit log. .. " +"versionadded:: 1.4" +msgstr "" + +#: discord.Message.unpin:8 of +msgid "The reason for unpinning the message. Shows up on the audit log." +msgstr "" + +#: discord.Message.unpin:13 of #, fuzzy msgid "You do not have permissions to unpin the message." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.Message.unpin:10 of +#: discord.Message.unpin:15 of msgid "Unpinning the message failed." msgstr "" @@ -7690,7 +9723,8 @@ msgstr "" msgid "Add a reaction to the message." msgstr "" -#: discord.Message.add_reaction:5 discord.Message.remove_reaction:5 of +#: discord.Message.add_reaction:5 discord.Message.clear_reaction:5 +#: discord.Message.remove_reaction:5 of msgid "The emoji may be a unicode emoji or a custom guild :class:`Emoji`." msgstr "" @@ -7713,11 +9747,13 @@ msgstr "" msgid "You do not have the proper permissions to react to the message." msgstr "" -#: discord.Message.add_reaction:16 of +#: discord.Message.add_reaction:16 discord.Message.clear_reaction:16 +#: discord.Reaction.clear:11 of msgid "The emoji you specified was not found." msgstr "" -#: discord.Message.add_reaction:17 discord.Message.remove_reaction:21 of +#: discord.Message.add_reaction:17 discord.Message.clear_reaction:17 +#: discord.Message.remove_reaction:21 discord.Reaction.clear:12 of msgid "The emoji parameter is invalid." msgstr "" @@ -7757,14 +9793,32 @@ msgstr "" msgid "The member or emoji you specified was not found." msgstr "" -#: discord.Message.clear_reactions:3 of -msgid "Removes all the reactions from the message." -msgstr "" +#: discord.Message.clear_reaction:3 of +#, fuzzy +msgid "Clears a specific reaction from the message." +msgstr "メッセージ送信者がサムズアップリアクションを付けるのを待つ場合: ::" -#: discord.Message.clear_reactions:5 of +#: discord.Message.clear_reaction:7 discord.Message.clear_reactions:5 +#: discord.Reaction.clear:5 of msgid "You need the :attr:`~Permissions.manage_messages` permission to use this." msgstr "" +#: discord.Message.clear_reaction:11 of +msgid "The emoji to clear." +msgstr "" + +#: discord.Message.clear_reaction:14 discord.Reaction.clear:9 of +msgid "Clearing the reaction failed." +msgstr "" + +#: discord.Message.clear_reaction:15 discord.Reaction.clear:10 of +msgid "You do not have the proper permissions to clear the reaction." +msgstr "" + +#: discord.Message.clear_reactions:3 of +msgid "Removes all the reactions from the message." +msgstr "" + #: discord.Message.clear_reactions:7 of msgid "Removing the reactions failed." msgstr "" @@ -7789,7 +9843,7 @@ msgstr "" msgid "You must not be a bot user." msgstr "" -#: ../../api.rst:2097 +#: ../../api.rst:2635 msgid "Reaction" msgstr "" @@ -7827,7 +9881,7 @@ msgid "The reaction emoji. May be a custom emoji, or a unicode emoji." msgstr "" #: discord.Reaction:30 of -msgid "Union[:class:`Emoji`, :class:`str`]" +msgid "Union[:class:`Emoji`, :class:`PartialEmoji`, :class:`str`]" msgstr "" #: discord.Reaction:34 of @@ -7844,7 +9898,9 @@ msgstr "リアクションを追加したユーザー。" msgid "Message this reaction is for." msgstr "リアクションが削除されたメッセージ。" -#: discord.CallMessage:22 discord.Reaction:48 of +#: discord.CallMessage:22 discord.Intents.dm_messages:16 +#: discord.Intents.guild_messages:15 discord.Intents.messages:16 +#: discord.Reaction:48 of #, fuzzy msgid ":class:`Message`" msgstr ":class:`bytes`" @@ -7912,7 +9968,12 @@ msgstr "" msgid "The user you specified, or the reaction's message was not found." msgstr "" -#: ../../api.rst:2107 +#: discord.Reaction.clear:3 of +#, fuzzy +msgid "Clears this reaction from the message." +msgstr "メッセージ送信者がサムズアップリアクションを付けるのを待つ場合: ::" + +#: ../../api.rst:2645 msgid "CallMessage" msgstr "" @@ -7952,7 +10013,7 @@ msgstr "プライベートのテキストチャンネル。ダイレクトメッ #: discord.CallMessage.channel:3 discord.GroupCall.channel:3 of #, fuzzy -msgid ":class:`GroupChannel`\\" +msgid ":class:`GroupChannel`" msgstr ":class:`bool`" #: discord.CallMessage.duration:1 of @@ -7971,7 +10032,7 @@ msgstr "" msgid ":class:`datetime.timedelta`" msgstr "" -#: ../../api.rst:2113 +#: ../../api.rst:2651 msgid "GroupCall" msgstr "" @@ -8005,11 +10066,6 @@ msgstr "" msgid "The guild region the group call is being hosted on." msgstr "更新される前のギルド。" -#: discord.GroupCall:27 discord.Guild:40 of -#, fuzzy -msgid ":class:`VoiceRegion`" -msgstr ":class:`bool`" - #: discord.GroupCall.connected:1 of msgid "A property that returns all users that are currently in this call." msgstr "" @@ -8041,7 +10097,7 @@ msgstr "" msgid "Optional[:class:`VoiceState`]" msgstr "" -#: ../../api.rst:2119 +#: ../../api.rst:2657 msgid "Guild" msgstr "" @@ -8093,10 +10149,10 @@ msgid "The timeout to get sent to the AFK channel." msgstr "" #: discord.Guild:50 of -msgid "The channel that denotes the AFK channel. None if it doesn't exist." +msgid "The channel that denotes the AFK channel. ``None`` if it doesn't exist." msgstr "" -#: discord.Guild:52 discord.WidgetMember:91 of +#: discord.Guild:52 discord.VoiceState:52 discord.WidgetMember:91 of msgid "Optional[:class:`VoiceChannel`]" msgstr "" @@ -8118,8 +10174,8 @@ msgstr "" msgid "" "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." +"they might all be ``None``. It is best to not do anything with the guild " +"if it is unavailable." msgstr "" #: discord.Guild:78 of @@ -8136,127 +10192,142 @@ msgstr "" msgid "The maximum amount of members for the guild." msgstr "" -#: discord.Guild:96 of +#: discord.Guild:94 of +msgid "This attribute is only available via :meth:`.Client.fetch_guild`." +msgstr "" + +#: discord.Guild:100 of +msgid "The maximum amount of users in a video channel." +msgstr "" + +#: discord.Guild:108 of #, fuzzy msgid "The guild's banner." msgstr "ギルドのウィジェット。" -#: discord.Guild:102 of +#: discord.Guild:114 of #, fuzzy msgid "The guild's description." msgstr "ギルドのウィジェット。" -#: discord.Guild:108 of +#: discord.Guild:120 of msgid "" "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." msgstr "" -#: discord.Guild:116 of -#, fuzzy -msgid "The guild's verification level." -msgstr "認証レベルが等しいか確認します。" - -#: discord.Guild:118 discord.PartialInviteGuild:40 of -#, fuzzy -msgid ":class:`VerificationLevel`" -msgstr ":class:`.Profile`" - -#: discord.Guild:122 of +#: discord.Guild:134 of #, fuzzy msgid "The guild's explicit content filter." msgstr "ギルドで表現のフィルターが有効ではない。" -#: discord.Guild:124 of -#, fuzzy -msgid ":class:`ContentFilter`" -msgstr ":class:`.Profile`" - -#: discord.Guild:128 of +#: discord.Guild:140 of #, fuzzy msgid "The guild's notification settings." msgstr "ギルドの管理設定の変更" -#: discord.Guild:130 of -#, fuzzy -msgid ":class:`NotificationLevel`" -msgstr ":class:`.Profile`" - -#: discord.Guild:134 of +#: discord.Guild:146 of msgid "A list of features that the guild has. They are currently as follows:" msgstr "" -#: discord.Guild:136 of +#: discord.Guild:148 of msgid "``VIP_REGIONS``: Guild has VIP voice regions" msgstr "" -#: discord.Guild:137 of +#: discord.Guild:149 of msgid "" "``VANITY_URL``: Guild can have a vanity invite URL (e.g. discord.gg" "/discord-api)" msgstr "" -#: discord.Guild:138 of +#: discord.Guild:150 of msgid "``INVITE_SPLASH``: Guild's invite page can have a special splash." msgstr "" -#: discord.Guild:139 of +#: discord.Guild:151 of msgid "``VERIFIED``: Guild is a verified server." msgstr "" -#: discord.Guild:140 of +#: discord.Guild:152 of msgid "``PARTNERED``: Guild is a partnered server." msgstr "" -#: discord.Guild:141 of +#: discord.Guild:153 of msgid "``MORE_EMOJI``: Guild is allowed to have more than 50 custom emoji." msgstr "" -#: discord.Guild:142 of +#: discord.Guild:154 of msgid "``DISCOVERABLE``: Guild shows up in Server Discovery." msgstr "" -#: discord.Guild:143 of +#: discord.Guild:155 of +msgid "``FEATURABLE``: Guild is able to be featured in Server Discovery." +msgstr "" + +#: discord.Guild:156 of +msgid "``COMMUNITY``: Guild is a community server." +msgstr "" + +#: discord.Guild:157 of msgid "``COMMERCE``: Guild can sell things using store channels." msgstr "" -#: discord.Guild:144 of -msgid "``LURKABLE``: Users can lurk in this guild via Server Discovery." +#: discord.Guild:158 of +msgid "``PUBLIC``: Guild is a public guild." msgstr "" -#: discord.Guild:145 of +#: discord.Guild:159 of msgid "``NEWS``: Guild can create news channels." msgstr "" -#: discord.Guild:146 of +#: discord.Guild:160 of msgid "``BANNER``: Guild can upload and use a banner (i.e. :meth:`banner_url`)." msgstr "" -#: discord.Guild:147 of +#: discord.Guild:161 of msgid "``ANIMATED_ICON``: Guild can upload an animated icon." msgstr "" -#: discord.Guild:149 discord.PartialInviteGuild:46 discord.Spotify.artists:3 of +#: discord.Guild:162 of +msgid "``PUBLIC_DISABLED``: Guild cannot be public." +msgstr "" + +#: discord.Guild:163 of +msgid "``WELCOME_SCREEN_ENABLED``: Guild has enabled the welcome screen" +msgstr "" + +#: discord.Guild:165 discord.PartialInviteGuild:46 discord.Spotify.artists:3 of #, fuzzy msgid "List[:class:`str`]" msgstr ":class:`str`" -#: discord.Guild:153 of +#: discord.Guild:169 of #, fuzzy msgid "The guild's invite splash." msgstr "ギルドの招待時のスプラッシュ画像の変更" -#: discord.Guild:159 of +#: discord.Guild:175 of msgid "" "The premium tier for this guild. Corresponds to \"Nitro Server\" in the " "official UI. The number goes from 0 to 3 inclusive." msgstr "" -#: discord.Guild:166 of -msgid "How many users have currently \"boosted\" this guild." +#: discord.Guild:182 of +msgid "The number of \"boosts\" this guild currently has." msgstr "" +#: discord.Guild:188 of +msgid "" +"The preferred locale for the guild. Used when filtering Server Discovery " +"results to a specific language." +msgstr "" + +#: discord.Guild:195 of +#, fuzzy +msgid "The guild's discovery splash." +msgstr "ギルドの招待時のスプラッシュ画像の変更" + #: discord.Guild.audit_logs:1 of msgid "" "Returns an :class:`AsyncIterator` that enables receiving the guild's " @@ -8300,7 +10371,7 @@ msgstr "" #: discord.Guild.audit_logs:30 of msgid "" "If set to ``True``, return entries in oldest->newest order. Defaults to " -"True if ``after`` is specified, otherwise ``False``." +"``True`` if ``after`` is specified, otherwise ``False``." msgstr "" #: discord.Guild.audit_logs:33 of @@ -8356,8 +10427,16 @@ msgid "" "This is essentially used to get the member version of yourself." msgstr "" +#: discord.Guild.fetch_member:16 discord.Guild.me:4 of +msgid ":class:`Member`" +msgstr "" + #: discord.Guild.voice_client:1 of -msgid "Returns the :class:`VoiceClient` associated with this guild, if any." +msgid "Returns the :class:`VoiceProtocol` associated with this guild, if any." +msgstr "" + +#: discord.Guild.voice_client:3 of +msgid "Optional[:class:`VoiceProtocol`]" msgstr "" #: discord.Guild.text_channels:1 of @@ -8400,16 +10479,16 @@ msgid "" "List[:class:`abc.GuildChannel`]]]" msgstr "" -#: discord.Guild.get_channel:1 of -msgid "" -"Returns a :class:`abc.GuildChannel` with the given ID. If not found, " -"returns None." -msgstr "" +#: discord.Guild.get_channel:7 of +#, fuzzy +msgid "Optional[:class:`.abc.GuildChannel`]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" #: discord.Guild.system_channel:1 of msgid "Returns the guild's channel used for system messages." msgstr "" +#: discord.Guild.public_updates_channel:5 discord.Guild.rules_channel:4 #: discord.Guild.system_channel:3 of msgid "If no channel is set, then this returns ``None``." msgstr "" @@ -8423,6 +10502,19 @@ msgstr "" msgid ":class:`SystemChannelFlags`" msgstr ":class:`bytes`" +#: discord.Guild.rules_channel:1 of +msgid "" +"Return's the guild's channel used for the rules. Must be a discoverable " +"guild." +msgstr "" + +#: discord.Guild.public_updates_channel:1 of +msgid "" +"Return's the guild's channel where admins and moderators of the guilds " +"receive notices from Discord. This is only available to guilds that " +"contain ``PUBLIC`` in :attr:`Guild.features`." +msgstr "" + #: discord.Guild.emoji_limit:1 of msgid "The maximum number of emoji slots this guild has." msgstr "" @@ -8440,14 +10532,23 @@ msgid "A list of members that belong to this guild." msgstr "" #: discord.Guild.members:3 discord.Guild.premium_subscribers:3 -#: discord.Role.members:3 discord.TextChannel.members:3 -#: discord.VoiceChannel.members:3 of +#: discord.Guild.query_members:27 discord.Role.members:3 +#: discord.TextChannel.members:3 discord.VoiceChannel.members:3 of #, fuzzy msgid "List[:class:`Member`]" msgstr ":class:`bytes`" #: discord.Guild.get_member:1 of -msgid "Returns a :class:`Member` with the given ID. If not found, returns None." +msgid "Returns a member with the given ID." +msgstr "" + +#: discord.Guild.get_member:6 of +msgid "The member or ``None`` if not found." +msgstr "" + +#: discord.Guild.get_member:7 discord.Guild.get_member_named:20 +#: discord.Guild.owner:3 discord.RawReactionActionEvent:40 of +msgid "Optional[:class:`Member`]" msgstr "" #: discord.Guild.premium_subscribers:1 of @@ -8463,23 +10564,32 @@ msgid "The first element of this list will be the lowest role in the hierarchy." msgstr "" #: discord.Guild.get_role:1 of -msgid "Returns a :class:`Role` with the given ID. If not found, returns None." +msgid "Returns a role with the given ID." +msgstr "" + +#: discord.Guild.get_role:6 of +msgid "The role or ``None`` if not found." msgstr "" +#: discord.Guild.get_role:7 of +#, fuzzy +msgid "Optional[:class:`Role`]" +msgstr ":class:`.Profile`" + #: discord.Guild.default_role:1 of msgid "Gets the @everyone role that all members have by default." msgstr "" +#: discord.Guild.create_role:31 discord.Guild.default_role:3 +#: discord.Integration:45 discord.Member.top_role:6 of +msgid ":class:`Role`" +msgstr "" + #: discord.Guild.owner:1 of #, fuzzy msgid "The member that owns the guild." msgstr "ギルドの名前。" -#: discord.Guild.fetch_member:16 discord.Guild.get_member_named:20 -#: discord.Guild.owner:3 of -msgid ":class:`Member`" -msgstr "" - #: discord.Guild.icon_url:1 discord.PartialInviteGuild.icon_url:1 of #, fuzzy msgid "Returns the guild's icon asset." @@ -8532,20 +10642,34 @@ msgstr "ギルドの招待時のスプラッシュ画像の変更" msgid "Returns an :class:`Asset` for the guild's invite splash." msgstr "" -#: discord.Guild.splash_url_as:3 of +#: discord.Guild.discovery_splash_url_as:3 discord.Guild.splash_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 4096." msgstr "" -#: discord.Guild.splash_url_as:6 of +#: discord.Guild.discovery_splash_url_as:8 discord.Guild.splash_url_as:6 of msgid "The format to attempt to convert the splash to." msgstr "" +#: discord.Guild.discovery_splash_url:1 of +msgid "Returns the guild's discovery splash asset." +msgstr "" + +#: discord.Guild.discovery_splash_url_as:1 of +msgid "Returns an :class:`Asset` for the guild's discovery splash." +msgstr "" + #: discord.Guild.member_count:1 of msgid "Returns the true member count regardless of it being loaded fully or not." msgstr "" +#: discord.Guild.member_count:5 of +msgid "" +"Due to a Discord limitation, in order for this attribute to remain up-to-" +"date and accurate, it requires :attr:`Intents.members` to be specified." +msgstr "" + #: discord.Guild.chunked:1 of msgid "Returns a boolean indicating if the guild is \"chunked\"." msgstr "" @@ -8656,7 +10780,7 @@ msgid "" "will be automatically synced to category if no overwrites are provided." msgstr "" -#: discord.Guild.create_text_channel:50 discord.TextChannel.edit:10 of +#: discord.Guild.create_text_channel:50 discord.TextChannel.edit:16 of msgid "The new channel's topic." msgstr "" @@ -8666,7 +10790,7 @@ msgid "" "The maximum value possible is `21600`." msgstr "" -#: discord.Guild.create_text_channel:55 discord.TextChannel.edit:14 of +#: discord.Guild.create_text_channel:55 discord.TextChannel.edit:20 of msgid "To mark the channel as NSFW or not." msgstr "" @@ -8674,14 +10798,21 @@ msgstr "" msgid "The reason for creating this channel. Shows up on the audit log." msgstr "" -#: discord.Guild.create_text_channel:62 of +#: discord.Guild.create_category:12 discord.Guild.create_category_channel:12 +#: discord.Guild.create_text_channel:62 discord.Guild.create_voice_channel:13 +#: of msgid "The permission overwrite information is not in proper form." msgstr "" -#: discord.Guild.create_text_channel:64 of +#: discord.CategoryChannel.create_text_channel:5 +#: discord.CategoryChannel.create_voice_channel:5 +#: discord.Guild.create_category:14 discord.Guild.create_category_channel:14 +#: discord.Guild.create_text_channel:64 discord.Guild.create_voice_channel:15 +#: of msgid "The channel that was just created." msgstr "" +#: discord.CategoryChannel.create_text_channel:6 #: discord.Guild.create_text_channel:65 of msgid ":class:`TextChannel`" msgstr "" @@ -8701,6 +10832,12 @@ msgstr "" msgid "The channel's limit for number of members that can be in a voice channel." msgstr "" +#: discord.CategoryChannel.create_voice_channel:6 +#: discord.Guild.create_voice_channel:16 of +#, fuzzy +msgid ":class:`VoiceChannel`" +msgstr "ボイスチャンネル。" + #: discord.Guild.create_category:3 discord.Guild.create_category_channel:3 of msgid "" "Same as :meth:`create_text_channel` except makes a " @@ -8713,6 +10850,11 @@ msgid "" "categories cannot have categories." msgstr "" +#: discord.Guild.create_category:15 discord.Guild.create_category_channel:15 of +#, fuzzy +msgid ":class:`CategoryChannel`" +msgstr ":class:`str`" + #: discord.Guild.leave:3 of msgid "Leaves the guild." msgstr "" @@ -8753,95 +10895,118 @@ msgid "" msgstr "" #: discord.Guild.edit:8 of +msgid "" +"The `rules_channel` and `public_updates_channel` keyword-only parameters " +"were added." +msgstr "" + +#: discord.Guild.edit:11 of msgid "The new name of the guild." msgstr "" -#: discord.Guild.edit:10 of +#: discord.Guild.edit:13 of msgid "" "The new description of the guild. This is only available to guilds that " -"contain `VERIFIED` in :attr:`Guild.features`." +"contain ``PUBLIC`` in :attr:`Guild.features`." msgstr "" -#: discord.Guild.edit:13 of +#: discord.Guild.edit:16 of msgid "" "A :term:`py:bytes-like object` representing the icon. Only PNG/JPEG " -"supported. Could be ``None`` to denote removal of the icon." +"supported and GIF This is only available to guilds that contain " +"``ANIMATED_ICON`` in :attr:`Guild.features`. Could be ``None`` to denote " +"removal of the icon." msgstr "" -#: discord.Guild.edit:16 of +#: discord.Guild.edit:20 of msgid "" "A :term:`py:bytes-like object` representing the banner. Could be ``None``" " to denote removal of the banner." msgstr "" -#: discord.Guild.edit:19 of +#: discord.Guild.edit:23 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." +"PNG/JPEG supported. Could be ``None`` to denote removing the splash. This" +" is only available to guilds that contain ``INVITE_SPLASH`` in " +":attr:`Guild.features`." msgstr "" -#: discord.Guild.edit:24 of +#: discord.Guild.edit:28 of msgid "The new region for the guild's voice communication." msgstr "" -#: discord.Guild.edit:26 of +#: discord.Guild.edit:30 of msgid "" "The new channel that is the AFK channel. Could be ``None`` for no AFK " "channel." msgstr "" -#: discord.Guild.edit:28 of +#: discord.Guild.edit:32 of msgid "The number of seconds until someone is moved to the AFK channel." msgstr "" -#: discord.Guild.edit:30 of +#: discord.Guild.edit:34 of msgid "" "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:33 of +#: discord.Guild.edit:37 of msgid "The new verification level for the guild." msgstr "" -#: discord.Guild.edit:35 of +#: discord.Guild.edit:39 of msgid "The new default notification level for the guild." msgstr "" -#: discord.Guild.edit:37 of +#: discord.Guild.edit:41 of msgid "The new explicit content filter for the guild." msgstr "" -#: discord.Guild.edit:39 of +#: discord.Guild.edit:43 of msgid "The new vanity code for the guild." msgstr "" -#: discord.Guild.edit:41 of +#: discord.Guild.edit:45 of msgid "" "The new channel that is used for the system channel. Could be ``None`` " "for no system channel." msgstr "" -#: discord.Guild.edit:43 of +#: discord.Guild.edit:47 of msgid "The new system channel settings to use with the new system channel." msgstr "" -#: discord.Guild.edit:45 of +#: discord.Guild.edit:49 of +msgid "" +"The new channel that is used for rules. This is only available to guilds " +"that contain ``PUBLIC`` in :attr:`Guild.features`. Could be ``None`` for " +"no rules channel." +msgstr "" + +#: discord.Guild.edit:53 of +msgid "" +"The new channel that is used for public updates from Discord. This is " +"only available to guilds that contain ``PUBLIC`` in " +":attr:`Guild.features`. Could be ``None`` for no public updates channel." +msgstr "" + +#: discord.Guild.edit:57 of msgid "The reason for editing this guild. Shows up on the audit log." msgstr "" -#: discord.Guild.edit:48 of +#: discord.Guild.edit:60 of #, fuzzy msgid "You do not have permissions to edit the guild." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.Guild.edit:49 of +#: discord.Guild.edit:61 discord.Integration.edit:16 of #, fuzzy msgid "Editing the guild failed." msgstr ":exc:`.HTTPException` -- ギルドの取得に失敗した。" -#: discord.Guild.edit:50 of +#: discord.Guild.edit:62 of msgid "" "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 " @@ -8867,6 +11032,45 @@ msgstr ":exc:`.HTTPException` -- チャンネルの取得に失敗した。" msgid "All channels in the guild." msgstr "" +#: discord.Guild.fetch_members:3 of +#, fuzzy +msgid "" +"Retrieves an :class:`.AsyncIterator` that enables receiving the guild's " +"members." +msgstr "Botが所属するGuildを取得できる、 :class:`AsyncIterator` を取得します。" + +#: discord.Guild.fetch_members:7 of +#, fuzzy +msgid "" +"This method is an API call. For general usage, consider :attr:`members` " +"instead." +msgstr "これはAPIを呼び出します。通常は :attr:`guilds` を代わりに使用してください。" + +#: discord.Guild.fetch_members:13 of +msgid "" +"The number of members to retrieve. Defaults to 1000. Pass ``None`` to " +"fetch all members. Note that this is potentially slow." +msgstr "" + +#: discord.Guild.fetch_members:16 of +#, fuzzy +msgid "" +"Retrieve members after this date or object. If a date is provided it must" +" be a timezone-naive datetime representing UTC time." +msgstr "" +"この日付またはオブジェクトの後のGuildを取得します。もし日付が与えられた場合は、それはUTC時刻を表し、timezone " +"naiveであるdatetimeでないといけません。" + +#: discord.Guild.fetch_members:20 of +#, fuzzy +msgid "Getting the members failed." +msgstr "メンバーメンバーが退席中。" + +#: discord.Guild.fetch_members:22 of +#, fuzzy +msgid ":class:`.Member` -- The member with the member data parsed." +msgstr ":class:`.Guild` -- データを解析したGuild。" + #: discord.Guild.fetch_member:3 of msgid "Retreives a :class:`Member` from a guild ID, and a member ID." msgstr "" @@ -8881,6 +11085,11 @@ msgstr "" msgid "The member's ID to fetch from." msgstr "" +#: discord.Guild.fetch_member:13 of +#, fuzzy +msgid "Fetching the member failed." +msgstr "メンバーメンバーが退席中。" + #: discord.Guild.fetch_member:15 of msgid "The member from the member ID." msgstr "" @@ -8948,11 +11157,19 @@ msgid "" "the :meth:`estimate_pruned_members` function." msgstr "" -#: discord.Guild.estimate_pruned_members:7 discord.Guild.prune_members:14 of +#: discord.Guild.prune_members:14 of +msgid "To prune members that have specific roles see the ``roles`` parameter." +msgstr "" + +#: discord.Guild.prune_members:16 of +msgid "The ``roles`` keyword-only parameter was added." +msgstr "" + +#: discord.Guild.estimate_pruned_members:7 discord.Guild.prune_members:19 of msgid "The number of days before counting as inactive." msgstr "" -#: discord.Guild.prune_members:18 of +#: discord.Guild.prune_members:23 of msgid "" "Whether to compute the prune count. This defaults to ``True`` which makes" " it prone to timeouts in very large guilds. In order to prevent timeouts," @@ -8960,20 +11177,27 @@ msgid "" " function will always return ``None``." msgstr "" -#: discord.Guild.estimate_pruned_members:10 discord.Guild.prune_members:24 of +#: discord.Guild.prune_members:28 of +msgid "" +"A list of :class:`abc.Snowflake` that represent roles to include in the " +"pruning process. If a member has a role that is not specified, they'll be" +" excluded." +msgstr "" + +#: discord.Guild.estimate_pruned_members:10 discord.Guild.prune_members:32 of #, fuzzy msgid "You do not have permissions to prune members." msgstr ":exc:`.Forbidden` -- 招待を取り消す権限が無い。" -#: discord.Guild.prune_members:25 of +#: discord.Guild.prune_members:33 of msgid "An error occurred while pruning members." msgstr "" -#: discord.Guild.estimate_pruned_members:12 discord.Guild.prune_members:26 of +#: discord.Guild.estimate_pruned_members:12 discord.Guild.prune_members:34 of msgid "An integer was not passed for ``days``." msgstr "" -#: discord.Guild.prune_members:28 of +#: discord.Guild.prune_members:36 of msgid "" "The number of members pruned. If ``compute_prune_count`` is ``False`` " "then this returns ``None``." @@ -9030,6 +11254,51 @@ msgstr "" msgid "List[:class:`Invite`]" msgstr "" +#: discord.Guild.create_integration:3 of +#, fuzzy +msgid "Attaches an integration to the guild." +msgstr "ギルドの名前。" + +#: discord.Guild.create_integration:5 discord.Guild.integrations:5 +#: discord.Integration.delete:5 discord.Integration.edit:5 +#: discord.Integration.sync:5 of +#, fuzzy +msgid "You must have the :attr:`~Permissions.manage_guild` permission to do this." +msgstr "これを行うためには、そのチャンネルの :attr:`~.Permissions.read_message_history` 権限が必要です。" + +#: discord.Guild.create_integration:10 of +msgid "The integration type (e.g. Twitch)." +msgstr "" + +#: discord.Guild.create_integration:12 discord.Integration:7 of +msgid "The integration ID." +msgstr "" + +#: discord.Guild.create_integration:15 discord.Guild.integrations:10 of +#, fuzzy +msgid "You do not have permission to create the integration." +msgstr ":exc:`.Forbidden` -- 招待を取り消す権限が無い。" + +#: discord.Guild.create_integration:16 of +msgid "The account could not be found." +msgstr "" + +#: discord.Guild.integrations:3 of +msgid "Returns a list of all integrations attached to the guild." +msgstr "" + +#: discord.Guild.integrations:11 of +msgid "Fetching the integrations failed." +msgstr "" + +#: discord.Guild.integrations:13 of +msgid "The list of integrations that are attached to the guild." +msgstr "" + +#: discord.Guild.integrations:14 of +msgid "List[:class:`Integration`]" +msgstr "" + #: discord.Guild.fetch_emojis:3 of msgid "Retrieves all custom :class:`Emoji`\\s from the guild." msgstr "" @@ -9078,7 +11347,8 @@ msgstr "" msgid "The retrieved emoji." msgstr "" -#: discord.Guild.create_custom_emoji:25 discord.Guild.fetch_emoji:17 of +#: discord.Guild.create_custom_emoji:25 discord.Guild.fetch_emoji:17 +#: discord.Intents.emojis:9 of msgid ":class:`Emoji`" msgstr "" @@ -9132,6 +11402,28 @@ msgstr "" msgid "The created emoji." msgstr "" +#: discord.Guild.fetch_roles:3 of +#, fuzzy +msgid "Retrieves all :class:`Role` that the guild has." +msgstr "特定のIDの :class:`.Webhook` を取得します。" + +#: discord.Guild.fetch_roles:7 of +#, fuzzy +msgid "" +"This method is an API call. For general usage, consider :attr:`roles` " +"instead." +msgstr "これはAPIを呼び出します。通常は :attr:`guilds` を代わりに使用してください。" + +#: discord.Guild.fetch_roles:11 of +#, fuzzy +msgid "Retrieving the roles failed." +msgstr "役職の名前を返します。" + +#: discord.Guild.fetch_roles:13 of +#, fuzzy +msgid "All roles in the guild." +msgstr "ギルドの名前。" + #: discord.Guild.create_role:3 of msgid "Creates a :class:`Role` for the guild." msgstr "" @@ -9140,7 +11432,7 @@ msgstr "" msgid "All fields are optional." msgstr "" -#: discord.Guild.create_role:7 of +#: discord.Guild.create_role:7 discord.Guild.edit_role_positions:5 of msgid "You must have the :attr:`~Permissions.manage_roles` permission to do this." msgstr "" @@ -9184,7 +11476,7 @@ msgstr ":exc:`.Forbidden` -- 招待を取り消す権限が無い。" msgid "Creating the role failed." msgstr "役職の名前を返します。" -#: discord.Guild.create_role:28 of +#: discord.Guild.create_role:28 discord.Guild.edit_role_positions:29 of msgid "An invalid keyword argument was given." msgstr "" @@ -9192,8 +11484,38 @@ msgstr "" msgid "The newly created role." msgstr "" -#: discord.Guild.create_role:31 discord.Member.top_role:6 of -msgid ":class:`Role`" +#: discord.Guild.edit_role_positions:3 of +#, fuzzy +msgid "Bulk edits a list of :class:`Role` in the guild." +msgstr ":class:`Role` がギルド全体で変更されたときに呼び出されます。" + +#: discord.Guild.edit_role_positions:10 of +#, fuzzy +msgid "Example:" +msgstr "例" + +#: discord.Guild.edit_role_positions:22 of +msgid "" +"A :class:`dict` of :class:`Role` to :class:`int` to change the positions " +"of each given role." +msgstr "" + +#: discord.Guild.edit_role_positions:24 of +msgid "The reason for editing the role positions. Shows up on the audit log." +msgstr "" + +#: discord.Guild.edit_role_positions:27 of +#, fuzzy +msgid "You do not have permissions to move the roles." +msgstr ":exc:`.Forbidden` -- 招待を取り消す権限が無い。" + +#: discord.Guild.edit_role_positions:28 of +#, fuzzy +msgid "Moving the roles failed." +msgstr "役職の名前を返します。" + +#: discord.Guild.edit_role_positions:31 of +msgid "A list of all the roles in the guild." msgstr "" #: discord.Guild.kick:3 of @@ -9275,32 +11597,30 @@ msgid "Returns the guild's special vanity invite." msgstr "" #: discord.Guild.vanity_invite:5 of -msgid "" -"The guild must be partnered, i.e. have 'VANITY_URL' in " -":attr:`~Guild.features`." +msgid "The guild must have ``VANITY_URL`` in :attr:`~Guild.features`." msgstr "" -#: discord.Guild.vanity_invite:8 of +#: discord.Guild.vanity_invite:7 of msgid "" "You must have the :attr:`~Permissions.manage_guild` permission to use " "this as well." msgstr "" -#: discord.Guild.vanity_invite:11 of +#: discord.Guild.vanity_invite:10 of #, fuzzy msgid "You do not have the proper permissions to get this." msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" -#: discord.Guild.vanity_invite:12 of +#: discord.Guild.vanity_invite:11 of #, fuzzy msgid "Retrieving the vanity invite failed." msgstr ":exc:`.HTTPException` -- 招待の取り消しに失敗した。" -#: discord.Guild.vanity_invite:14 of +#: discord.Guild.vanity_invite:13 of msgid "The special vanity invite." msgstr "" -#: discord.Guild.vanity_invite:15 discord.Widget.fetch_invite:13 of +#: discord.Guild.vanity_invite:14 discord.Widget.fetch_invite:13 of msgid ":class:`Invite`" msgstr "" @@ -9316,7 +11636,249 @@ msgstr "" msgid ":class:`Widget`" msgstr "" -#: ../../api.rst:2129 +#: discord.Guild.chunk:3 of +msgid "" +"Requests all members that belong to this guild. In order to use this, " +":meth:`Intents.members` must be enabled." +msgstr "" + +#: discord.Guild.chunk:6 discord.Guild.query_members:6 of +msgid "This is a websocket operation and can be slow." +msgstr "" + +#: discord.Guild.chunk:10 of +msgid "Whether to cache the members as well." +msgstr "" + +#: discord.Guild.chunk:13 of +#, fuzzy +msgid "The members intent is not enabled." +msgstr "メンバーがオンライン。" + +#: discord.Guild.query_members:3 of +msgid "" +"Request members that belong to this guild whose username starts with the " +"query given." +msgstr "" + +#: discord.Guild.query_members:10 of +msgid "The string that the username's start with." +msgstr "" + +#: discord.Guild.query_members:12 of +msgid "" +"The maximum number of members to send back. This must be a number between" +" 5 and 100." +msgstr "" + +#: discord.Guild.query_members:15 of +msgid "" +"Whether to cache the members internally. This makes operations such as " +":meth:`get_member` work for those that matched." +msgstr "" + +#: discord.Guild.query_members:18 of +msgid "" +"List of user IDs to search for. If the user ID is not in the guild then " +"it won't be returned. .. versionadded:: 1.4" +msgstr "" + +#: discord.Guild.query_members:18 of +msgid "" +"List of user IDs to search for. If the user ID is not in the guild then " +"it won't be returned." +msgstr "" + +#: discord.Guild.query_members:23 of +msgid "The query timed out waiting for the members." +msgstr "" + +#: discord.Guild.query_members:24 of +msgid "Invalid parameters were passed to the function" +msgstr "" + +#: discord.Guild.query_members:26 of +msgid "The list of members that have matched the query." +msgstr "" + +#: discord.Guild.change_voice_state:3 of +#, fuzzy +msgid "Changes client's voice state in the guild." +msgstr "クライアントがギルドから退出した。" + +#: discord.Guild.change_voice_state:7 of +msgid "Channel the client wants to join. Use ``None`` to disconnect." +msgstr "" + +#: discord.Guild.change_voice_state:9 of +#, fuzzy +msgid "Indicates if the client should be self-muted." +msgstr "ボイスチャンネルに接続しているかどうかを表します。" + +#: discord.Guild.change_voice_state:11 of +msgid "Indicates if the client should be self-deafened." +msgstr "" + +#: ../../api.rst:2667 +#, fuzzy +msgid "Integration" +msgstr "列挙型" + +#: discord.Integration:1 of +#, fuzzy +msgid "Represents a guild integration." +msgstr "Discordの音声接続を表します。" + +#: discord.Integration:13 of +msgid "The integration name." +msgstr "" + +#: discord.Integration:19 of +#, fuzzy +msgid "The guild of the integration." +msgstr "連携サービスが更新されたギルド。" + +#: discord.CategoryChannel:33 discord.Emoji.guild:3 discord.Integration:21 +#: discord.Member:42 discord.Role:53 discord.Template:51 discord.TextChannel:31 +#: discord.VoiceChannel:31 of +#, fuzzy +msgid ":class:`Guild`" +msgstr ":class:`.Guild`" + +#: discord.Integration:25 of +msgid "The integration type (i.e. Twitch)." +msgstr "" + +#: discord.Integration:31 of +msgid "Whether the integration is currently enabled." +msgstr "" + +#: discord.Integration:37 of +msgid "Where the integration is currently syncing." +msgstr "" + +#: discord.Integration:43 of +msgid "The role which the integration uses for subscribers." +msgstr "" + +#: discord.Integration:49 of +msgid "" +"Whether emoticons should be synced for this integration (currently twitch" +" only)." +msgstr "" + +#: discord.Integration:51 discord.WidgetMember:73 discord.WidgetMember:79 +#: discord.WidgetMember:85 of +#, fuzzy +msgid "Optional[:class:`bool`]" +msgstr ":class:`bool`" + +#: discord.Integration:55 of +msgid "" +"The behaviour of expiring subscribers. Aliased to ``expire_behavior`` as " +"well." +msgstr "" + +#: discord.Integration:57 of +#, fuzzy +msgid ":class:`ExpireBehaviour`" +msgstr ":class:`.Webhook`" + +#: discord.Integration:61 of +msgid "The grace period (in days) for expiring subscribers." +msgstr "" + +#: discord.Integration:67 of +#, fuzzy +msgid "The user for the integration." +msgstr "リアクションを追加したユーザー。" + +#: discord.Integration:73 of +#, fuzzy +msgid "The integration account information." +msgstr "Botのアプリケーション情報。" + +#: discord.Integration:75 of +msgid ":class:`IntegrationAccount`" +msgstr "" + +#: discord.Integration:79 of +msgid "When the integration was last synced." +msgstr "" + +#: discord.Integration.edit:3 of +#, fuzzy +msgid "Edits the integration." +msgstr "クライアントユーザーの設定を変更します。" + +#: discord.Integration.edit:8 of +msgid "" +"The behaviour when an integration subscription lapses. Aliased to " +"``expire_behavior`` as well." +msgstr "" + +#: discord.Integration.edit:10 of +msgid "" +"The period (in days) where the integration will ignore lapsed " +"subscriptions." +msgstr "" + +#: discord.Integration.edit:12 of +msgid "" +"Where emoticons should be synced for this integration (currently twitch " +"only)." +msgstr "" + +#: discord.Integration.edit:15 of +#, fuzzy +msgid "You do not have permission to edit the integration." +msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" + +#: discord.Integration.edit:17 of +msgid "``expire_behaviour`` did not receive a :class:`ExpireBehaviour`." +msgstr "" + +#: discord.Integration.sync:3 of +#, fuzzy +msgid "Syncs the integration." +msgstr "非同期イテレータ。" + +#: discord.Integration.sync:8 of +#, fuzzy +msgid "You do not have permission to sync the integration." +msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" + +#: discord.Integration.sync:9 of +msgid "Syncing the integration failed." +msgstr "" + +#: discord.Integration.delete:3 of +msgid "Deletes the integration." +msgstr "" + +#: discord.Integration.delete:8 of +#, fuzzy +msgid "You do not have permission to delete the integration." +msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" + +#: discord.Integration.delete:9 of +msgid "Deleting the integration failed." +msgstr "" + +#: discord.IntegrationAccount:1 of +#, fuzzy +msgid "Represents an integration account." +msgstr "オーディオストリームを表します。" + +#: discord.IntegrationAccount:7 of +msgid "The account ID." +msgstr "" + +#: discord.IntegrationAccount:13 of +msgid "The account name." +msgstr "" + +#: ../../api.rst:2676 msgid "Member" msgstr "" @@ -9351,8 +11913,8 @@ msgstr "" #: discord.Member:27 of msgid "" "A datetime object that specifies the date and time in UTC that the member" -" joined the guild for the first time. In certain cases, this can be " -"``None``." +" joined the guild. If the member left and rejoined the guild, this will " +"be the latest date. In certain cases, this can be ``None``." msgstr "" #: discord.Member:34 of @@ -9360,9 +11922,7 @@ msgid "The activities that the user is currently doing." msgstr "" #: discord.Member:36 of -msgid "" -"Tuple[Union[:class:`Game`, :class:`Streaming`, :class:`Spotify`, " -":class:`Activity`]]" +msgid "Tuple[Union[:class:`BaseActivity`, :class:`Spotify`]]" msgstr "" #: discord.Member:40 of @@ -9370,12 +11930,6 @@ msgstr "" msgid "The guild that the member belongs to." msgstr "更新された後のギルド。" -#: discord.CategoryChannel:33 discord.Emoji.guild:3 discord.Member:42 -#: discord.Role:59 discord.TextChannel:31 discord.VoiceChannel:31 of -#, fuzzy -msgid ":class:`Guild`" -msgstr ":class:`.Guild`" - #: discord.Member:46 of #, fuzzy msgid "The guild specific nickname of the user." @@ -9388,6 +11942,10 @@ msgid "" "``None``." msgstr "" +#: discord.Member.raw_status:1 of +msgid "The member's overall status as a string value." +msgstr "" + #: discord.Member.status:1 of msgid "" "The member's overall status. If the value is unknown, then it will be a " @@ -9415,8 +11973,8 @@ msgstr "" #: discord.Member.is_on_mobile:1 of msgid "" -"A helper function that determines if a member is active on a mobile " -"device." +":class:`bool`: A helper function that determines if a member is active on" +" a mobile device." msgstr "" #: discord.Member.colour:1 of @@ -9449,8 +12007,8 @@ msgstr "" #: discord.Member.activity:1 of msgid "" -"Returns the primary activity the user is currently doing. Could be None " -"if no activity is being done." +"Returns the primary activity the user is currently doing. Could be " +"``None`` if no activity is being done." msgstr "" #: discord.Member.activity:6 of @@ -9460,15 +12018,18 @@ msgid "" msgstr "" #: discord.Member.activity:8 of -msgid "" -"Union[:class:`Game`, :class:`Streaming`, :class:`Spotify`, " -":class:`Activity`]" +msgid "Union[:class:`BaseActivity`, :class:`Spotify`]" msgstr "" #: discord.Member.mentioned_in:1 of msgid "Checks if the member is mentioned in the specified message." msgstr "" +#: discord.Member.mentioned_in:6 of +#, fuzzy +msgid "Indicates if the member is mentioned in the message." +msgstr "指定のメッセージにユーザーに対するメンションが含まれているかを確認します。" + #: discord.Member.top_role:1 of #, fuzzy msgid "Returns the member's highest role." @@ -9701,7 +12262,11 @@ msgstr "" msgid "Equivalent to :attr:`User.name`" msgstr "" -#: discord.Member.relationship:1 of +#: discord.Member.public_flags:1 of +msgid "Equivalent to :attr:`User.public_flags`" +msgstr "" + +#: discord.Member.relationship:1 of msgid "Equivalent to :attr:`User.relationship`" msgstr "" @@ -9736,7 +12301,11 @@ msgstr ":exc:`.Forbidden` -- 招待を取り消す権限が無い。" msgid "Removing the roles failed." msgstr "役職の名前を返します。" -#: ../../api.rst:2143 +#: discord.Member.system:1 of +msgid "Equivalent to :attr:`User.system`" +msgstr "" + +#: ../../api.rst:2690 msgid "Spotify" msgstr "" @@ -9747,15 +12316,15 @@ msgid "" "integration." msgstr "" -#: discord.Spotify:8 of +#: discord.CustomActivity:7 discord.Spotify:8 of msgid "Checks if two activities are equal." msgstr "" -#: discord.Spotify:12 of +#: discord.CustomActivity:11 discord.Spotify:12 of msgid "Checks if two activities are not equal." msgstr "" -#: discord.Spotify:16 of +#: discord.CustomActivity:15 discord.Spotify:16 of msgid "Returns the activity's hash." msgstr "" @@ -9763,7 +12332,7 @@ msgstr "" msgid "Returns the string 'Spotify'." msgstr "" -#: discord.Spotify.type:1 of +#: discord.CustomActivity.type:1 discord.Spotify.type:1 of msgid "" "Returns the activity's type. This is for compatibility with " ":class:`Activity`." @@ -9773,16 +12342,27 @@ msgstr "" msgid "It always returns :attr:`ActivityType.listening`." msgstr "" +#: discord.Activity:34 discord.CustomActivity.type:5 discord.Game.type:5 +#: discord.Spotify.type:5 discord.Streaming.type:5 of +#, fuzzy +msgid ":class:`ActivityType`" +msgstr ":class:`.Invite`" + +#: discord.Spotify.created_at:1 of +#, fuzzy +msgid "When the user started listening in UTC." +msgstr "入力を始めたユーザー。" + #: discord.Spotify.color:1 discord.Spotify.colour:1 of msgid "Returns the Spotify integration colour, as a :class:`Colour`." msgstr "" #: discord.Spotify.colour:3 of -msgid "There is an alias for this named :meth:`color`" +msgid "There is an alias for this named :attr:`color`" msgstr "" #: discord.Spotify.color:3 of -msgid "There is an alias for this named :meth:`colour`" +msgid "There is an alias for this named :attr:`colour`" msgstr "" #: discord.Spotify.name:1 of @@ -9840,7 +12420,7 @@ msgstr "更新される前のギルド。" msgid "The party ID of the listening party." msgstr "ユーザーのプロフィール。" -#: ../../api.rst:2149 +#: ../../api.rst:2696 msgid "VoiceState" msgstr "" @@ -9868,25 +12448,25 @@ msgstr "メンバーが自身でマイクやスピーカーをミュートした #: discord.VoiceState:29 of #, fuzzy +msgid "Indicates if the user is currently streaming via 'Go Live' feature." +msgstr "現在オーディオを再生しているかを表します。" + +#: discord.VoiceState:37 of +#, fuzzy msgid "Indicates if the user is currently broadcasting video." msgstr "現在オーディオを再生しているかを表します。" -#: discord.VoiceState:35 of +#: discord.VoiceState:43 of msgid "Indicates if the user is currently in the AFK channel in the guild." msgstr "" -#: discord.VoiceState:41 of +#: discord.VoiceState:49 of msgid "" -"The voice channel that the user is currently connected to. None if the " -"user is not currently in a voice channel." +"The voice channel that the user is currently connected to. ``None`` if " +"the user is not currently in a voice channel." msgstr "" -#: discord.VoiceState:44 of -#, fuzzy -msgid ":class:`VoiceChannel`" -msgstr "ボイスチャンネル。" - -#: ../../api.rst:2155 +#: ../../api.rst:2702 msgid "Emoji" msgstr "" @@ -9977,6 +12557,10 @@ msgstr "" msgid "The guild this emoji belongs to." msgstr "絵文字が更新されたギルド。" +#: discord.Emoji.is_usable:1 of +msgid ":class:`bool`: Whether the bot can use this emoji." +msgstr "" + #: discord.Emoji.delete:3 of msgid "Deletes the custom emoji." msgstr "" @@ -10017,7 +12601,7 @@ msgstr "" msgid "An error occurred editing the emoji." msgstr "" -#: ../../api.rst:2161 +#: ../../api.rst:2708 msgid "PartialEmoji" msgstr "" @@ -10040,30 +12624,33 @@ msgstr "" #: discord.PartialEmoji:28 of msgid "" "The custom emoji name, if applicable, or the unicode codepoint of the " -"non-custom emoji." +"non-custom emoji. This can be ``None`` if the emoji got deleted (e.g. " +"removing a reaction with a deleted emoji)." msgstr "" -#: discord.PartialEmoji:35 of +#: discord.PartialEmoji:36 of msgid "Whether the emoji is animated or not." msgstr "" -#: discord.PartialEmoji:41 of +#: discord.PartialEmoji:42 of msgid "The ID of the custom emoji, if applicable." msgstr "" #: discord.PartialEmoji.is_custom_emoji:1 of -msgid "Checks if this is a custom non-Unicode emoji." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if this is a custom non-Unicode emoji." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.PartialEmoji.is_unicode_emoji:1 of -msgid "Checks if this is a Unicode emoji." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if this is a Unicode emoji." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.PartialEmoji.url:1 of msgid "Returns an asset of the emoji, if it is custom." msgstr "" -#: ../../api.rst:2167 +#: ../../api.rst:2714 msgid "Role" msgstr "" @@ -10114,46 +12701,47 @@ msgid "The name of the role." msgstr "ギルドの名前。" #: discord.Role:51 of -msgid "Represents the role's permissions." -msgstr "" - -#: discord.DMChannel.permissions_for:17 discord.GroupChannel.permissions_for:18 -#: discord.Role:53 of -msgid ":class:`Permissions`" -msgstr "" - -#: discord.Role:57 of #, fuzzy msgid "The guild the role belongs to." msgstr "このプロフィールを持つ :class:`User` 。" -#: discord.Role:63 of -msgid "Represents the role colour. An alias exists under ``color``." -msgstr "" - -#: discord.Role:69 of +#: discord.Role:57 of msgid "Indicates if the role will be displayed separately from other members." msgstr "" -#: discord.Role:75 of +#: discord.Role:63 of msgid "" "The position of the role. This number is usually positive. The bottom " "role has a position of 0." msgstr "" -#: discord.Role:82 of +#: discord.Role:70 of msgid "" "Indicates if the role is managed by the guild through some form of " "integrations such as Twitch." msgstr "" -#: discord.Role:89 of +#: discord.Role:77 of #, fuzzy msgid "Indicates if the role can be mentioned by users." msgstr "ボイスチャンネルに接続しているかどうかを表します。" #: discord.Role.is_default:1 of -msgid "Checks if the role is the default role." +#, fuzzy +msgid ":class:`bool`: Checks if the role is the default role." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" + +#: discord.Role.permissions:1 of +#, fuzzy +msgid "Returns the role's permissions." +msgstr "役職の名前を返します。" + +#: discord.Role.colour:1 of +msgid "Returns the role colour. An alias exists under ``color``." +msgstr "" + +#: discord.Role.color:1 of +msgid "Returns the role color. An alias exists under ``colour``." msgstr "" #: discord.Role.created_at:1 of @@ -10175,46 +12763,50 @@ msgid "Edits the role." msgstr "" #: discord.Role.edit:10 of +msgid "Can now pass ``int`` to ``colour`` keyword-only parameter." +msgstr "" + +#: discord.Role.edit:13 of msgid "The new role name to change to." msgstr "" -#: discord.Role.edit:12 of +#: discord.Role.edit:15 of msgid "The new permissions to change to." msgstr "" -#: discord.Role.edit:14 of +#: discord.Role.edit:17 of msgid "The new colour to change to. (aliased to color as well)" msgstr "" -#: discord.Role.edit:16 of +#: discord.Role.edit:19 of msgid "Indicates if the role should be shown separately in the member list." msgstr "" -#: discord.Role.edit:18 of +#: discord.Role.edit:21 of msgid "Indicates if the role should be mentionable by others." msgstr "" -#: discord.Role.edit:20 of +#: discord.Role.edit:23 of msgid "" "The new role's position. This must be below your top role's position or " "it will fail." msgstr "" -#: discord.Role.edit:23 of +#: discord.Role.edit:26 of msgid "The reason for editing this role. Shows up on the audit log." msgstr "" -#: discord.Role.edit:26 of +#: discord.Role.edit:29 of #, fuzzy msgid "You do not have permissions to change the role." msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" -#: discord.Role.edit:27 of +#: discord.Role.edit:30 of #, fuzzy msgid "Editing the role failed." msgstr "役職の名前を返します。" -#: discord.Role.edit:28 of +#: discord.Role.edit:31 of msgid "" "An invalid position was given or the default role was asked to be " "moved." @@ -10238,7 +12830,7 @@ msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" msgid "Deleting the role failed." msgstr "役職の名前を返します。" -#: ../../api.rst:2173 +#: ../../api.rst:2720 msgid "TextChannel" msgstr "" @@ -10271,11 +12863,11 @@ msgid "The channel ID." msgstr "テキストチャンネル。" #: discord.TextChannel:41 discord.VoiceChannel:41 of -msgid "The category channel ID this channel belongs to." +msgid "The category channel ID this channel belongs to, if applicable." msgstr "" #: discord.TextChannel:47 of -msgid "The channel's topic. None if it doesn't exist." +msgid "The channel's topic. ``None`` if it doesn't exist." msgstr "" #: discord.TextChannel:60 of @@ -10311,12 +12903,14 @@ msgid "Returns all members that can see this channel." msgstr "" #: discord.TextChannel.is_nsfw:1 of -msgid "Checks if the channel is NSFW." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if the channel is NSFW." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.TextChannel.is_news:1 of -msgid "Checks if the channel is a news channel." -msgstr "" +#, fuzzy +msgid ":class:`bool`: Checks if the channel is a news channel." +msgstr ":class:`bool` -- ユーザーがBotアカウントであるかを表します。" #: discord.TextChannel.last_message:1 of msgid "Fetches the last message from this channel in cache." @@ -10353,44 +12947,70 @@ msgid "" "this." msgstr "" -#: discord.TextChannel.edit:8 of +#: discord.CategoryChannel.edit:8 discord.TextChannel.edit:8 +#: discord.VoiceChannel.edit:8 of +msgid "The ``overwrites`` keyword-only parameter was added." +msgstr "" + +#: discord.TextChannel.edit:11 of +msgid "The ``type`` keyword-only parameter was added." +msgstr "" + +#: discord.TextChannel.edit:14 of msgid "The new channel name." msgstr "" -#: discord.TextChannel.edit:12 discord.VoiceChannel.edit:14 of +#: discord.TextChannel.edit:18 discord.VoiceChannel.edit:17 of msgid "The new channel's position." msgstr "" -#: discord.TextChannel.edit:16 discord.VoiceChannel.edit:16 of +#: discord.TextChannel.edit:22 discord.VoiceChannel.edit:19 of msgid "" "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 +#: discord.TextChannel.edit:25 discord.VoiceChannel.edit:22 of msgid "The new category for this channel. Can be ``None`` to remove the category." msgstr "" -#: discord.TextChannel.edit:22 of +#: discord.TextChannel.edit:28 of msgid "" "Specifies the slowmode rate limit for user in this channel, in seconds. A" " value of `0` disables slowmode. The maximum value possible is `21600`." msgstr "" -#: discord.TextChannel.edit:25 discord.VoiceChannel.edit:22 of +#: discord.TextChannel.edit:31 of +msgid "" +"Change the type of this text channel. Currently, only conversion between " +":attr:`ChannelType.text` and :attr:`ChannelType.news` is supported. This " +"is only available to guilds that contain ``NEWS`` in " +":attr:`Guild.features`." +msgstr "" + +#: discord.TextChannel.edit:35 discord.VoiceChannel.edit:25 of msgid "The reason for editing this channel. Shows up on the audit log." msgstr "" -#: discord.TextChannel.edit:28 of -msgid "If position is less than 0 or greater than the number of channels." +#: discord.CategoryChannel.edit:19 discord.TextChannel.edit:37 +#: discord.VoiceChannel.edit:27 of +msgid "" +"A :class:`dict` of target (either a role or a member) to " +":class:`PermissionOverwrite` to apply to the channel." msgstr "" -#: discord.TextChannel.edit:29 discord.VoiceChannel.edit:25 of +#: discord.TextChannel.edit:41 of +msgid "" +"If position is less than 0 or greater than the number of channels, or if" +" the permission overwrite information is not in proper form." +msgstr "" + +#: discord.TextChannel.edit:42 discord.VoiceChannel.edit:32 of #, fuzzy msgid "You do not have permissions to edit the channel." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.TextChannel.edit:30 discord.VoiceChannel.edit:26 of +#: discord.TextChannel.edit:43 discord.VoiceChannel.edit:33 of #, fuzzy msgid "Editing the channel failed." msgstr ":exc:`.HTTPException` -- チャンネルの取得に失敗した。" @@ -10439,6 +13059,10 @@ msgid "" msgstr "" #: discord.TextChannel.delete_messages:23 of +msgid "If single delete, then the message was already deleted." +msgstr "" + +#: discord.TextChannel.delete_messages:24 of #, fuzzy msgid "Deleting the messages failed." msgstr "削除されたメッセージ。" @@ -10562,11 +13186,51 @@ msgstr ":exc:`.HTTPException` -- Webhookの取得に失敗した。" msgid "You do not have permissions to create a webhook." msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" -#: discord.TextChannel.create_webhook:21 of +#: discord.TextChannel.create_webhook:21 discord.TextChannel.follow:22 of msgid "The created webhook." msgstr "" -#: ../../api.rst:2187 +#: discord.TextChannel.follow:1 of +msgid "Follows a channel using a webhook." +msgstr "" + +#: discord.TextChannel.follow:3 of +#, fuzzy +msgid "Only news channels can be followed." +msgstr "チャンネルが作成されました。" + +#: discord.TextChannel.follow:7 of +msgid "" +"The webhook returned will not provide a token to do webhook actions, as " +"Discord does not provide it." +msgstr "" + +#: discord.TextChannel.follow:12 of +msgid "The channel you would like to follow from." +msgstr "" + +#: discord.TextChannel.follow:14 of +msgid "" +"The reason for following the channel. Shows up on the destination guild's" +" audit log. .. versionadded:: 1.4" +msgstr "" + +#: discord.TextChannel.follow:14 of +msgid "" +"The reason for following the channel. Shows up on the destination guild's" +" audit log." +msgstr "" + +#: discord.TextChannel.follow:19 of +msgid "Following the channel failed." +msgstr "" + +#: discord.TextChannel.follow:20 of +#, fuzzy +msgid "You do not have the permissions to create a webhook." +msgstr ":exc:`.Forbidden` -- このWebhookを取得する権限がない。" + +#: ../../api.rst:2734 msgid "VoiceChannel" msgstr "" @@ -10578,18 +13242,42 @@ msgstr "Discordサーバーのボイスチャンネルを表します。" msgid "Returns all members that are currently inside this voice channel." msgstr "" -#: discord.VoiceChannel.edit:8 of +#: discord.VoiceChannel.voice_states:1 of +#, fuzzy +msgid "Returns a mapping of member IDs who have voice states in this channel." +msgstr "ボイスの状態が変わった `Member` 。" + +#: discord.VoiceChannel.voice_states:7 of +msgid "" +"This function is intentionally low level to replace :attr:`members` when " +"the member cache is unavailable." +msgstr "" + +#: discord.VoiceChannel.voice_states:10 of +#, fuzzy +msgid "The mapping of member ID to a voice state." +msgstr "ボイスの状態が変わった `Member` 。" + +#: discord.VoiceChannel.voice_states:11 of +msgid "Mapping[:class:`int`, :class:`VoiceState`]" +msgstr "" + +#: discord.VoiceChannel.edit:11 of msgid "The new channel's name." msgstr "" -#: discord.VoiceChannel.edit:10 of +#: discord.VoiceChannel.edit:13 of msgid "The new channel's bitrate." msgstr "" -#: discord.VoiceChannel.edit:12 of +#: discord.VoiceChannel.edit:15 of msgid "The new channel's user limit." msgstr "" +#: discord.VoiceChannel.edit:31 of +msgid "If the permission overwrite information is not in proper form." +msgstr "" + #: discord.VoiceChannel.connect:3 of msgid "" "Connects to voice and creates a :class:`VoiceClient` to establish your " @@ -10606,30 +13294,37 @@ msgid "" " handshake fails or the gateway goes down." msgstr "" -#: discord.VoiceChannel.connect:13 of +#: discord.VoiceChannel.connect:12 of +msgid "" +"A type that subclasses :class:`~discord.VoiceProtocol` to connect with. " +"Defaults to :class:`~discord.VoiceClient`." +msgstr "" + +#: discord.VoiceChannel.connect:16 of #, fuzzy msgid "Could not connect to the voice channel in time." msgstr ":class:`abc.Connectable` -- 接続しているボイスチャンネル。" -#: discord.VoiceChannel.connect:14 of +#: discord.VoiceChannel.connect:17 of #, fuzzy msgid "You are already connected to a voice channel." msgstr "メンバーがボイスチャンネルに参加したとき。" -#: discord.VoiceChannel.connect:15 of +#: discord.VoiceChannel.connect:18 of #, fuzzy msgid "The opus library has not been loaded." msgstr "opusライブラリがロードされているかを表します。" -#: discord.VoiceChannel.connect:17 of +#: discord.VoiceChannel.connect:20 of msgid "A voice client that is fully connected to the voice server." msgstr "" -#: discord.VoiceChannel.connect:18 of -msgid ":class:`~discord.VoiceClient`" -msgstr "" +#: discord.VoiceChannel.connect:21 of +#, fuzzy +msgid ":class:`~discord.VoiceProtocol`" +msgstr ":class:`~discord.User`" -#: ../../api.rst:2194 +#: ../../api.rst:2741 msgid "CategoryChannel" msgstr "" @@ -10662,7 +13357,7 @@ msgstr "更新された後のギルド。" #: discord.CategoryChannel:37 of #, fuzzy msgid "The category channel ID." -msgstr "更新されたグループチャンネルの更新前情報。" +msgstr "新しいグループチャンネル。" #: discord.CategoryChannel:43 of msgid "" @@ -10671,35 +13366,36 @@ msgid "" msgstr "" #: discord.CategoryChannel.is_nsfw:1 of -msgid "Checks if the category is NSFW." +#, fuzzy +msgid ":class:`bool`: Checks if the category is NSFW." msgstr "カテゴリがNSFWであるかを返します。" -#: discord.CategoryChannel.edit:8 of +#: discord.CategoryChannel.edit:11 of msgid "The new category's name." msgstr "" -#: discord.CategoryChannel.edit:10 of +#: discord.CategoryChannel.edit:13 of msgid "The new category's position." msgstr "" -#: discord.CategoryChannel.edit:12 of +#: discord.CategoryChannel.edit:15 of msgid "To mark the category as NSFW or not." msgstr "" -#: discord.CategoryChannel.edit:14 of +#: discord.CategoryChannel.edit:17 of msgid "The reason for editing this category. Shows up on the audit log." msgstr "" -#: discord.CategoryChannel.edit:17 of +#: discord.CategoryChannel.edit:23 of msgid "If position is less than 0 or greater than the number of categories." msgstr "" -#: discord.CategoryChannel.edit:18 of +#: discord.CategoryChannel.edit:24 of #, fuzzy msgid "You do not have permissions to edit the category." msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" -#: discord.CategoryChannel.edit:19 of +#: discord.CategoryChannel.edit:25 of #, fuzzy msgid "Editing the category failed." msgstr "カテゴリの名前を返します。" @@ -10734,7 +13430,7 @@ msgid "" ":class:`VoiceChannel` in the category." msgstr "" -#: ../../api.rst:2201 +#: ../../api.rst:2748 msgid "DMChannel" msgstr "" @@ -10801,7 +13497,7 @@ msgstr "" msgid "The resolved permissions." msgstr "" -#: ../../api.rst:2215 +#: ../../api.rst:2762 msgid "GroupChannel" msgstr "" @@ -10816,12 +13512,12 @@ msgstr "" #: discord.GroupChannel:35 of #, fuzzy msgid "The group channel ID." -msgstr "プライベートのグループDM。" +msgstr "新しいグループチャンネル。" #: discord.GroupChannel:41 of #, fuzzy msgid "The user that owns the group channel." -msgstr "Banが解除されたユーザー。" +msgstr "新しいグループチャンネル。" #: discord.GroupChannel:47 of #, fuzzy @@ -10918,7 +13614,7 @@ msgstr "" msgid "Leaving the group failed." msgstr "" -#: ../../api.rst:2229 +#: ../../api.rst:2776 msgid "PartialInviteGuild" msgstr "" @@ -10984,6 +13680,10 @@ msgstr "ギルドの招待時のスプラッシュ画像の変更" msgid "The partial guild's description." msgstr "" +#: discord.PartialInviteGuild.is_icon_animated:1 of +msgid ":class:`bool`: Returns ``True`` if the guild has an animated icon." +msgstr "" + #: discord.PartialInviteGuild.icon_url_as:1 of msgid "The same operation as :meth:`Guild.icon_url_as`." msgstr "" @@ -10996,7 +13696,7 @@ msgstr "" msgid "The same operation as :meth:`Guild.splash_url_as`." msgstr "" -#: ../../api.rst:2235 +#: ../../api.rst:2782 msgid "PartialInviteChannel" msgstr "" @@ -11035,7 +13735,7 @@ msgstr "更新されたギルドの更新前情報。" msgid "The partial channel's type." msgstr "更新されたギルドの更新後情報。" -#: ../../api.rst:2241 +#: ../../api.rst:2788 msgid "Invite" msgstr "" @@ -11123,14 +13823,16 @@ msgid "The URL fragment used for the invite." msgstr "" #: discord.Invite:60 of -#, fuzzy -msgid "The guild the invite is for." -msgstr "参加したギルド。" +msgid "" +"The guild the invite is for. Can be ``None`` if it's from a group direct " +"message." +msgstr "" #: discord.Invite:62 of -#, fuzzy -msgid "Union[:class:`Guild`, :class:`PartialInviteGuild`]" -msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" +msgid "" +"Optional[Union[:class:`Guild`, :class:`Object`, " +":class:`PartialInviteGuild`]]" +msgstr "" #: discord.Invite:66 of #, fuzzy @@ -11155,11 +13857,6 @@ msgstr "" msgid "How many times the invite can be used." msgstr "" -#: discord.Invite:97 of -#, fuzzy -msgid "The user who created the invite." -msgstr ":class:`User` – 招待を作成したユーザー。" - #: discord.Invite:103 of msgid "The approximate number of members in the guild." msgstr "" @@ -11178,7 +13875,9 @@ msgstr "権限を確認したいチャンネル。" #: discord.Invite:118 of #, fuzzy -msgid "Union[:class:`abc.GuildChannel`, :class:`PartialInviteChannel`]" +msgid "" +"Union[:class:`abc.GuildChannel`, :class:`Object`, " +":class:`PartialInviteChannel`]" msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" #: discord.Invite.id:1 of @@ -11203,7 +13902,56 @@ msgstr "" msgid "The reason for deleting this invite. Shows up on the audit log." msgstr "" -#: ../../api.rst:2247 +#: ../../api.rst:2794 +msgid "Template" +msgstr "" + +#: discord.Template:1 of +#, fuzzy +msgid "Represents a Discord template." +msgstr "Discordの埋め込みを表します。" + +#: discord.Template:13 of +msgid "How many times the template has been used." +msgstr "" + +#: discord.Template:19 of +#, fuzzy +msgid "The name of the template." +msgstr "フィールドの名前。" + +#: discord.Template:25 of +#, fuzzy +msgid "The description of the template." +msgstr "更新後のメッセージ。" + +#: discord.Template:31 of +#, fuzzy +msgid "The creator of the template." +msgstr "リアクションの現在の状態。" + +#: discord.Template:37 of +#, fuzzy +msgid "When the template was created." +msgstr "新しい役職の作成。" + +#: discord.Template:43 of +msgid "" +"When the template was last updated (referred to as \"last synced\" in the" +" client)." +msgstr "" + +#: discord.Template:49 of +#, fuzzy +msgid "The source guild." +msgstr "ギルドのID。" + +#: discord.Template.create_guild:3 of +#, fuzzy +msgid "Creates a :class:`.Guild` using the template." +msgstr ":class:`.Guild` を作成します。" + +#: ../../api.rst:2800 msgid "WidgetChannel" msgstr "" @@ -11220,7 +13968,7 @@ msgstr "テキストチャンネル。" msgid "The channel's position" msgstr "" -#: ../../api.rst:2253 +#: ../../api.rst:2806 msgid "WidgetMember" msgstr "" @@ -11284,23 +14032,13 @@ msgid "The member's activity." msgstr "メンバーメンバーが退席中。" #: discord.WidgetMember:67 of -#, fuzzy -msgid "" -"Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`, " -":class:`Spotify`]]" +msgid "Optional[Union[:class:`BaseActivity`, :class:`Spotify`]]" msgstr "" -"Optional[Union[:class:`.Activity`, :class:`.Game`, :class:`.Streaming`]] " -"-- ログイン時のアクティビティ。" #: discord.WidgetMember:71 of msgid "Whether the member is currently deafened." msgstr "" -#: discord.WidgetMember:73 discord.WidgetMember:79 discord.WidgetMember:85 of -#, fuzzy -msgid "Optional[:class:`bool`]" -msgstr ":class:`bool`" - #: discord.WidgetMember:77 of msgid "Whether the member is currently muted." msgstr "" @@ -11319,7 +14057,7 @@ msgstr "ボイスチャンネルに接続しているかどうかを表します msgid "Returns the member's display name." msgstr "役職の名前を返します。" -#: ../../api.rst:2260 +#: ../../api.rst:2813 msgid "Widget" msgstr "" @@ -11358,7 +14096,14 @@ msgid "" "widget." msgstr "" -#: discord.Widget:40 of +#: discord.Widget:42 of +msgid "" +"Due to a Discord limitation, if this data is available the users will be " +"\"anonymized\" with linear IDs and discriminator information being " +"incorrect. Likewise, the number of members retrieved is capped." +msgstr "" + +#: discord.Widget:47 of msgid "Optional[List[:class:`Member`]]" msgstr "" @@ -11375,11 +14120,6 @@ msgstr "フィールドの名前。" msgid "The invite URL for the guild, if available." msgstr "" -#: discord.Widget.invite_url:3 of -#, fuzzy -msgid "Optiona[:class:`str`]" -msgstr ":class:`str`" - #: discord.Widget.fetch_invite:3 of msgid "" "Retrieves an :class:`Invite` from a invite URL or ID. This is the same as" @@ -11393,7 +14133,33 @@ msgid "" ":attr:`Invite.approximate_presence_count` fields." msgstr "" -#: ../../api.rst:2266 +#: ../../api.rst:2819 +msgid "MessageReference" +msgstr "" + +#: discord.MessageReference:1 of +msgid "Represents a reference to a :class:`Message`." +msgstr "" + +#: discord.MessageReference:7 of +msgid "The id of the message referenced." +msgstr "" + +#: discord.MessageReference:13 of +#, fuzzy +msgid "The channel id of the message referenced." +msgstr "更新後のメッセージ。" + +#: discord.MessageReference:19 of +msgid "The guild id of the message referenced." +msgstr "" + +#: discord.MessageReference.cached_message:1 discord.RawMessageDeleteEvent:23 +#: discord.RawMessageUpdateEvent:25 of +msgid "The cached message, if found in the internal message cache." +msgstr "" + +#: ../../api.rst:2824 msgid "RawMessageDeleteEvent" msgstr "" @@ -11414,11 +14180,7 @@ msgstr "" msgid "The message ID that got deleted." msgstr "削除されたメッセージのリスト。" -#: discord.RawMessageDeleteEvent:23 discord.RawMessageUpdateEvent:17 of -msgid "The cached message, if found in the internal message cache." -msgstr "" - -#: ../../api.rst:2272 +#: ../../api.rst:2830 msgid "RawBulkMessageDeleteEvent" msgstr "" @@ -11455,7 +14217,7 @@ msgstr "" msgid "List[:class:`Message`]" msgstr ":class:`bytes`" -#: ../../api.rst:2278 +#: ../../api.rst:2836 msgid "RawMessageUpdateEvent" msgstr "" @@ -11469,16 +14231,20 @@ msgid "The message ID that got updated." msgstr "Banが解除されたユーザー。" #: discord.RawMessageUpdateEvent:11 of +msgid "The channel ID where the update took place." +msgstr "" + +#: discord.RawMessageUpdateEvent:19 of #, fuzzy msgid "" "The raw data given by the `gateway " "`_" msgstr "" "このイベントの性質は、本質的に生表現のため、データのパラメータは `ゲートウェイ " -"`_ " +"`_ " "によって与えられた生データと一致します。" -#: ../../api.rst:2284 +#: ../../api.rst:2842 msgid "RawReactionActionEvent" msgstr "" @@ -11511,12 +14277,24 @@ msgstr "" msgid "The custom or unicode emoji being used." msgstr "" -#: discord.RawReactionActionEvent:32 of +#: discord.RawReactionActionEvent:32 discord.RawReactionClearEmojiEvent:27 of #, fuzzy msgid ":class:`PartialEmoji`" msgstr ":class:`.Profile`" -#: ../../api.rst:2290 +#: discord.RawReactionActionEvent:36 of +msgid "" +"The member who added the reaction. Only available if `event_type` is " +"`REACTION_ADD` and the reaction is inside a guild." +msgstr "" + +#: discord.RawReactionActionEvent:44 of +msgid "" +"The event type that triggered this action. Can be ``REACTION_ADD`` for " +"reaction addition or ``REACTION_REMOVE`` for reaction removal." +msgstr "" + +#: ../../api.rst:2848 msgid "RawReactionClearEvent" msgstr "" @@ -11524,42 +14302,54 @@ msgstr "" msgid "Represents the payload for a :func:`on_raw_reaction_clear` event." msgstr "" -#: discord.RawReactionClearEvent:5 of +#: discord.RawReactionClearEmojiEvent:7 discord.RawReactionClearEvent:5 of #, fuzzy msgid "The message ID that got its reactions cleared." msgstr "リアクションが削除されたメッセージ。" -#: discord.RawReactionClearEvent:11 of +#: discord.RawReactionClearEmojiEvent:13 discord.RawReactionClearEvent:11 of #, fuzzy msgid "The channel ID where the reactions got cleared." msgstr "リアクションが削除されたメッセージ。" -#: discord.RawReactionClearEvent:17 of +#: discord.RawReactionClearEmojiEvent:19 discord.RawReactionClearEvent:17 of #, fuzzy msgid "The guild ID where the reactions got cleared." msgstr "作成、または削除されたギルドチャンネル。" -#: ../../api.rst:2299 +#: ../../api.rst:2854 +msgid "RawReactionClearEmojiEvent" +msgstr "" + +#: discord.RawReactionClearEmojiEvent:1 of +msgid "Represents the payload for a :func:`on_raw_reaction_clear_emoji` event." +msgstr "" + +#: discord.RawReactionClearEmojiEvent:25 of +msgid "The custom or unicode emoji being removed." +msgstr "" + +#: ../../api.rst:2863 msgid "Data Classes" msgstr "データクラス" -#: ../../api.rst:2301 +#: ../../api.rst:2865 msgid "Some classes are just there to be data containers, this lists them." msgstr "" -#: ../../api.rst:2303 +#: ../../api.rst:2867 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 most " +"of these yourself, even if they can also be used to hold attributes." msgstr "" -#: ../../api.rst:2309 +#: ../../api.rst:2873 msgid "" "The only exception to this rule is :class:`abc.Snowflake`, which is made " "with dynamic attributes in mind." msgstr "" -#: ../../api.rst:2314 +#: ../../api.rst:2878 msgid "Object" msgstr "" @@ -11606,7 +14396,7 @@ msgstr "ユーザーのプロフィール。" msgid "Returns the snowflake's creation time in UTC." msgstr "役職の名前を返します。" -#: ../../api.rst:2320 +#: ../../api.rst:2884 msgid "Embed" msgstr "" @@ -11709,14 +14499,20 @@ msgstr "" msgid "If the attribute has no value then :attr:`Empty` is returned." msgstr "" +#: discord.Embed.author:7 discord.Embed.footer:7 discord.Embed.image:12 +#: discord.Embed.provider:7 discord.Embed.thumbnail:12 discord.Embed.video:11 +#: of +msgid "Union[:class:`EmbedProxy`, :attr:`Empty`]" +msgstr "" + #: discord.Embed.set_footer:1 of msgid "Sets the footer for the embed content." msgstr "" #: discord.Embed.add_field:3 discord.Embed.insert_field_at:3 -#: discord.Embed.set_author:3 discord.Embed.set_field_at:5 -#: discord.Embed.set_footer:3 discord.Embed.set_image:3 -#: discord.Embed.set_thumbnail:3 of +#: discord.Embed.remove_author:3 discord.Embed.set_author:3 +#: 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." @@ -11759,6 +14555,10 @@ msgid "Sets the image for the embed content." msgstr "" #: discord.Embed.set_image:6 of +msgid "Passing :attr:`Empty` removes the image." +msgstr "" + +#: discord.Embed.set_image:9 of msgid "The source URL for the image. Only HTTP(S) is supported." msgstr "" @@ -11771,6 +14571,10 @@ msgid "Sets the thumbnail for the embed content." msgstr "" #: discord.Embed.set_thumbnail:6 of +msgid "Passing :attr:`Empty` removes the thumbnail." +msgstr "" + +#: discord.Embed.set_thumbnail:9 of msgid "The source URL for the thumbnail. Only HTTP(S) is supported." msgstr "" @@ -11826,6 +14630,11 @@ msgstr "" msgid "The URL of the author icon. Only HTTP(S) is supported." msgstr "" +#: discord.Embed.remove_author:1 of +#, fuzzy +msgid "Clears embed's author information." +msgstr "Botのアプリケーション情報。" + #: discord.Embed.fields:1 of msgid "Returns a :class:`list` of ``EmbedProxy`` denoting the field contents." msgstr "" @@ -11834,6 +14643,10 @@ msgstr "" msgid "See :meth:`add_field` for possible values you can access." msgstr "" +#: discord.Embed.fields:7 of +msgid "Union[List[:class:`EmbedProxy`], :attr:`Empty`]" +msgstr "" + #: discord.Embed.add_field:1 of msgid "Adds a field to the embed object." msgstr "" @@ -11869,43 +14682,800 @@ msgstr "埋め込みからすべてのフィールドを削除します。" msgid "Removes a field at a specified index." msgstr "特定のインデックスのフィールドを削除します。" -#: discord.Embed.remove_field:3 of +#: discord.Embed.remove_field:3 of +msgid "" +"If the index is invalid or out of bounds then the error is silently " +"swallowed." +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." +msgstr "" + +#: discord.Embed.remove_field:11 of +msgid "The index of the field to remove." +msgstr "" + +#: discord.Embed.set_field_at:1 of +msgid "Modifies a field to the embed object." +msgstr "" + +#: discord.Embed.set_field_at:3 of +msgid "The index must point to a valid pre-existing field." +msgstr "" + +#: discord.Embed.set_field_at:8 of +msgid "The index of the field to modify." +msgstr "" + +#: discord.Embed.set_field_at:17 of +#, fuzzy +msgid "An invalid index was provided." +msgstr "招待の更新。" + +#: discord.Embed.to_dict:1 of +msgid "Converts this embed object into a dict." +msgstr "" + +#: ../../api.rst:2890 +msgid "AllowedMentions" +msgstr "" + +#: discord.AllowedMentions:1 of +msgid "A class that represents what mentions are allowed in a message." +msgstr "" + +#: discord.AllowedMentions:3 of +msgid "" +"This class can be set during :class:`Client` initialisation to apply to " +"every message sent. It can also be applied on a per message basis via " +":meth:`abc.Messageable.send` for more fine-grained control." +msgstr "" + +#: discord.AllowedMentions:9 of +msgid "Whether to allow everyone and here mentions. Defaults to ``True``." +msgstr "" + +#: discord.AllowedMentions:15 of +msgid "" +"Controls the users being mentioned. If ``True`` (the default) then users " +"are mentioned based on the message content. If ``False`` then users are " +"not mentioned at all. If a list of :class:`abc.Snowflake` is given then " +"only the users provided will be mentioned, provided those users are in " +"the message content." +msgstr "" + +#: discord.AllowedMentions:21 discord.AllowedMentions:31 of +#, fuzzy +msgid "Union[:class:`bool`, List[:class:`abc.Snowflake`]]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" + +#: discord.AllowedMentions:25 of +msgid "" +"Controls the roles being mentioned. If ``True`` (the default) then roles " +"are mentioned based on the message content. If ``False`` then roles are " +"not mentioned at all. If a list of :class:`abc.Snowflake` is given then " +"only the roles provided will be mentioned, provided those roles are in " +"the message content." +msgstr "" + +#: discord.AllowedMentions.all:1 of +msgid "" +"A factory method that returns a :class:`AllowedMentions` with all fields " +"explicitly set to ``True``" +msgstr "" + +#: discord.AllowedMentions.none:1 of +msgid "" +"A factory method that returns a :class:`AllowedMentions` with all fields " +"set to ``False``" +msgstr "" + +#: ../../api.rst:2896 +#, fuzzy +msgid "Intents" +msgstr "クライアント" + +#: discord.Intents:1 of +msgid "Wraps up a Discord gateway intent flag." +msgstr "" + +#: discord.Intents:3 of +msgid "" +"Similar to :class:`Permissions`\\, the properties provided are two way. " +"You can set and retrieve individual bits using the properties as if they " +"were regular bools." +msgstr "" + +#: discord.Intents:7 discord.MemberCacheFlags:12 discord.SystemChannelFlags:7 +#: of +msgid "" +"To construct an object you can pass keyword arguments denoting the flags " +"to enable or disable." +msgstr "" + +#: discord.Intents:10 of +msgid "" +"This is used to disable certain gateway features that are unnecessary to " +"run your bot. To make use of this, it is passed to the ``intents`` " +"keyword argument of :class:`Client`." +msgstr "" + +#: discord.Intents:20 discord.MemberCacheFlags:23 discord.MessageFlags:9 +#: discord.SystemChannelFlags:14 of +msgid "Checks if two flags are equal." +msgstr "" + +#: discord.Intents:23 discord.MemberCacheFlags:26 discord.MessageFlags:12 +#: discord.SystemChannelFlags:17 of +msgid "Checks if two flags are not equal." +msgstr "" + +#: discord.Intents:26 discord.MemberCacheFlags:29 discord.MessageFlags:15 +#: discord.PublicUserFlags:13 discord.SystemChannelFlags:20 of +msgid "Return the flag's hash." +msgstr "" + +#: discord.Intents:29 discord.MemberCacheFlags:32 discord.MessageFlags:18 +#: discord.SystemChannelFlags:23 of +msgid "" +"Returns an iterator of ``(name, value)`` pairs. This allows it to be, for" +" example, constructed as a dict or a list of pairs." +msgstr "" + +#: discord.Intents:34 discord.MemberCacheFlags:37 of +msgid "" +"The raw value. You should query flags via the properties rather than " +"using this raw value." +msgstr "" + +#: discord.Intents.all:1 of +msgid "A factory method that creates a :class:`Intents` with everything enabled." +msgstr "" + +#: discord.Intents.none:1 of +msgid "A factory method that creates a :class:`Intents` with everything disabled." +msgstr "" + +#: discord.Intents.default:1 of +msgid "" +"A factory method that creates a :class:`Intents` with everything enabled " +"except :attr:`presences` and :attr:`members`." +msgstr "" + +#: discord.Intents.guilds:1 of +msgid "Whether guild related events are enabled." +msgstr "" + +#: discord.Intents.bans:3 discord.Intents.dm_messages:5 +#: discord.Intents.dm_reactions:5 discord.Intents.dm_typing:5 +#: discord.Intents.emojis:3 discord.Intents.guild_messages:5 +#: discord.Intents.guild_reactions:5 discord.Intents.guild_typing:5 +#: discord.Intents.guilds:3 discord.Intents.integrations:3 +#: discord.Intents.invites:3 discord.Intents.members:3 +#: discord.Intents.messages:5 discord.Intents.presences:3 +#: discord.Intents.reactions:5 discord.Intents.typing:5 +#: discord.Intents.voice_states:3 discord.Intents.webhooks:3 of +msgid "This corresponds to the following events:" +msgstr "" + +#: discord.Intents.guilds:5 of +msgid ":func:`on_guild_join`" +msgstr "" + +#: discord.Intents.guilds:6 of +msgid ":func:`on_guild_remove`" +msgstr "" + +#: discord.Intents.guilds:7 of +msgid ":func:`on_guild_available`" +msgstr "" + +#: discord.Intents.guilds:8 of +msgid ":func:`on_guild_unavailable`" +msgstr "" + +#: discord.Intents.guilds:9 of +msgid ":func:`on_guild_channel_update`" +msgstr "" + +#: discord.Intents.guilds:10 of +msgid ":func:`on_guild_channel_create`" +msgstr "" + +#: discord.Intents.guilds:11 of +msgid ":func:`on_guild_channel_delete`" +msgstr "" + +#: discord.Intents.guilds:12 of +msgid ":func:`on_guild_channel_pins_update`" +msgstr "" + +#: discord.Intents.dm_messages:14 discord.Intents.dm_reactions:14 +#: discord.Intents.emojis:7 discord.Intents.guild_messages:13 +#: discord.Intents.guild_reactions:14 discord.Intents.guilds:14 +#: discord.Intents.members:10 discord.Intents.messages:14 +#: discord.Intents.presences:7 discord.Intents.reactions:14 +#: discord.Intents.voice_states:7 of +msgid "" +"This also corresponds to the following attributes and classes in terms of" +" cache:" +msgstr "" + +#: discord.Intents.guilds:16 of +#, fuzzy +msgid ":attr:`Client.guilds`" +msgstr ":attr:`created_at`" + +#: discord.Intents.guilds:17 of +msgid ":class:`Guild` and all its attributes." +msgstr "" + +#: discord.Intents.guilds:18 of +msgid ":meth:`Client.get_channel`" +msgstr "" + +#: discord.Intents.guilds:19 of +msgid ":meth:`Client.get_all_channels`" +msgstr "" + +#: discord.Intents.guilds:21 of +msgid "" +"It is highly advisable to leave this intent enabled for your bot to " +"function." +msgstr "" + +#: discord.Intents.members:1 of +msgid "Whether guild member related events are enabled." +msgstr "" + +#: discord.Intents.members:7 of +msgid ":func:`on_member_update` (nickname, roles)" +msgstr "" + +#: discord.Intents.members:8 of +msgid ":func:`on_user_update`" +msgstr "" + +#: discord.Intents.members:12 of +msgid ":meth:`Client.get_all_members`" +msgstr "" + +#: discord.Intents.members:13 of +msgid ":meth:`Guild.chunk`" +msgstr "" + +#: discord.Intents.members:14 of +msgid ":meth:`Guild.fetch_members`" +msgstr "" + +#: discord.Intents.members:15 of +msgid ":meth:`Guild.get_member`" +msgstr "" + +#: discord.Intents.members:16 of +#, fuzzy +msgid ":attr:`Guild.members`" +msgstr ":attr:`uses`" + +#: discord.Intents.members:17 of +#, fuzzy +msgid ":attr:`Member.roles`" +msgstr ":attr:`uses`" + +#: discord.Intents.members:18 of +#, fuzzy +msgid ":attr:`Member.nick`" +msgstr ":attr:`temporary`" + +#: discord.Intents.members:19 of +msgid ":attr:`Member.premium_since`" +msgstr "" + +#: discord.Intents.members:20 of +#, fuzzy +msgid ":attr:`User.name`" +msgstr ":attr:`uses`" + +#: discord.Intents.members:21 of +msgid "" +":attr:`User.avatar` (:meth:`User.avatar_url` and " +":meth:`User.avatar_url_as`)" +msgstr "" + +#: discord.Intents.members:22 of +#, fuzzy +msgid ":attr:`User.discriminator`" +msgstr "識別子" + +#: discord.Intents.members:24 of +msgid "" +"For more information go to the :ref:`member intent documentation " +"`." +msgstr "" + +#: discord.Intents.members:28 discord.Intents.presences:17 of +msgid "" +"Currently, this requires opting in explicitly via the developer portal as" +" well. Bots in over 100 guilds will need to apply to Discord for " +"verification." +msgstr "" + +#: discord.Intents.bans:1 of +msgid "Whether guild ban related events are enabled." +msgstr "" + +#: discord.Intents.bans:5 of +msgid ":func:`on_member_ban`" +msgstr "" + +#: discord.Intents.bans:6 of +msgid ":func:`on_member_unban`" +msgstr "" + +#: discord.Intents.bans:8 discord.Intents.dm_typing:9 +#: discord.Intents.guild_typing:9 discord.Intents.integrations:7 +#: discord.Intents.invites:8 discord.Intents.typing:9 +#: discord.Intents.webhooks:7 of +msgid "" +"This does not correspond to any attributes or classes in the library in " +"terms of cache." +msgstr "" + +#: discord.Intents.emojis:1 of +msgid "Whether guild emoji related events are enabled." +msgstr "" + +#: discord.Intents.emojis:5 of +msgid ":func:`on_guild_emojis_update`" +msgstr "" + +#: discord.Intents.emojis:10 of +msgid ":meth:`Client.get_emoji`" +msgstr "" + +#: discord.Intents.emojis:11 of +msgid ":meth:`Client.emojis`" +msgstr "" + +#: discord.Intents.emojis:12 of +#, fuzzy +msgid ":attr:`Guild.emojis`" +msgstr ":attr:`uses`" + +#: discord.Intents.integrations:1 of +msgid "Whether guild integration related events are enabled." +msgstr "" + +#: discord.Intents.integrations:5 of +msgid ":func:`on_guild_integrations_update`" +msgstr "" + +#: discord.Intents.webhooks:1 of +msgid "Whether guild webhook related events are enabled." +msgstr "" + +#: discord.Intents.webhooks:5 of +msgid ":func:`on_webhooks_update`" +msgstr "" + +#: discord.Intents.invites:1 of +#, fuzzy +msgid "Whether guild invite related events are enabled." +msgstr "ギルドで表現のフィルターが有効ではない。" + +#: discord.Intents.invites:5 of +msgid ":func:`on_invite_create`" +msgstr "" + +#: discord.Intents.invites:6 of +msgid ":func:`on_invite_delete`" +msgstr "" + +#: discord.Intents.voice_states:1 of +msgid "Whether guild voice state related events are enabled." +msgstr "" + +#: discord.Intents.voice_states:5 of +msgid ":func:`on_voice_state_update`" +msgstr "" + +#: discord.Intents.voice_states:9 of +#, fuzzy +msgid ":attr:`VoiceChannel.members`" +msgstr ":attr:`Permissions.mute_members`" + +#: discord.Intents.voice_states:10 of +msgid ":attr:`VoiceChannel.voice_states`" +msgstr "" + +#: discord.Intents.voice_states:11 of +msgid ":attr:`Member.voice`" +msgstr "" + +#: discord.Intents.presences:1 of +#, fuzzy +msgid "Whether guild presence related events are enabled." +msgstr "ギルドで表現のフィルターが有効ではない。" + +#: discord.Intents.presences:5 of +msgid ":func:`on_member_update` (activities, status)" +msgstr "" + +#: discord.Intents.presences:9 of +msgid ":attr:`Member.activities`" +msgstr "" + +#: discord.Intents.presences:10 of +#, fuzzy +msgid ":attr:`Member.status`" +msgstr ":attr:`max_uses`" + +#: discord.Intents.presences:11 of +#, fuzzy +msgid ":attr:`Member.raw_status`" +msgstr ":attr:`max_uses`" + +#: discord.Intents.presences:13 of +msgid "" +"For more information go to the :ref:`presence intent documentation " +"`." +msgstr "" + +#: discord.Intents.messages:1 of +msgid "Whether guild and direct message related events are enabled." +msgstr "" + +#: discord.Intents.messages:3 of +msgid "" +"This is a shortcut to set or get both :attr:`guild_messages` and " +":attr:`dm_messages`." +msgstr "" + +#: discord.Intents.messages:7 of +msgid ":func:`on_message` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:8 of +msgid ":func:`on_message_edit` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:9 of +msgid ":func:`on_message_delete` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:10 of +msgid ":func:`on_raw_message_delete` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:11 of +msgid ":func:`on_raw_message_edit` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.dm_messages:12 discord.Intents.messages:12 of +msgid ":func:`on_private_channel_create`" +msgstr "" + +#: discord.Intents.messages:17 of +#, fuzzy +msgid ":attr:`Client.cached_messages`" +msgstr ":attr:`created_at`" + +#: discord.Intents.dm_messages:19 discord.Intents.guild_messages:18 +#: discord.Intents.messages:19 of +msgid "" +"Note that due to an implicit relationship this also corresponds to the " +"following events:" +msgstr "" + +#: discord.Intents.messages:21 discord.Intents.reactions:7 of +msgid ":func:`on_reaction_add` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:22 discord.Intents.reactions:8 of +msgid ":func:`on_reaction_remove` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.messages:23 discord.Intents.reactions:9 of +msgid ":func:`on_reaction_clear` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.guild_messages:1 of +#, fuzzy +msgid "Whether guild message related events are enabled." +msgstr "ギルドで表現のフィルターが有効ではない。" + +#: discord.Intents.guild_messages:3 of +msgid "See also :attr:`dm_messages` for DMs or :attr:`messages` for both." +msgstr "" + +#: discord.Intents.guild_messages:7 of +msgid ":func:`on_message` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:8 of +msgid ":func:`on_message_edit` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:9 of +msgid ":func:`on_message_delete` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:10 of +msgid ":func:`on_raw_message_delete` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:11 of +msgid ":func:`on_raw_message_edit` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:16 of +msgid ":attr:`Client.cached_messages` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:20 discord.Intents.guild_reactions:7 of +msgid ":func:`on_reaction_add` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:21 discord.Intents.guild_reactions:8 of +msgid ":func:`on_reaction_remove` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_messages:22 discord.Intents.guild_reactions:9 of +msgid ":func:`on_reaction_clear` (only for guilds)" +msgstr "" + +#: discord.Intents.dm_messages:1 of +msgid "Whether direct message related events are enabled." +msgstr "" + +#: discord.Intents.dm_messages:3 of +msgid "See also :attr:`guild_messages` for guilds or :attr:`messages` for both." +msgstr "" + +#: discord.Intents.dm_messages:7 of +msgid ":func:`on_message` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:8 of +msgid ":func:`on_message_edit` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:9 of +msgid ":func:`on_message_delete` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:10 of +msgid ":func:`on_raw_message_delete` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:11 of +msgid ":func:`on_raw_message_edit` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:17 of +msgid ":attr:`Client.cached_messages` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:21 discord.Intents.dm_reactions:7 of +msgid ":func:`on_reaction_add` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:22 discord.Intents.dm_reactions:8 of +msgid ":func:`on_reaction_remove` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_messages:23 discord.Intents.dm_reactions:9 of +msgid ":func:`on_reaction_clear` (only for DMs)" +msgstr "" + +#: discord.Intents.reactions:1 of +msgid "Whether guild and direct message reaction related events are enabled." +msgstr "" + +#: discord.Intents.reactions:3 of +msgid "" +"This is a shortcut to set or get both :attr:`guild_reactions` and " +":attr:`dm_reactions`." +msgstr "" + +#: discord.Intents.reactions:10 of +msgid ":func:`on_raw_reaction_add` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.reactions:11 of +msgid ":func:`on_raw_reaction_remove` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.reactions:12 of +msgid ":func:`on_raw_reaction_clear` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.reactions:16 of +msgid ":attr:`Message.reactions` (both guild and DM messages)" +msgstr "" + +#: discord.Intents.guild_reactions:1 of +msgid "Whether guild message reaction related events are enabled." +msgstr "" + +#: discord.Intents.guild_reactions:3 of +msgid "See also :attr:`dm_reactions` for DMs or :attr:`reactions` for both." +msgstr "" + +#: discord.Intents.guild_reactions:10 of +msgid ":func:`on_raw_reaction_add` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_reactions:11 of +msgid ":func:`on_raw_reaction_remove` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_reactions:12 of +msgid ":func:`on_raw_reaction_clear` (only for guilds)" +msgstr "" + +#: discord.Intents.guild_reactions:16 of +msgid ":attr:`Message.reactions` (only for guild messages)" +msgstr "" + +#: discord.Intents.dm_reactions:1 of +msgid "Whether direct message reaction related events are enabled." +msgstr "" + +#: discord.Intents.dm_reactions:3 of +msgid "See also :attr:`guild_reactions` for guilds or :attr:`reactions` for both." +msgstr "" + +#: discord.Intents.dm_reactions:10 of +msgid ":func:`on_raw_reaction_add` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_reactions:11 of +msgid ":func:`on_raw_reaction_remove` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_reactions:12 of +msgid ":func:`on_raw_reaction_clear` (only for DMs)" +msgstr "" + +#: discord.Intents.dm_reactions:16 of +msgid ":attr:`Message.reactions` (only for DM messages)" +msgstr "" + +#: discord.Intents.dm_typing:1 discord.Intents.guild_typing:1 +#: discord.Intents.typing:1 of +msgid "Whether guild and direct message typing related events are enabled." +msgstr "" + +#: discord.Intents.typing:3 of +msgid "" +"This is a shortcut to set or get both :attr:`guild_typing` and " +":attr:`dm_typing`." +msgstr "" + +#: discord.Intents.typing:7 of +msgid ":func:`on_typing` (both guilds and DMs)" +msgstr "" + +#: discord.Intents.guild_typing:3 of +msgid "See also :attr:`dm_typing` for DMs or :attr:`typing` for both." +msgstr "" + +#: discord.Intents.guild_typing:7 of +msgid ":func:`on_typing` (only for guilds)" +msgstr "" + +#: discord.Intents.dm_typing:3 of +msgid "See also :attr:`guild_typing` for guilds or :attr:`typing` for both." +msgstr "" + +#: discord.Intents.dm_typing:7 of +msgid ":func:`on_typing` (only for DMs)" +msgstr "" + +#: ../../api.rst:2902 +msgid "MemberCacheFlags" +msgstr "" + +#: discord.MemberCacheFlags:1 of +msgid "Controls the library's cache policy when it comes to members." +msgstr "" + +#: discord.MemberCacheFlags:3 of +msgid "" +"This allows for finer grained control over what members are cached. Note " +"that the bot's own member is always cached. This class is passed to the " +"``member_cache_flags`` parameter in :class:`Client`." +msgstr "" + +#: discord.MemberCacheFlags:7 of +msgid "" +"Due to a quirk in how Discord works, in order to ensure proper cleanup of" +" cache resources it is recommended to have :attr:`Intents.members` " +"enabled. Otherwise the library cannot know when a member leaves a guild " +"and is thus unable to cleanup after itself." +msgstr "" + +#: discord.MemberCacheFlags:15 of +msgid "The default value is all flags enabled." +msgstr "" + +#: discord.MemberCacheFlags.all:1 of +msgid "" +"A factory method that creates a :class:`MemberCacheFlags` with everything" +" enabled." +msgstr "" + +#: discord.MemberCacheFlags.none:1 of msgid "" -"If the index is invalid or out of bounds then the error is silently " -"swallowed." +"A factory method that creates a :class:`MemberCacheFlags` with everything" +" disabled." msgstr "" -#: discord.Embed.remove_field:8 of +#: discord.MemberCacheFlags.online:1 of +msgid "Whether to cache members with a status." +msgstr "" + +#: discord.MemberCacheFlags.online:3 of msgid "" -"When deleting a field by index, the index of the other fields shift to " -"fill the gap just like a regular list." +"For example, members that are part of the initial ``GUILD_CREATE`` or " +"become online at a later point. This requires :attr:`Intents.presences`." msgstr "" -#: discord.Embed.remove_field:11 of -msgid "The index of the field to remove." +#: discord.MemberCacheFlags.online:6 of +msgid "Members that go offline are no longer cached." msgstr "" -#: discord.Embed.set_field_at:1 of -msgid "Modifies a field to the embed object." +#: discord.MemberCacheFlags.voice:1 of +msgid "Whether to cache members that are in voice." msgstr "" -#: discord.Embed.set_field_at:3 of -msgid "The index must point to a valid pre-existing field." +#: discord.MemberCacheFlags.voice:3 of +msgid "This requires :attr:`Intents.voice_states`." msgstr "" -#: discord.Embed.set_field_at:8 of -msgid "The index of the field to modify." +#: discord.MemberCacheFlags.voice:5 of +msgid "Members that leave voice are no longer cached." msgstr "" -#: discord.Embed.set_field_at:17 of -msgid "An invalid index was provided." +#: discord.MemberCacheFlags.joined:1 of +msgid "" +"Whether to cache members that joined the guild or are chunked as part of " +"the initial log in flow." msgstr "" -#: discord.Embed.to_dict:1 of -msgid "Converts this embed object into a dict." +#: discord.MemberCacheFlags.joined:4 of +msgid "This requires :attr:`Intents.members`." +msgstr "" + +#: discord.MemberCacheFlags.joined:6 of +msgid "Members that leave the guild are no longer cached." +msgstr "" + +#: discord.MemberCacheFlags.from_intents:1 of +msgid "" +"A factory method that creates a :class:`MemberCacheFlags` based on the " +"currently selected :class:`Intents`." +msgstr "" + +#: discord.MemberCacheFlags.from_intents:4 of +#, fuzzy +msgid "The intents to select from." +msgstr "メンションをエスケープするテキスト。" + +#: discord.MemberCacheFlags.from_intents:7 of +msgid "The resulting member cache flags." msgstr "" -#: ../../api.rst:2326 +#: discord.MemberCacheFlags.from_intents:8 of +#, fuzzy +msgid ":class:`MemberCacheFlags`" +msgstr ":class:`bytes`" + +#: ../../api.rst:2908 msgid "File" msgstr "" @@ -11917,43 +15487,49 @@ msgstr "" #: discord.File:6 of msgid "" +"File objects are single use and are not meant to be reused in multiple " +":meth:`abc.Messageable.send`\\s." +msgstr "" + +#: discord.File:11 of +msgid "" "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 +#: discord.File:17 of msgid "" "If the file-like object passed is opened via ``open`` then the modes 'rb'" " should be used." msgstr "" -#: discord.File:15 of +#: discord.File:20 of msgid "To pass binary data, consider usage of ``io.BytesIO``." msgstr "" -#: discord.File:17 of +#: discord.File:22 of msgid "Union[:class:`str`, :class:`io.BufferedIOBase`]" msgstr "" -#: discord.File:21 of +#: discord.File:26 of msgid "" "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 "" -#: discord.File:29 of +#: discord.File:34 of msgid "Whether the attachment is a spoiler." msgstr "" -#: ../../api.rst:2332 +#: ../../api.rst:2914 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 a (red, green," +" blue) :class:`tuple`." msgstr "" #: discord.Colour:4 of @@ -12007,7 +15583,7 @@ msgid "Constructs a :class:`Colour` from an HSV tuple." msgstr "" #: discord.Colour.default:1 of -msgid "A factory method that returns a :class:`Colour` with a value of 0." +msgid "A factory method that returns a :class:`Colour` with a value of ``0``." msgstr "" #: discord.Colour.teal:1 of @@ -12106,25 +15682,25 @@ msgid "" "``0x992d22``." msgstr "" -#: discord.Colour.lighter_grey:1 of +#: discord.Colour.lighter_gray:1 discord.Colour.lighter_grey:1 of msgid "" "A factory method that returns a :class:`Colour` with a value of " "``0x95a5a6``." msgstr "" -#: discord.Colour.dark_grey:1 of +#: discord.Colour.dark_gray:1 discord.Colour.dark_grey:1 of msgid "" "A factory method that returns a :class:`Colour` with a value of " "``0x607d8b``." msgstr "" -#: discord.Colour.light_grey:1 of +#: discord.Colour.light_gray:1 discord.Colour.light_grey:1 of msgid "" "A factory method that returns a :class:`Colour` with a value of " "``0x979c9f``." msgstr "" -#: discord.Colour.darker_grey:1 of +#: discord.Colour.darker_gray:1 discord.Colour.darker_grey:1 of msgid "" "A factory method that returns a :class:`Colour` with a value of " "``0x546e7a``." @@ -12142,7 +15718,59 @@ msgid "" "``0x99aab5``." msgstr "" -#: ../../api.rst:2338 +#: discord.Colour.dark_theme:1 of +msgid "" +"A factory method that returns a :class:`Colour` with a value of " +"``0x36393F``. This will appear transparent on Discord's dark theme." +msgstr "" + +#: ../../api.rst:2920 +msgid "BaseActivity" +msgstr "" + +#: discord.BaseActivity:1 of +msgid "" +"The base activity that all user-settable activities inherit from. A user-" +"settable activity is one that can be used in " +":meth:`Client.change_presence`." +msgstr "" + +#: discord.BaseActivity:4 of +msgid "The following types currently count as user-settable:" +msgstr "" + +#: discord.BaseActivity:6 of +#, fuzzy +msgid ":class:`Activity`" +msgstr ":class:`.Invite`" + +#: discord.Activity:9 discord.BaseActivity:7 of +msgid ":class:`Game`" +msgstr "" + +#: discord.Activity:10 discord.BaseActivity:8 of +msgid ":class:`Streaming`" +msgstr "" + +#: discord.BaseActivity:9 of +#, fuzzy +msgid ":class:`CustomActivity`" +msgstr ":class:`str`" + +#: discord.BaseActivity:11 of +msgid "" +"Note that although these types are considered user-settable by the " +"library, Discord typically ignores certain combinations of activity " +"depending on what is currently set. This behaviour may change in the " +"future so there are no guarantees on whether Discord will actually let " +"you set these types." +msgstr "" + +#: discord.BaseActivity.created_at:1 of +msgid "When the user started doing this activity in UTC." +msgstr "" + +#: ../../api.rst:2926 msgid "Activity" msgstr "" @@ -12162,14 +15790,6 @@ msgid "" "down versions:" msgstr "" -#: discord.Activity:9 of -msgid ":class:`Game`" -msgstr "" - -#: discord.Activity:10 of -msgid ":class:`Streaming`" -msgstr "" - #: discord.Activity:14 of msgid "The application ID of the game." msgstr "" @@ -12187,11 +15807,6 @@ msgstr "" msgid "The type of activity currently being done." msgstr "" -#: discord.Activity:34 of -#, fuzzy -msgid ":class:`ActivityType`" -msgstr ":class:`.Invite`" - #: discord.Activity:38 of msgid "The user's current state. For example, \"In Game\"." msgstr "" @@ -12258,6 +15873,14 @@ msgid "" "maximum_size)." msgstr "" +#: discord.Activity:82 of +msgid "The emoji that belongs to this activity." +msgstr "" + +#: discord.Activity:84 discord.CustomActivity:33 of +msgid "Optional[:class:`PartialEmoji`]" +msgstr "" + #: discord.Activity.start:1 of msgid "When the user started doing this activity in UTC, if applicable." msgstr "" @@ -12286,7 +15909,7 @@ msgstr "" msgid "Returns the small image asset hover text of this activity if applicable." msgstr "" -#: ../../api.rst:2344 +#: ../../api.rst:2932 msgid "Game" msgstr "" @@ -12350,7 +15973,7 @@ msgstr "" msgid "When the user will stop playing this game in UTC, if applicable." msgstr "" -#: ../../api.rst:2350 +#: ../../api.rst:2938 msgid "Streaming" msgstr "" @@ -12383,21 +16006,29 @@ msgid "Returns the stream's name." msgstr "" #: discord.Streaming:25 of +msgid "Where the user is streaming from (ie. YouTube, Twitch)." +msgstr "" + +#: discord.Streaming:33 of #, fuzzy msgid "The stream's name." msgstr "役職の名前を返します。" -#: discord.Streaming:31 of -msgid "" -"The stream's URL. Currently only twitch.tv URLs are supported. Anything " -"else is silently discarded." -msgstr "" +#: discord.Streaming:39 of +#, fuzzy +msgid "An alias for :attr:`name`" +msgstr ":attr:`dnd` のエイリアス。" + +#: discord.Streaming:45 of +#, fuzzy +msgid "The game being streamed." +msgstr "更新された後のギルド。" -#: discord.Streaming:38 of -msgid "If provided, typically the game the streamer is playing." +#: discord.Streaming:53 of +msgid "The stream's URL." msgstr "" -#: discord.Streaming:44 of +#: discord.Streaming:59 of msgid "" "A dictionary comprising of similar keys than those in " ":attr:`Activity.assets`." @@ -12418,7 +16049,33 @@ msgid "" "Typically set by the Discord client." msgstr "" -#: ../../api.rst:2356 +#: ../../api.rst:2944 +msgid "CustomActivity" +msgstr "" + +#: discord.CustomActivity:1 of +#, fuzzy +msgid "Represents a Custom activity from Discord." +msgstr "Discordのリレーションシップを表します。" + +#: discord.CustomActivity:19 of +#, fuzzy +msgid "Returns the custom status text." +msgstr "カテゴリの名前を返します。" + +#: discord.CustomActivity:25 of +msgid "The custom activity's name." +msgstr "" + +#: discord.CustomActivity:31 of +msgid "The emoji to pass to the activity, if any." +msgstr "" + +#: discord.CustomActivity.type:3 of +msgid "It always returns :attr:`ActivityType.custom`." +msgstr "" + +#: ../../api.rst:2950 msgid "Permissions" msgstr "" @@ -12433,41 +16090,48 @@ msgid "" "to edit permissions." msgstr "" -#: discord.Permissions:11 of +#: discord.Permissions:7 of +msgid "" +"You can now use keyword arguments to initialize :class:`Permissions` " +"similar to :meth:`update`." +msgstr "" + +#: discord.Permissions:15 of msgid "Checks if two permissions are equal." msgstr "" -#: discord.Permissions:14 of +#: discord.Permissions:18 of msgid "Checks if two permissions are not equal." msgstr "" -#: discord.Permissions:17 of +#: discord.Permissions:21 of msgid "Checks if a permission is a subset of another permission." msgstr "" -#: discord.Permissions:20 of +#: discord.Permissions:24 of msgid "Checks if a permission is a superset of another permission." msgstr "" -#: discord.Permissions:23 of +#: discord.Permissions:27 of msgid "Checks if a permission is a strict subset of another permission." msgstr "" -#: discord.Permissions:26 of +#: discord.Permissions:30 of msgid "Checks if a permission is a strict superset of another permission." msgstr "" -#: discord.Permissions:29 of +#: discord.Permissions:33 of msgid "Return the permission's hash." msgstr "" -#: discord.Permissions:32 of +#: discord.PermissionOverwrite:22 discord.Permissions:36 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." +" example, constructed as a dict or a list of pairs. Note that aliases are" +" not shown." msgstr "" -#: discord.Permissions:37 of +#: discord.Permissions:42 of msgid "" "The raw value. This value is a bit array field of a 53-bit integer " "representing the currently available permissions. You should query " @@ -12503,7 +16167,7 @@ msgstr "" #: discord.Permissions.all:1 of msgid "" "A factory method that creates a :class:`Permissions` with all permissions" -" set to True." +" set to ``True``." msgstr "" #: discord.Permissions.all_channel:1 of @@ -12628,6 +16292,11 @@ msgid "" "channels." msgstr "" +#: discord.Permissions.view_channel:1 of +#, fuzzy +msgid "An alias for :attr:`read_messages`." +msgstr ":attr:`extreme` のエイリアス。" + #: discord.Permissions.send_messages:1 of msgid "" "Returns ``True`` if a user can send messages from all or specific text " @@ -12672,6 +16341,15 @@ msgstr "" msgid "Returns ``True`` if a user can use emojis from other guilds." msgstr "" +#: discord.Permissions.use_external_emojis:1 of +#, fuzzy +msgid "An alias for :attr:`external_emojis`." +msgstr ":attr:`extreme` のエイリアス。" + +#: discord.Permissions.view_guild_insights:1 of +msgid "Returns ``True`` if a user can view the guild's insights." +msgstr "" + #: discord.Permissions.connect:1 of msgid "Returns ``True`` if a user can connect to a voice channel." msgstr "" @@ -12716,6 +16394,11 @@ msgid "" "override." msgstr "" +#: discord.Permissions.manage_permissions:1 of +#, fuzzy +msgid "An alias for :attr:`manage_roles`." +msgstr ":attr:`extreme` のエイリアス。" + #: discord.Permissions.manage_webhooks:1 of msgid "Returns ``True`` if a user can create, edit, or delete webhooks." msgstr "" @@ -12724,7 +16407,7 @@ msgstr "" msgid "Returns ``True`` if a user can create, edit, or delete emojis." msgstr "" -#: ../../api.rst:2362 +#: ../../api.rst:2956 msgid "PermissionOverwrite" msgstr "" @@ -12746,50 +16429,22 @@ msgid "" "the added possibility of it being set to ``None``." msgstr "" -#: discord.PermissionOverwrite:12 of -msgid "Supported operations:" -msgstr "サポートされている操作:" - -#: discord.PermissionOverwrite:15 of -msgid "Operation" -msgstr "" - -#: discord.PermissionOverwrite:17 of -msgid "x == y" -msgstr "" - -#: discord.PermissionOverwrite:17 of +#: discord.PermissionOverwrite:16 of msgid "Checks if two overwrites are equal." msgstr "" -#: discord.PermissionOverwrite:19 of -msgid "x != y" -msgstr "" - #: discord.PermissionOverwrite:19 of msgid "Checks if two overwrites are not equal." msgstr "" -#: discord.PermissionOverwrite:21 of -msgid "iter(x)" -msgstr "" - -#: discord.PermissionOverwrite:21 of -msgid "" -"Returns an iterator of (perm, value) pairs. This allows this class to be " -"used as an iterable in e.g. set/list/dict constructions." -msgstr "" - -#: discord.PermissionOverwrite:27 of +#: discord.PermissionOverwrite:26 of msgid "Set the value of permissions by their name." msgstr "" #: discord.PermissionOverwrite.pair:1 of -msgid "Returns the (allow, deny) pair from this overwrite." -msgstr "" - -#: discord.PermissionOverwrite.pair:3 of -msgid "The value of these pairs is :class:`Permissions`." +msgid "" +"Tuple[:class:`Permissions`, :class:`Permissions`]: Returns the (allow, " +"deny) pair from this overwrite." msgstr "" #: discord.PermissionOverwrite.from_pair:1 of @@ -12806,6 +16461,10 @@ msgid "" "``True`` or ``False``." msgstr "" +#: discord.PermissionOverwrite.is_empty:6 of +msgid "Indicates if the overwrite is empty." +msgstr "" + #: discord.PermissionOverwrite.update:1 of msgid "Bulk updates this permission overwrite object." msgstr "" @@ -12814,45 +16473,75 @@ msgstr "" msgid "A list of key/value pairs to bulk update with." msgstr "" -#: ../../api.rst:2368 -msgid "SystemChannelFlags" +#: ../../api.rst:2962 +msgid "ShardInfo" msgstr "" -#: discord.SystemChannelFlags:1 of -msgid "Wraps up a Discord system channel flag value." +#: discord.ShardInfo:1 of +msgid "A class that gives information and control over a specific shard." msgstr "" -#: discord.SystemChannelFlags:3 of +#: discord.ShardInfo:3 of msgid "" -"Similar to :class:`Permissions`\\, 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 the system flags easily." +"You can retrieve this object via :meth:`AutoShardedClient.get_shard` or " +":attr:`AutoShardedClient.shards`." msgstr "" -#: discord.SystemChannelFlags:7 of +#: discord.ShardInfo:10 of +#, fuzzy +msgid "The shard ID for this shard." +msgstr "準備が完了したShard ID。" + +#: discord.ShardInfo:16 of msgid "" -"To construct an object you can pass keyword arguments denoting the flags " -"to enable or disable." +"The shard count for this cluster. If this is ``None`` then the bot has " +"not started yet." msgstr "" -#: discord.SystemChannelFlags:14 of -msgid "Checks if two flags are equal." +#: discord.ShardInfo.is_closed:1 of +msgid ":class:`bool`: Whether the shard connection is currently closed." msgstr "" -#: discord.SystemChannelFlags:17 of -msgid "Checks if two flags are not equal." +#: discord.ShardInfo.disconnect:3 of +msgid "" +"Disconnects a shard. When this is called, the shard connection will no " +"longer be open." msgstr "" -#: discord.SystemChannelFlags:20 of -msgid "Return the flag's hash." +#: discord.ShardInfo.disconnect:6 of +msgid "If the shard is already disconnected this does nothing." msgstr "" -#: discord.SystemChannelFlags:23 of +#: discord.ShardInfo.reconnect:3 of +msgid "Disconnects and then connects the shard again." +msgstr "" + +#: discord.ShardInfo.connect:3 of +msgid "Connects a shard. If the shard is already connected this does nothing." +msgstr "" + +#: discord.ShardInfo.latency:1 of msgid "" -"Returns an iterator of ``(name, value)`` pairs. This allows it to be, for" -" example, constructed as a dict or a list of pairs." +"Measures latency between a HEARTBEAT and a HEARTBEAT_ACK in seconds for " +"this shard." +msgstr "" + +#: ../../api.rst:2968 +msgid "SystemChannelFlags" +msgstr "" + +#: discord.SystemChannelFlags:1 of +msgid "Wraps up a Discord system channel flag value." +msgstr "" + +#: discord.SystemChannelFlags:3 of +msgid "" +"Similar to :class:`Permissions`\\, 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 the system flags easily." msgstr "" +#: discord.MessageFlags:25 discord.PublicUserFlags:24 #: discord.SystemChannelFlags:28 of msgid "" "The raw value. This value is a bit array field of a 53-bit integer " @@ -12861,20 +16550,152 @@ msgid "" msgstr "" #: discord.SystemChannelFlags.join_notifications:1 of -msgid "Returns True if the system channel is used for member join notifications." +msgid "" +"Returns ``True`` if the system channel is used for member join " +"notifications." msgstr "" #: discord.SystemChannelFlags.premium_subscriptions:1 of msgid "" -"Returns True if the system channel is used for Nitro boosting " +"Returns ``True`` if the system channel is used for Nitro boosting " "notifications." msgstr "" -#: ../../api.rst:2375 +#: ../../api.rst:2974 +msgid "MessageFlags" +msgstr "" + +#: discord.MessageFlags:1 of +msgid "Wraps up a Discord Message flag value." +msgstr "" + +#: discord.MessageFlags:3 of +msgid "See :class:`SystemChannelFlags`." +msgstr "" + +#: discord.MessageFlags.crossposted:1 of +msgid "Returns ``True`` if the message is the original crossposted message." +msgstr "" + +#: discord.MessageFlags.is_crossposted:1 of +msgid "Returns ``True`` if the message was crossposted from another channel." +msgstr "" + +#: discord.MessageFlags.suppress_embeds:1 of +msgid "Returns ``True`` if the message's embeds have been suppressed." +msgstr "" + +#: discord.MessageFlags.source_message_deleted:1 of +msgid "" +"Returns ``True`` if the source message for this crosspost has been " +"deleted." +msgstr "" + +#: discord.MessageFlags.urgent:1 of +msgid "Returns ``True`` if the source message is an urgent message." +msgstr "" + +#: discord.MessageFlags.urgent:3 of +msgid "An urgent message is one sent by Discord Trust and Safety." +msgstr "" + +#: ../../api.rst:2980 +msgid "PublicUserFlags" +msgstr "" + +#: discord.PublicUserFlags:1 of +msgid "Wraps up the Discord User Public flags." +msgstr "" + +#: discord.PublicUserFlags:7 of +#, fuzzy +msgid "Checks if two PublicUserFlags are equal." +msgstr "二つのユーザーが等しいかを比較します。" + +#: discord.PublicUserFlags:10 of +#, fuzzy +msgid "Checks if two PublicUserFlags are not equal." +msgstr "二つのユーザーが等しいものではないか比較します。" + +#: discord.PublicUserFlags:16 of +msgid "" +"Returns an iterator of ``(name, value)`` pairs. This allows it to be, for" +" example, constructed as a dict or a list of pairs. Note that aliases are" +" not shown." +msgstr "" + +#: discord.PublicUserFlags.staff:1 of +msgid "Returns ``True`` if the user is a Discord Employee." +msgstr "" + +#: discord.PublicUserFlags.partner:1 of +#, fuzzy +msgid "Returns ``True`` if the user is a Discord Partner." +msgstr "ユーザーがDiscordパートナーかを示す真偽値。" + +#: discord.PublicUserFlags.hypesquad:1 of +msgid "Returns ``True`` if the user is a HypeSquad Events member." +msgstr "" + +#: discord.PublicUserFlags.bug_hunter:1 of +#, fuzzy +msgid "Returns ``True`` if the user is a Bug Hunter" +msgstr "ユーザーがバグハンターかを示す真偽値。" + +#: discord.PublicUserFlags.hypesquad_bravery:1 of +msgid "Returns ``True`` if the user is a HypeSquad Bravery member." +msgstr "" + +#: discord.PublicUserFlags.hypesquad_brilliance:1 of +msgid "Returns ``True`` if the user is a HypeSquad Brilliance member." +msgstr "" + +#: discord.PublicUserFlags.hypesquad_balance:1 of +msgid "Returns ``True`` if the user is a HypeSquad Balance member." +msgstr "" + +#: discord.PublicUserFlags.early_supporter:1 of +msgid "Returns ``True`` if the user is an Early Supporter." +msgstr "" + +#: discord.PublicUserFlags.team_user:1 of +msgid "Returns ``True`` if the user is a Team User." +msgstr "" + +#: discord.PublicUserFlags.system:1 of +msgid "" +"Returns ``True`` if the user is a system user (i.e. represents Discord " +"officially)." +msgstr "" + +#: discord.PublicUserFlags.bug_hunter_level_2:1 of +msgid "Returns ``True`` if the user is a Bug Hunter Level 2" +msgstr "" + +#: discord.PublicUserFlags.verified_bot:1 of +#, fuzzy +msgid "Returns ``True`` if the user is a Verified Bot." +msgstr ":class:`bool` -- ユーザーが認証済みアカウントであるかを表します。" + +#: discord.PublicUserFlags.verified_bot_developer:1 of +msgid "Returns ``True`` if the user is an Early Verified Bot Developer." +msgstr "" + +#: discord.PublicUserFlags.early_verified_bot_developer:1 of +#, fuzzy +msgid "An alias for :attr:`verified_bot_developer`." +msgstr ":attr:`dnd` のエイリアス。" + +#: discord.PublicUserFlags.all:1 of +#, fuzzy +msgid "List[:class:`UserFlags`]: Returns all public flags the user has." +msgstr "List[:class:`User`] -- ユーザーが持つすべてのリレーションシップを返します。" + +#: ../../api.rst:2987 msgid "Exceptions" msgstr "例外" -#: ../../api.rst:2377 +#: ../../api.rst:2989 msgid "The following exceptions are thrown by the library." msgstr "" @@ -12948,6 +16769,15 @@ msgstr ":exc:`HTTPException` のサブクラス" msgid "Exception that's thrown for when status code 404 occurs." msgstr "" +#: discord.DiscordServerError:1 of +msgid "Exception that's thrown for when a 500 range status code occurs." +msgstr "" + +#: discord.DiscordServerError:3 of +#, fuzzy +msgid "Subclass of :exc:`HTTPException`." +msgstr ":exc:`HTTPException` のサブクラス" + #: discord.InvalidData:1 of msgid "" "Exception that's raised when the library encounters unknown or invalid " @@ -12988,10 +16818,32 @@ msgstr "" msgid "The reason provided for the closure." msgstr "クライアントによって提供されるデフォルトのエラーハンドラ。" -#: discord.ConnectionClosed:18 of +#: discord.ConnectionClosed:18 discord.PrivilegedIntentsRequired:12 of msgid "The shard ID that got closed if applicable." msgstr "" +#: discord.PrivilegedIntentsRequired:1 of +msgid "" +"Exception that's thrown when the gateway is requesting privileged intents" +" but they're not ticked in the developer page yet." +msgstr "" + +#: discord.PrivilegedIntentsRequired:4 of +msgid "" +"Go to https://discord.com/developers/applications/ and enable the intents" +" that are required. Currently these are as follows:" +msgstr "" + +#: discord.PrivilegedIntentsRequired:7 of +#, fuzzy +msgid ":attr:`Intents.members`" +msgstr ":attr:`Permissions.mute_members`" + +#: discord.PrivilegedIntentsRequired:8 of +#, fuzzy +msgid ":attr:`Intents.presences`" +msgstr ":attr:`approximate_presence_count`" + #: discord.opus.OpusError:1 of msgid "An exception that is thrown for libopus related errors." msgstr "" @@ -13004,58 +16856,81 @@ msgstr "" msgid "An exception that is thrown for when libopus is not loaded." msgstr "" -#: ../../api.rst:2407 +#: ../../api.rst:3023 msgid "Exception Hierarchy" msgstr "" -#: ../../api.rst:2421 +#: ../../api.rst:3039 msgid ":exc:`Exception`" msgstr "" -#: ../../api.rst:2421 +#: ../../api.rst:3039 msgid ":exc:`DiscordException`" msgstr "" -#: ../../api.rst:2416 +#: ../../api.rst:3033 msgid ":exc:`ClientException`" msgstr "" -#: ../../api.rst:2414 +#: ../../api.rst:3030 msgid ":exc:`InvalidData`" msgstr "" -#: ../../api.rst:2415 +#: ../../api.rst:3031 msgid ":exc:`InvalidArgument`" msgstr "" -#: ../../api.rst:2416 +#: ../../api.rst:3032 msgid ":exc:`LoginFailure`" msgstr "" -#: ../../api.rst:2417 +#: ../../api.rst:3033 msgid ":exc:`ConnectionClosed`" msgstr "" -#: ../../api.rst:2418 +#: ../../api.rst:3034 +msgid ":exc:`PrivilegedIntentsRequired`" +msgstr "" + +#: ../../api.rst:3035 msgid ":exc:`NoMoreItems`" msgstr "" -#: ../../api.rst:2419 +#: ../../api.rst:3036 msgid ":exc:`GatewayNotFound`" msgstr "" -#: ../../api.rst:2421 +#: ../../api.rst:3039 msgid ":exc:`HTTPException`" msgstr "" -#: ../../api.rst:2421 +#: ../../api.rst:3038 msgid ":exc:`Forbidden`" msgstr "" -#: ../../api.rst:2422 +#: ../../api.rst:3039 msgid ":exc:`NotFound`" msgstr "" +#: ../../api.rst:3040 +#, fuzzy +msgid ":exc:`DiscordServerError`" +msgstr ":class:`~discord.User`" + +#~ 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." +#~ msgstr "" +#~ "参加しているすべてのギルドのオフラインメンバーも取得するために、 :func:`.on_ready` " +#~ "を遅延させるかどうかを表します。これが ``False`` の場合、オフラインメンバーの取得は行われず、 " +#~ ":meth:`request_offline_members` を使用してギルドのオフラインメンバーを取得する必要があります。" + #~ msgid "" #~ ":class:`float` -- Measures latency between " #~ "a HEARTBEAT and a HEARTBEAT_ACK in " @@ -13065,12 +16940,49 @@ msgstr "" #~ msgid "List[:class:`.VoiceClient`] -- Represents a list of voice connections." #~ msgstr "List[:class:`.VoiceClient`] -- 音声接続のリストを表します。" +#~ msgid "" +#~ "Optional[Union[:class:`.Activity`, :class:`.Game`, " +#~ ":class:`.Streaming`]] -- The activity being" +#~ " used upon logging in." +#~ msgstr "" +#~ "Optional[Union[:class:`.Activity`, :class:`.Game`, " +#~ ":class:`.Streaming`]] -- ログイン時のアクティビティ。" + +#~ msgid "" +#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ ":class:`.abc.PrivateChannel`]]: Returns a channel" +#~ " with the given ID." +#~ msgstr "" +#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ ":class:`.abc.PrivateChannel`]]: 与えられたIDを持つチャンネルを返します。" + +#~ msgid "If not found, returns ``None``." +#~ msgstr "見つからない場合は、 ``None`` を返します。" + #~ msgid ":exc:`.HTTPException` -- Getting the guilds failed." #~ msgstr ":exc:`.HTTPException` -- ギルドの取得に失敗した。" +#~ 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`." +#~ msgstr "" +#~ "Activityパラメータは現在のアクティビティをあらわす:class:`.Activity` (文字列ではない) " +#~ "です。これはスリム化された :class:`.Game` や :class:`.Streaming`" +#~ " でもいいです。" + #~ msgid ":exc:`.NotFound` -- Invalid Channel ID." #~ msgstr ":exc:`.NotFound` -- チャンネルのIDが無効。" +#~ msgid "" +#~ "Gets an arbitrary user's profile. This" +#~ " can only be used by non-bot" +#~ " accounts." +#~ msgstr "任意のユーザーのプロフィールを取得します。これはBotアカウント以外でのみ使用可能です。" + #~ msgid ":exc:`.NotFound` -- Invalid webhook ID." #~ msgstr ":exc:`.NotFound` -- WebhookのIDが無効。" @@ -13088,6 +17000,18 @@ msgstr "" #~ "List[Tuple[:class:`int`, :class:`float`]] -- " #~ "HEARTBEATとHEARTBEAT_ACK間の待ち時間を秒単位で表したリスト。" +#~ 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`." +#~ msgstr "" +#~ "activityパラメータは現在実行中のアクティビティを表す :class:`Activity` " +#~ "オブジェクト(文字列ではありません)です。これはスリムなダウンバージョン、 :class:`Game` や " +#~ ":class:`Streaming` でも構いません。" + #~ msgid ":class:`int` -- The application ID." #~ msgstr ":class:`int` -- アプリケーションID。" @@ -13095,11 +17019,34 @@ msgstr "" #~ "Optional[List[:class:`str`]] -- A list of " #~ "RPC origin URLs, if RPC is " #~ "enabled." -#~ msgstr "" +#~ msgstr "Optional[List[:class:`str`]] -- RPCが有効になっている場合のRPCオリジンURLのリスト。" + +#~ msgid "" +#~ "In order to play audio, you must" +#~ " have loaded the opus library through" +#~ " :func:`opus.load_opus`." +#~ msgstr "オーディオの再生を行うためには :func:`opus.load_opus` を使用してopusライブラリをロードしておく必要があります。" + +#~ msgid "" +#~ "If you don't do this then the " +#~ "library will not be able to " +#~ "transmit audio." +#~ msgstr "ロードを行っていない場合、オーディオの送信ができません。" #~ msgid ":exc:`TypeError` -- Not an audio source." #~ msgstr ":exc:`TypeError` -- オーディオソースでない。" +#~ msgid "game playing" +#~ msgstr "遊んでいるゲーム" + +#~ 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." +#~ msgstr "" + #~ msgid ":class:`AuditLogAction` -- The action that was done." #~ msgstr "" @@ -13149,6 +17096,133 @@ msgstr "" #~ msgid ":class:`AuditLogDiff` -- The target's subsequent state." #~ msgstr "" +#~ msgid ":class:`str` – A name of something." +#~ msgstr "" + +#~ msgid ":class:`str` – A guild's icon hash. See also :attr:`Guild.icon`." +#~ msgstr "" + +#~ msgid "" +#~ ":class:`str` – The guild's invite splash" +#~ " hash. See also :attr:`Guild.splash`." +#~ msgstr "" + +#~ msgid "" +#~ "Union[:class:`Member`, :class:`User`] – The " +#~ "guild's owner. See also :attr:`Guild.owner`" +#~ msgstr "" + +#~ msgid "" +#~ ":class:`VoiceRegion` – The guild's voice " +#~ "region. See also :attr:`Guild.region`." +#~ msgstr "" + +#~ msgid "" +#~ "Union[:class:`VoiceChannel`, :class:`Object`] – The" +#~ " guild's AFK channel." +#~ msgstr "" + +#~ msgid "" +#~ "Union[:class:`TextChannel`, :class:`Object`] – The" +#~ " guild's system channel." +#~ msgstr "" + +#~ msgid ":class:`int` – The guild's AFK timeout. See :attr:`Guild.afk_timeout`." +#~ msgstr "" + +#~ msgid ":class:`int` - The guild's MFA level. See :attr:`Guild.mfa_level`." +#~ msgstr "" + +#~ msgid ":class:`bool` – The guild's widget has been enabled or disabled." +#~ msgstr "" + +#~ msgid "Union[:class:`TextChannel`, :class:`Object`] – The widget's channel." +#~ msgstr "" + +#~ msgid ":class:`VerificationLevel` – The guild's verification level." +#~ msgstr "" + +#~ msgid ":class:`NotificationLevel` – The guild's default notification level." +#~ msgstr "" + +#~ msgid ":class:`ContentFilter` – The guild's content filter." +#~ msgstr "" + +#~ msgid ":class:`int` – The guild's default message notification setting." +#~ msgstr "" + +#~ msgid ":class:`str` – The guild's vanity URL." +#~ msgstr "" + +#~ msgid "" +#~ ":class:`int` – The position of a " +#~ ":class:`Role` or :class:`abc.GuildChannel`." +#~ msgstr "" + +#~ msgid "" +#~ "Union[:class:`int`, :class:`str`] – The type" +#~ " of channel or channel permission " +#~ "overwrite." +#~ msgstr "" + +#~ msgid ":class:`int` – The bitrate of a :class:`VoiceChannel`." +#~ msgstr "" + +#~ msgid "" +#~ "List[Tuple[target, :class:`PermissionOverwrite`]] – " +#~ "A list of permission overwrite tuples" +#~ " that represents a target and a " +#~ ":class:`PermissionOverwrite` for said target." +#~ msgstr "" + +#~ msgid "" +#~ "List[Union[:class:`Role`, :class:`Object`]] – A " +#~ "list of roles being added or " +#~ "removed from a member." +#~ msgstr "" + +#~ msgid "Optional[:class:`str`] – The nickname of a member." +#~ msgstr "" + +#~ msgid ":class:`bool` – Whether the member is being server deafened." +#~ msgstr "" + +#~ msgid ":class:`bool` – Whether the member is being server muted." +#~ msgstr "" + +#~ msgid ":class:`bool` – Whether the role is being hoisted or not." +#~ msgstr "" + +#~ msgid ":class:`bool` – Whether the role is mentionable or not." +#~ msgstr "" + +#~ msgid ":class:`str` – The invite's code." +#~ msgstr "" + +#~ msgid "Union[:class:`abc.GuildChannel`, :class:`Object`] – A guild channel." +#~ msgstr "" + +#~ msgid ":class:`int` – The invite's max age in seconds." +#~ msgstr "" + +#~ msgid ":class:`bool` – If the invite is a temporary invite." +#~ msgstr "" + +#~ msgid ":class:`Permissions` – The permissions being allowed or denied." +#~ msgstr "" + +#~ msgid ":class:`int` – The ID of the object being changed." +#~ msgstr "" + +#~ msgid ":class:`str` – The avatar hash of a member." +#~ msgstr "" + +#~ msgid "" +#~ ":class:`int` – The number of seconds " +#~ "members have to wait before sending " +#~ "another message in the channel." +#~ msgstr "" + #~ msgid ":class:`int` -- The webhook's ID" #~ msgstr "" @@ -13174,6 +17248,9 @@ msgstr "" #~ msgid "Optional[:class:`str`] -- The default avatar of the webhook." #~ msgstr "" +#~ msgid "A partial webhook is just a webhook object with an ID and a token." +#~ msgstr "" + #~ msgid ":exc:`InvalidArgument` -- The URL is invalid." #~ msgstr "" @@ -13286,6 +17363,15 @@ msgstr "" #~ "channel's creation time in UTC." #~ msgstr "" +#~ msgid "" +#~ "This is returned as a dictionary " +#~ "where the key contains the target " +#~ "which can be either a " +#~ ":class:`~discord.Role` or a :class:`~discord.Member`" +#~ " and the key is the overwrite " +#~ "as a :class:`~discord.PermissionOverwrite`." +#~ msgstr "" + #~ msgid "" #~ "Optional[:class:`~discord.CategoryChannel`] -- The " #~ "category this channel belongs to." @@ -13306,6 +17392,18 @@ msgstr "" #~ " do this." #~ msgstr "" +#~ msgid "" +#~ "How long the invite should last. " +#~ "If it's 0 then the invite doesn't" +#~ " expire. Defaults to 0." +#~ msgstr "" + +#~ msgid "" +#~ "How many uses the invite could be" +#~ " used for. If it's 0 then there" +#~ " are unlimited uses. Defaults to 0." +#~ msgstr "" + #~ msgid ":exc:`~discord.HTTPException` -- Invite creation failed." #~ msgstr "" @@ -13350,6 +17448,9 @@ msgstr "" #~ " this." #~ msgstr "" +#~ msgid "The permissions to allow and deny to the target." +#~ msgstr "" + #~ msgid "" #~ ":exc:`~discord.Forbidden` -- You do not " #~ "have permissions to edit channel " @@ -13416,49 +17517,6 @@ msgstr "" #~ "and ``files``." #~ msgstr "" -#~ msgid ":class:`bool` -- Specifies if the user is a bot account." -#~ msgstr "" - -#~ msgid ":class:`bool` -- Specifies if the user is a verified account." -#~ msgstr "" - -#~ msgid "Optional[:class:`str`] -- The email the user used when registering." -#~ msgstr "" - -#~ msgid "" -#~ "Optional[:class:`str`] -- The IETF language" -#~ " tag used to identify the language" -#~ " the user is using." -#~ msgstr "" - -#~ msgid ":class:`bool` -- Specifies if the user has MFA turned on and working." -#~ msgstr "" - -#~ msgid "" -#~ ":class:`bool` -- Specifies if the user" -#~ " is a premium user (e.g. has " -#~ "Discord Nitro)." -#~ msgstr "" - -#~ msgid "" -#~ ":class:`PremiumType` -- Specifies the type " -#~ "of premium a user has (e.g. Nitro" -#~ " or Nitro Classic). Could be None " -#~ "if the user is not premium." -#~ msgstr "" - -#~ msgid "List[:class:`User`] -- Returns all the relationships that the user has." -#~ msgstr "" - -#~ msgid "" -#~ "List[:class:`User`] -- Returns all the " -#~ "users that the user is friends " -#~ "with." -#~ msgstr "" - -#~ msgid "List[:class:`User`] -- Returns all the users that the user has blocked." -#~ msgstr "" - #~ msgid "" #~ ":exc:`InvalidArgument` -- Bad image format " #~ "passed to ``format`` or ``static_format``, " @@ -13472,6 +17530,9 @@ msgstr "" #~ "returns :meth:`Colour.default`." #~ msgstr "" +#~ msgid "There is an alias for this named :meth:`colour`." +#~ msgstr "" + #~ msgid "" #~ ":class:`Colour` -- A property that " #~ "returns a colour denoting the rendered" @@ -13479,7 +17540,7 @@ msgstr "" #~ "returns :meth:`Colour.default`." #~ msgstr "" -#~ msgid ":exc:`HTTPException` -- Failed to create the group direct message." +#~ msgid "There is an alias for this named :meth:`color`." #~ msgstr "" #~ msgid "" @@ -13501,22 +17562,7 @@ msgstr "" #~ msgid ":class:`Asset` -- Returns a URL for a user's default avatar." #~ msgstr "" -#~ msgid ":exc:`HTTPException` -- Editing your profile failed." -#~ msgstr "" - -#~ msgid ":exc:`InvalidArgument` -- Wrong image format passed for ``avatar``." -#~ msgstr "" - -#~ msgid "" -#~ ":exc:`ClientException` -- Password is required" -#~ " for non-bot accounts. House field" -#~ " was not a HypeSquadHouse." -#~ msgstr "" - -#~ msgid ":exc:`HTTPException` -- Editing the settings failed." -#~ msgstr "" - -#~ msgid ":exc:`Forbidden` -- The client is a bot user and not a user account." +#~ msgid "Indicates if the user has an animated avatar." #~ msgstr "" #~ msgid ":class:`User` -- The user you have the relationship with." @@ -13573,6 +17619,12 @@ msgstr "" #~ msgid ":exc:`HTTPException` -- Unblocking the user failed." #~ msgstr "" +#~ msgid "Checks if the user is your friend." +#~ msgstr "" + +#~ msgid "Checks if the user is blocked." +#~ msgstr "" + #~ msgid ":class:`int` -- The attachment ID." #~ msgstr "" @@ -13823,6 +17875,12 @@ msgstr "" #~ "the reactions." #~ msgstr "" +#~ msgid "" +#~ "If provided, the number of seconds " +#~ "to wait in the background before " +#~ "deleting the message." +#~ msgstr "" + #~ msgid "" #~ ":exc:`Forbidden` -- You do not have " #~ "proper permissions to delete the " @@ -14023,6 +18081,9 @@ msgstr "" #~ "currently as follows:" #~ msgstr "" +#~ msgid "``LURKABLE``: Users can lurk in this guild via Server Discovery." +#~ msgstr "" + #~ msgid "Optional[:class:`str`] -- The guild's invite splash." #~ msgstr "" @@ -14036,6 +18097,13 @@ msgstr "" #~ msgid ":class:`int` -- How many users have currently \"boosted\" this guild." #~ msgstr "" +#~ msgid "" +#~ "If set to ``True``, return entries " +#~ "in oldest->newest order. Defaults to " +#~ "True if ``after`` is specified, " +#~ "otherwise ``False``." +#~ msgstr "" + #~ msgid ":exc:`Forbidden` -- You are not allowed to fetch audit logs" #~ msgstr "" @@ -14058,6 +18126,9 @@ msgstr "" #~ "guild." #~ msgstr "" +#~ msgid "Returns the :class:`VoiceClient` associated with this guild, if any." +#~ msgstr "" + #~ msgid "" #~ "List[:class:`TextChannel`] -- A list of " #~ "text channels that belongs to this " @@ -14070,6 +18141,12 @@ msgstr "" #~ "guild." #~ msgstr "" +#~ msgid "" +#~ "Returns a :class:`abc.GuildChannel` with the" +#~ " given ID. If not found, returns " +#~ "None." +#~ msgstr "" + #~ msgid ":class:`int` -- The maximum number of emoji slots this guild has." #~ msgstr "" @@ -14088,11 +18165,19 @@ msgstr "" #~ msgid "List[:class:`Member`] -- A list of members that belong to this guild." #~ msgstr "" +#~ msgid "" +#~ "Returns a :class:`Member` with the given" +#~ " ID. If not found, returns None." +#~ msgstr "" + #~ msgid "" #~ "List[:class:`Member`] -- A list of " #~ "members who have \"boosted\" this guild." #~ msgstr "" +#~ msgid "Returns a :class:`Role` with the given ID. If not found, returns None." +#~ msgstr "" + #~ msgid ":class:`Member` -- The member that owns the guild." #~ msgstr "" @@ -14170,6 +18255,29 @@ msgstr "" #~ msgid ":exc:`Forbidden` -- You do not have permissions to delete the guild." #~ msgstr "" +#~ msgid "" +#~ "The new description of the guild. " +#~ "This is only available to guilds " +#~ "that contain `VERIFIED` in " +#~ ":attr:`Guild.features`." +#~ msgstr "" + +#~ msgid "" +#~ "A :term:`py:bytes-like object` representing" +#~ " the icon. Only PNG/JPEG supported. " +#~ "Could be ``None`` to denote removal " +#~ "of the icon." +#~ msgstr "" + +#~ 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." +#~ msgstr "" + #~ msgid ":exc:`Forbidden` -- You do not have permissions to edit the guild." #~ msgstr "" @@ -14241,6 +18349,11 @@ msgstr "" #~ msgid ":exc:`HTTPException` -- Unbanning failed." #~ msgstr "" +#~ msgid "" +#~ "The guild must be partnered, i.e. " +#~ "have 'VANITY_URL' in :attr:`~Guild.features`." +#~ msgstr "" + #~ msgid ":exc:`Forbidden` -- You do not have the proper permissions to get this." #~ msgstr "" @@ -14314,6 +18427,12 @@ msgstr "" #~ "on the web client, if applicable." #~ msgstr "" +#~ msgid "" +#~ "A helper function that determines if " +#~ "a member is active on a mobile " +#~ "device." +#~ msgstr "" + #~ msgid "" #~ ":class:`Colour` -- A property that " #~ "returns a colour denoting the rendered" @@ -14380,6 +18499,12 @@ msgstr "" #~ "'@everyone' role." #~ msgstr "" +#~ msgid "There is an alias for this named :meth:`color`" +#~ msgstr "" + +#~ msgid "There is an alias for this named :meth:`colour`" +#~ msgstr "" + #~ msgid "" #~ ":class:`str` -- The activity's name. " #~ "This will always return \"Spotify\"." @@ -14527,6 +18652,12 @@ msgstr "" #~ msgid "Optional[:class:`int`] -- The ID of the custom emoji, if applicable." #~ msgstr "" +#~ msgid "Checks if this is a custom non-Unicode emoji." +#~ msgstr "" + +#~ msgid "Checks if this is a Unicode emoji." +#~ msgstr "" + #~ msgid ":class:`Asset` -- Returns an asset of the emoji, if it is custom." #~ msgstr "" @@ -14570,6 +18701,9 @@ msgstr "" #~ msgid ":class:`bool` -- Indicates if the role can be mentioned by users." #~ msgstr "" +#~ msgid "Checks if the role is the default role." +#~ msgstr "" + #~ msgid ":class:`datetime.datetime` -- Returns the role's creation time in UTC." #~ msgstr "" @@ -14634,6 +18768,12 @@ msgstr "" #~ msgid "List[:class:`Member`] -- Returns all members that can see this channel." #~ msgstr "" +#~ msgid "Checks if the channel is NSFW." +#~ msgstr "" + +#~ msgid "Checks if the channel is a news channel." +#~ msgstr "" + #~ msgid ":exc:`HTTPException` -- Creating the webhook failed." #~ msgstr "" @@ -14710,6 +18850,9 @@ msgstr "" #~ "library has not been loaded." #~ msgstr "" +#~ msgid ":class:`~discord.VoiceClient`" +#~ msgstr "" + #~ msgid ":class:`str` -- The category name." #~ msgstr "" @@ -15035,7 +19178,7 @@ msgstr "" #~ msgid "" #~ ":class:`dict` -- The raw data given " #~ "by the `gateway " -#~ "`_" #~ msgstr "" @@ -15069,6 +19212,13 @@ msgstr "" #~ msgid "Optional[:class:`int`] -- The guild ID where the reactions got cleared." #~ msgstr "" +#~ msgid "" +#~ "Unlike :ref:`models ` you " +#~ "are allowed to create these yourself," +#~ " even if they can also be used" +#~ " to hold attributes." +#~ msgstr "" + #~ msgid ":class:`str` -- The ID of the object." #~ msgstr "" @@ -15137,6 +19287,12 @@ msgstr "" #~ msgid ":class:`bool` -- Whether the attachment is a spoiler." #~ msgstr "" +#~ msgid "" +#~ "Represents a Discord role colour. This" +#~ " class is similar to an (red, " +#~ "green, blue) :class:`tuple`." +#~ msgstr "" + #~ msgid ":class:`int` -- The raw integer colour value." #~ msgstr "" @@ -15149,6 +19305,9 @@ msgstr "" #~ msgid ":class:`int` -- Returns the blue component of the colour." #~ msgstr "" +#~ msgid "A factory method that returns a :class:`Colour` with a value of 0." +#~ msgstr "" + #~ msgid ":class:`int` -- The application ID of the game." #~ msgstr "" @@ -15264,6 +19423,19 @@ msgstr "" #~ "twitch name of the user streaming." #~ msgstr "" +#~ msgid "" +#~ "Returns an iterator of ``(perm, value)``" +#~ " pairs. This allows it to be, " +#~ "for example, constructed as a dict " +#~ "or a list of pairs." +#~ msgstr "" + +#~ msgid "" +#~ "A factory method that creates a " +#~ ":class:`Permissions` with all permissions set" +#~ " to True." +#~ msgstr "" + #~ msgid "" #~ ":class:`bool` -- Returns ``True`` if the" #~ " user can create instant invites." @@ -15433,6 +19605,34 @@ msgstr "" #~ "emojis." #~ msgstr "" +#~ msgid "Supported operations:" +#~ msgstr "サポートされている操作:" + +#~ msgid "Operation" +#~ msgstr "" + +#~ msgid "x == y" +#~ msgstr "" + +#~ msgid "x != y" +#~ msgstr "" + +#~ msgid "iter(x)" +#~ msgstr "" + +#~ msgid "" +#~ "Returns an iterator of (perm, value) " +#~ "pairs. This allows this class to " +#~ "be used as an iterable in e.g. " +#~ "set/list/dict constructions." +#~ msgstr "" + +#~ msgid "Returns the (allow, deny) pair from this overwrite." +#~ msgstr "" + +#~ msgid "The value of these pairs is :class:`Permissions`." +#~ msgstr "" + #~ msgid "" #~ ":class:`int` -- The raw value. This " #~ "value is a bit array field of " diff --git a/docs/locale/ja/LC_MESSAGES/discord.po b/docs/locale/ja/LC_MESSAGES/discord.po index 77d07c1b4..7963ed910 100644 --- a/docs/locale/ja/LC_MESSAGES/discord.po +++ b/docs/locale/ja/LC_MESSAGES/discord.po @@ -1,42 +1,46 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: discord.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../discord.rst:4 msgid "Creating a Bot Account" msgstr "Botアカウント作成" #: ../../discord.rst:6 -msgid "In order to work with the library and the Discord API in general, we must first create a Discord Bot account." +msgid "" +"In order to work with the library and the Discord API in general, we must" +" first create a Discord Bot account." msgstr "ライブラリとDiscord APIを使用するには、BotのDiscordアカウントを用意する必要があります。" #: ../../discord.rst:8 msgid "Creating a Bot account is a pretty straightforward process." msgstr "Botのアカウント作成はとても簡単です。" -#: ../../discord.rst:10 -#: ../../discord.rst:64 -msgid "Make sure you're logged on to the `Discord website `_." -msgstr "まずは `Discordのウェブサイト `_ にログインしてください。" +#: ../../discord.rst:10 ../../discord.rst:64 +#, fuzzy +msgid "" +"Make sure you're logged on to the `Discord website " +"`_." +msgstr "まずは `Discordのウェブサイト `_ にログインしてください。" -#: ../../discord.rst:11 -#: ../../discord.rst:65 -msgid "Navigate to the `application page `_" -msgstr "`アプリケーションページ `_ に移動します。" +#: ../../discord.rst:11 ../../discord.rst:65 +#, fuzzy +msgid "" +"Navigate to the `application page " +"`_" +msgstr "`アプリケーションページ `_ に移動します。" #: ../../discord.rst:12 msgid "Click on the \"New Application\" button." @@ -47,7 +51,9 @@ msgid "Give the application a name and click \"Create\"." msgstr "アプリケーションの名前を決めて、「Create」をクリックします。" #: ../../discord.rst:22 -msgid "Create a Bot User by navigating to the \"Bot\" tab and clicking \"Add Bot\"." +msgid "" +"Create a Bot User by navigating to the \"Bot\" tab and clicking \"Add " +"Bot\"." msgstr "「Bot」タブへ移動し、「Add Bot」をクリックしてBotユーザーを作成します。" #: ../../discord.rst:24 @@ -55,12 +61,19 @@ msgid "Click \"Yes, do it!\" to continue." msgstr "「Yes, do it!」をクリックして続行します。" #: ../../discord.rst:28 -msgid "Make sure that **Public Bot** is ticked if you want others to invite your bot." +msgid "" +"Make sure that **Public Bot** is ticked if you want others to invite your" +" bot." msgstr "他人にBotの招待を許可する場合には、 **Public Bot** にチェックを入れてください。" #: ../../discord.rst:30 -msgid "You should also make sure that **Require OAuth2 Code Grant** is unchecked unless you are developing a service that needs it. If you're unsure, then **leave it unchecked**." -msgstr "また、必要なサービスを開発している場合を除いて、 **Require OAuth2 Code Grant** がオフになっていることを確認する必要があります。わからない場合は **チェックを外してください** 。" +msgid "" +"You should also make sure that **Require OAuth2 Code Grant** is unchecked" +" unless you are developing a service that needs it. If you're unsure, " +"then **leave it unchecked**." +msgstr "" +"また、必要なサービスを開発している場合を除いて、 **Require OAuth2 Code Grant** " +"がオフになっていることを確認する必要があります。わからない場合は **チェックを外してください** 。" #: ../../discord.rst:36 msgid "Copy the token using the \"Copy\" button." @@ -71,7 +84,12 @@ msgid "**This is not the Client Secret at the General Information page**" msgstr "**General InformationページのClient Secretではないので注意してください**" #: ../../discord.rst:42 -msgid "It should be worth noting that this token is essentially your bot's password. You should **never** share this to someone else. In doing so, someone can log in to your bot and do malicious things, such as leaving servers, ban all members inside a server, or pinging everyone maliciously." +msgid "" +"It should be worth noting that this token is essentially your bot's " +"password. You should **never** share this to someone else. In doing so, " +"someone can log in to your bot and do malicious things, such as leaving " +"servers, ban all members inside a server, or pinging everyone " +"maliciously." msgstr "このトークンは、あなたのBotのパスワードと同義であることを覚えておきましょう。誰か他の人とトークンを共有することは絶対に避けてください。トークンがあれば、誰かがあなたのBotにログインし、サーバーから退出したり、サーバー内のすべてのメンバーをBANしたり、すべての人にメンションを送るなどといった悪質な行為を行える様になってしまいます。" #: ../../discord.rst:47 @@ -79,11 +97,16 @@ msgid "The possibilities are endless, so **do not share this token.**" msgstr "可能性は無限にあるので、絶対に **トークンを共有しないでください** 。" #: ../../discord.rst:49 -msgid "If you accidentally leaked your token, click the \"Regenerate\" button as soon as possible. This revokes your old token and re-generates a new one. Now you need to use the new token to login." +msgid "" +"If you accidentally leaked your token, click the \"Regenerate\" button as" +" soon as possible. This revokes your old token and re-generates a new " +"one. Now you need to use the new token to login." msgstr "誤ってトークンを流出させてしまった場合、可能な限り速急に「Regenerate」ボタンをクリックしましょう。これによって古いトークンが無効になり、新しいトークンが再生成されます。今度からは新しいトークンを利用してログインを行う必要があります。" #: ../../discord.rst:53 -msgid "And that's it. You now have a bot account and you can login with that token." +msgid "" +"And that's it. You now have a bot account and you can login with that " +"token." msgstr "以上です。 これでボットアカウントが作成され、そのトークンでログインできます。" #: ../../discord.rst:58 @@ -111,19 +134,34 @@ msgid "Tick the \"bot\" checkbox under \"scopes\"." msgstr "「scopes」下にある「bot」チェックボックスを選択してください。" #: ../../discord.rst:77 -msgid "Tick the permissions required for your bot to function under \"Bot Permissions\"." +msgid "" +"Tick the permissions required for your bot to function under \"Bot " +"Permissions\"." msgstr "「Bot Permissions」からBotの機能に必要な権限を選択してください。" #: ../../discord.rst:79 -msgid "Please be aware of the consequences of requiring your bot to have the \"Administrator\" permission." +msgid "" +"Please be aware of the consequences of requiring your bot to have the " +"\"Administrator\" permission." msgstr "Botに「管理者」権限を要求させることによる影響は認識しておきましょう。" #: ../../discord.rst:81 -msgid "Bot owners must have 2FA enabled for certain actions and permissions when added in servers that have Server-Wide 2FA enabled. Check the `2FA support page `_ for more information." -msgstr "二段階認証が有効になっているサーバーにBotが追加された場合、Botの所有者は特定の動作と権限のために二段階認証を有効化させなければいけません。詳細は `二段階認証のサポートページ `_ を参照してください。" +#, fuzzy +msgid "" +"Bot owners must have 2FA enabled for certain actions and permissions when" +" added in servers that have Server-Wide 2FA enabled. Check the `2FA " +"support page `_ for more information." +msgstr "" +"二段階認証が有効になっているサーバーにBotが追加された場合、Botの所有者は特定の動作と権限のために二段階認証を有効化させなければいけません。詳細は" +" `二段階認証のサポートページ `_ を参照してください。" #: ../../discord.rst:86 -msgid "Now the resulting URL can be used to add your bot to a server. Copy and paste the URL into your browser, choose a server to invite the bot to, and click \"Authorize\"." +msgid "" +"Now the resulting URL can be used to add your bot to a server. Copy and " +"paste the URL into your browser, choose a server to invite the bot to, " +"and click \"Authorize\"." msgstr "結果的に生成されたURLを使ってBotをサーバーに追加することができます。URLをコピーしてブラウザに貼り付け、Botを招待したいサーバーを選択した後、「認証」をクリックしてください。" #: ../../discord.rst:91 @@ -131,6 +169,11 @@ msgid "The person adding the bot needs \"Manage Server\" permissions to do so." msgstr "Botを追加する人には「サーバー管理」権限が必要です。" #: ../../discord.rst:93 -msgid "If you want to generate this URL dynamically at run-time inside your bot and using the :class:`discord.Permissions` interface, you can use :func:`discord.utils.oauth_url`." -msgstr "このURLを実行時に動的に生成したい場合は、 :class:`discord.Permissions` インターフェイスから :func:`discord.utils.oauth_url` を使用できます。" +msgid "" +"If you want to generate this URL dynamically at run-time inside your bot " +"and using the :class:`discord.Permissions` interface, you can use " +":func:`discord.utils.oauth_url`." +msgstr "" +"このURLを実行時に動的に生成したい場合は、 :class:`discord.Permissions` インターフェイスから " +":func:`discord.utils.oauth_url` を使用できます。" diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po index 53539d5f5..0bf199bfe 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po @@ -3,9 +3,9 @@ msgid "" msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-28 07:15-0400\n" -"PO-Revision-Date: 2019-06-28 11:14+0000\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" "Plural-Forms: nplurals=1; plural=0\n" @@ -98,53 +98,69 @@ msgid "" "group if you require group commands to be case insensitive as well." msgstr "" -#: discord.ext.commands.BadUnionArgument discord.ext.commands.Bot -#: discord.ext.commands.Bot.activity discord.ext.commands.Bot.cached_messages -#: discord.ext.commands.Bot.cogs discord.ext.commands.Bot.commands -#: discord.ext.commands.Bot.emojis discord.ext.commands.Bot.extensions -#: discord.ext.commands.Bot.guilds discord.ext.commands.Bot.latency +#: discord.ext.commands.BadBoolArgument discord.ext.commands.BadUnionArgument +#: discord.ext.commands.Bot discord.ext.commands.Bot.activity +#: discord.ext.commands.Bot.allowed_mentions +#: discord.ext.commands.Bot.cached_messages discord.ext.commands.Bot.cogs +#: discord.ext.commands.Bot.commands discord.ext.commands.Bot.emojis +#: discord.ext.commands.Bot.extensions discord.ext.commands.Bot.guilds +#: discord.ext.commands.Bot.intents discord.ext.commands.Bot.latency #: discord.ext.commands.Bot.private_channels discord.ext.commands.Bot.user #: discord.ext.commands.Bot.users discord.ext.commands.Bot.voice_clients #: discord.ext.commands.BotMissingAnyRole #: discord.ext.commands.BotMissingPermissions -#: discord.ext.commands.BotMissingRole discord.ext.commands.Cog.description -#: discord.ext.commands.Cog.qualified_name discord.ext.commands.CogMeta -#: discord.ext.commands.Command discord.ext.commands.Command.cog_name +#: discord.ext.commands.BotMissingRole discord.ext.commands.ChannelNotFound +#: discord.ext.commands.ChannelNotReadable discord.ext.commands.CheckAnyFailure +#: discord.ext.commands.Cog.description discord.ext.commands.Cog.qualified_name +#: discord.ext.commands.CogMeta discord.ext.commands.Command +#: discord.ext.commands.Command.cog_name #: discord.ext.commands.Command.full_parent_name #: discord.ext.commands.Command.parents #: discord.ext.commands.Command.qualified_name +#: discord.ext.commands.Command.root_parent #: discord.ext.commands.Command.short_doc #: discord.ext.commands.Command.signature -#: discord.ext.commands.CommandOnCooldown discord.ext.commands.Context -#: discord.ext.commands.Context.voice_client +#: discord.ext.commands.CommandInvokeError +#: discord.ext.commands.CommandOnCooldown +#: discord.ext.commands.CommandRegistrationError discord.ext.commands.Context +#: discord.ext.commands.Context.cog discord.ext.commands.Context.guild +#: discord.ext.commands.Context.valid discord.ext.commands.Context.voice_client #: discord.ext.commands.ConversionError discord.ext.commands.DefaultHelpCommand +#: discord.ext.commands.EmojiNotFound #: discord.ext.commands.ExpectedClosingQuoteError #: discord.ext.commands.ExtensionError discord.ext.commands.ExtensionFailed #: discord.ext.commands.ExtensionNotFound discord.ext.commands.Group #: discord.ext.commands.Group.cog_name discord.ext.commands.Group.commands #: discord.ext.commands.Group.full_parent_name #: discord.ext.commands.Group.parents discord.ext.commands.Group.qualified_name -#: discord.ext.commands.Group.short_doc discord.ext.commands.Group.signature -#: discord.ext.commands.GroupMixin discord.ext.commands.GroupMixin.commands -#: discord.ext.commands.HelpCommand +#: discord.ext.commands.Group.root_parent discord.ext.commands.Group.short_doc +#: discord.ext.commands.Group.signature discord.ext.commands.GroupMixin +#: discord.ext.commands.GroupMixin.commands discord.ext.commands.HelpCommand +#: discord.ext.commands.HelpCommand.clean_prefix #: discord.ext.commands.InvalidEndOfQuotedStringError +#: discord.ext.commands.MaxConcurrencyReached +#: discord.ext.commands.MemberNotFound discord.ext.commands.MessageNotFound #: discord.ext.commands.MinimalHelpCommand discord.ext.commands.MissingAnyRole #: discord.ext.commands.MissingPermissions #: discord.ext.commands.MissingRequiredArgument #: discord.ext.commands.MissingRole discord.ext.commands.Paginator -#: discord.ext.commands.UnexpectedQuoteError discord.ext.commands.clean_content -#: of +#: discord.ext.commands.Paginator.pages +#: discord.ext.commands.PartialEmojiConversionFailure +#: discord.ext.commands.RoleNotFound discord.ext.commands.UnexpectedQuoteError +#: discord.ext.commands.UserNotFound discord.ext.commands.clean_content of msgid "type" msgstr "" #: discord.ext.commands.Bot:47 discord.ext.commands.Bot:61 -#: discord.ext.commands.Bot.is_owner:11 discord.ext.commands.Command:50 -#: discord.ext.commands.Command:81 discord.ext.commands.Command:92 -#: discord.ext.commands.Command:107 discord.ext.commands.Command:115 -#: discord.ext.commands.Command.can_run:12 +#: discord.ext.commands.Bot.is_owner:17 discord.ext.commands.Command:49 +#: discord.ext.commands.Command:86 discord.ext.commands.Command:97 +#: discord.ext.commands.Command:112 discord.ext.commands.Command:121 +#: discord.ext.commands.Command:129 discord.ext.commands.Command.can_run:16 #: discord.ext.commands.Command.is_on_cooldown:7 -#: discord.ext.commands.Context:75 discord.ext.commands.DefaultHelpCommand:18 -#: discord.ext.commands.Group.can_run:12 +#: discord.ext.commands.CommandRegistrationError:18 +#: discord.ext.commands.Context:77 discord.ext.commands.Context.valid:3 +#: discord.ext.commands.DefaultHelpCommand:18 discord.ext.commands.Group:18 +#: discord.ext.commands.Group:25 discord.ext.commands.Group.can_run:16 #: discord.ext.commands.Group.is_on_cooldown:7 #: discord.ext.commands.GroupMixin:15 discord.ext.commands.HelpCommand:24 #: discord.ext.commands.HelpCommand:31 @@ -159,35 +175,48 @@ msgstr "" msgid "The content prefixed into the default help message." msgstr ":class:`str` -- この属性に入力されたテキストは、デフォルトのヘルプメッセージの先頭に表示されます。" -#: discord.ext.commands.Bot:53 discord.ext.commands.Cog.description:3 +#: discord.ext.commands.BadBoolArgument:11 discord.ext.commands.Bot:53 +#: discord.ext.commands.ChannelNotFound:11 +#: discord.ext.commands.Cog.description:3 #: discord.ext.commands.Cog.qualified_name:3 discord.ext.commands.CogMeta:37 #: discord.ext.commands.Command:10 discord.ext.commands.Command:22 -#: discord.ext.commands.Command:29 discord.ext.commands.Command:35 -#: discord.ext.commands.Command:74 discord.ext.commands.Command.cog_name:3 +#: discord.ext.commands.Command:34 discord.ext.commands.Command:79 #: discord.ext.commands.Command.full_parent_name:6 #: discord.ext.commands.Command.qualified_name:7 #: discord.ext.commands.Command.short_doc:7 -#: discord.ext.commands.Command.signature:3 discord.ext.commands.Context:41 -#: discord.ext.commands.Context:53 discord.ext.commands.DefaultHelpCommand:49 +#: discord.ext.commands.Command.signature:3 +#: discord.ext.commands.CommandRegistrationError:12 +#: discord.ext.commands.Context:41 discord.ext.commands.Context:54 +#: discord.ext.commands.DefaultHelpCommand:49 #: discord.ext.commands.DefaultHelpCommand:56 +#: discord.ext.commands.EmojiNotFound:11 #: discord.ext.commands.ExpectedClosingQuoteError:9 #: discord.ext.commands.ExtensionError:9 discord.ext.commands.ExtensionFailed:9 -#: discord.ext.commands.ExtensionNotFound:9 -#: discord.ext.commands.Group.cog_name:3 +#: discord.ext.commands.ExtensionNotFound:12 #: discord.ext.commands.Group.full_parent_name:6 #: discord.ext.commands.Group.qualified_name:7 #: discord.ext.commands.Group.short_doc:7 #: discord.ext.commands.Group.signature:3 +#: discord.ext.commands.HelpCommand.clean_prefix:3 #: discord.ext.commands.HelpCommand.command_not_found:13 #: discord.ext.commands.HelpCommand.get_command_signature:7 #: discord.ext.commands.HelpCommand.invoked_with:10 +#: discord.ext.commands.HelpCommand.remove_mentions:6 #: discord.ext.commands.HelpCommand.subcommand_not_found:20 #: discord.ext.commands.InvalidEndOfQuotedStringError:10 +#: discord.ext.commands.MemberNotFound:12 +#: discord.ext.commands.MessageNotFound:11 #: discord.ext.commands.MinimalHelpCommand:16 #: discord.ext.commands.MinimalHelpCommand:23 #: discord.ext.commands.MinimalHelpCommand:48 #: discord.ext.commands.MinimalHelpCommand.get_command_signature:7 -#: discord.ext.commands.UnexpectedQuoteError:9 of +#: discord.ext.commands.MinimalHelpCommand.get_ending_note:6 +#: discord.ext.commands.MinimalHelpCommand.get_opening_note:9 +#: discord.ext.commands.Paginator:13 discord.ext.commands.Paginator:19 +#: discord.ext.commands.PartialEmojiConversionFailure:12 +#: discord.ext.commands.RoleNotFound:11 +#: discord.ext.commands.UnexpectedQuoteError:9 +#: discord.ext.commands.UserNotFound:12 of msgid ":class:`str`" msgstr "" @@ -219,8 +248,8 @@ msgstr "" #: discord.ext.commands.Bot:73 of #, fuzzy msgid "" -"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 " +"The user 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 "" "Optional[:class:`int`] -- Botを管理するユーザーのID。 設定されていない場合、 :meth:`.is_owner` " @@ -231,16 +260,26 @@ msgstr "" msgid "Optional[:class:`int`]" msgstr "" +#: discord.ext.commands.Bot:81 of +msgid "" +"The user IDs that owns the bot. This is similar to :attr:`owner_id`. If " +"this is not set and the application is team based, then it is fetched " +"automatically using :meth:`~.Bot.application_info`. For performance " +"reasons it is recommended to use a :class:`set` for the collection. You " +"cannot set both ``owner_id`` and ``owner_ids``." +msgstr "" + +#: discord.ext.commands.Bot:89 of +msgid "Optional[Collection[:class:`int`]]" +msgstr "" + #: discord.ext.commands.Bot.activity:1 of msgid "The activity being used upon logging in." msgstr "" #: discord.ext.commands.Bot.activity:4 of -#, fuzzy -msgid "Optional[Union[:class:`.Activity`, :class:`.Game`, :class:`.Streaming`]]" +msgid "Optional[:class:`.BaseActivity`]" msgstr "" -"Optional[Union[:class:`.Activity`, :class:`.Game`, :class:`.Streaming`]] " -"-- ログイン時のアクティビティ。" #: discord.ext.commands.Bot.add_check:1 of msgid "Adds a global check to the bot." @@ -255,15 +294,19 @@ msgstr "これは:meth:`.check`と:meth:`.check_once`のデコレータでない #: ../../ext/commands/api.rst discord.ext.commands.Bot.add_check #: discord.ext.commands.Bot.add_cog discord.ext.commands.Bot.add_command #: discord.ext.commands.Bot.add_listener discord.ext.commands.Bot.after_invoke +#: discord.ext.commands.Bot.before_identify_hook #: 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.fetch_guild discord.ext.commands.Bot.fetch_guilds -#: discord.ext.commands.Bot.fetch_invite discord.ext.commands.Bot.fetch_user +#: discord.ext.commands.Bot.fetch_invite +#: discord.ext.commands.Bot.fetch_template discord.ext.commands.Bot.fetch_user #: discord.ext.commands.Bot.fetch_user_profile -#: discord.ext.commands.Bot.fetch_widget discord.ext.commands.Bot.get_cog -#: discord.ext.commands.Bot.get_command discord.ext.commands.Bot.get_context -#: discord.ext.commands.Bot.get_prefix discord.ext.commands.Bot.invoke +#: discord.ext.commands.Bot.fetch_widget discord.ext.commands.Bot.get_channel +#: discord.ext.commands.Bot.get_cog discord.ext.commands.Bot.get_command +#: discord.ext.commands.Bot.get_context discord.ext.commands.Bot.get_emoji +#: discord.ext.commands.Bot.get_guild discord.ext.commands.Bot.get_prefix +#: discord.ext.commands.Bot.get_user discord.ext.commands.Bot.invoke #: discord.ext.commands.Bot.is_owner discord.ext.commands.Bot.load_extension #: discord.ext.commands.Bot.login discord.ext.commands.Bot.process_commands #: discord.ext.commands.Bot.reload_extension @@ -277,10 +320,13 @@ msgstr "これは:meth:`.check`と:meth:`.check_once`のデコレータでない #: discord.ext.commands.Cog.cog_before_invoke #: discord.ext.commands.Cog.cog_command_error discord.ext.commands.Cog.listener #: discord.ext.commands.ColourConverter.convert +#: discord.ext.commands.Command.add_check #: discord.ext.commands.Command.after_invoke #: discord.ext.commands.Command.before_invoke #: discord.ext.commands.Command.can_run discord.ext.commands.Command.error +#: discord.ext.commands.Command.get_cooldown_retry_after #: discord.ext.commands.Command.is_on_cooldown +#: discord.ext.commands.Command.remove_check #: discord.ext.commands.Command.reset_cooldown #: discord.ext.commands.Context.fetch_message #: discord.ext.commands.Context.history discord.ext.commands.Context.invoke @@ -291,22 +337,26 @@ msgstr "これは:meth:`.check`と:meth:`.check_once`のデコレータでない #: discord.ext.commands.DefaultHelpCommand.add_indented_commands #: discord.ext.commands.EmojiConverter.convert #: discord.ext.commands.GameConverter.convert -#: discord.ext.commands.Group.add_command +#: discord.ext.commands.Group.add_check 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.Group.get_command +#: discord.ext.commands.Group.get_cooldown_retry_after #: discord.ext.commands.Group.is_on_cooldown +#: discord.ext.commands.Group.remove_check #: discord.ext.commands.Group.remove_command #: discord.ext.commands.Group.reset_cooldown #: discord.ext.commands.GroupMixin.add_command #: discord.ext.commands.GroupMixin.get_command #: discord.ext.commands.GroupMixin.remove_command +#: discord.ext.commands.HelpCommand.add_check #: discord.ext.commands.HelpCommand.command_not_found #: discord.ext.commands.HelpCommand.filter_commands #: discord.ext.commands.HelpCommand.get_command_signature #: discord.ext.commands.HelpCommand.get_max_size #: discord.ext.commands.HelpCommand.on_help_command_error #: discord.ext.commands.HelpCommand.prepare_help_command +#: discord.ext.commands.HelpCommand.remove_check #: discord.ext.commands.HelpCommand.send_bot_help #: discord.ext.commands.HelpCommand.send_cog_help #: discord.ext.commands.HelpCommand.send_command_help @@ -328,10 +378,11 @@ msgstr "これは:meth:`.check`と:meth:`.check_once`のデコレータでない #: discord.ext.commands.TextChannelConverter.convert #: discord.ext.commands.UserConverter.convert #: discord.ext.commands.VoiceChannelConverter.convert -#: discord.ext.commands.check discord.ext.commands.clean_content.convert -#: discord.ext.commands.command discord.ext.commands.cooldown -#: discord.ext.commands.has_any_role discord.ext.commands.has_permissions -#: discord.ext.commands.has_role of +#: discord.ext.commands.check discord.ext.commands.check_any +#: discord.ext.commands.clean_content.convert discord.ext.commands.command +#: discord.ext.commands.cooldown discord.ext.commands.has_any_role +#: discord.ext.commands.has_permissions discord.ext.commands.has_role +#: discord.ext.commands.max_concurrency of msgid "Parameters" msgstr "パラメータ" @@ -340,8 +391,9 @@ msgid "The function that was used as a global check." msgstr "グローバルチェックとして使用される関数。" #: discord.ext.commands.Bot.add_check:7 of +#, fuzzy msgid "" -"If the function should only be called once per :meth:`Command.invoke` " +"If the function should only be called once per :meth:`.Command.invoke` " "call." msgstr "その関数が :meth:`Command.invoke` の呼び出し時に、一度だけ呼び出されるべきかどうか。" @@ -365,24 +417,42 @@ msgstr "ボットに登録するコグ。" #: discord.ext.commands.Bot.create_guild discord.ext.commands.Bot.delete_invite #: discord.ext.commands.Bot.event discord.ext.commands.Bot.fetch_channel #: discord.ext.commands.Bot.fetch_guild discord.ext.commands.Bot.fetch_guilds -#: discord.ext.commands.Bot.fetch_invite discord.ext.commands.Bot.fetch_user +#: discord.ext.commands.Bot.fetch_invite +#: discord.ext.commands.Bot.fetch_template discord.ext.commands.Bot.fetch_user #: discord.ext.commands.Bot.fetch_user_profile #: discord.ext.commands.Bot.fetch_webhook discord.ext.commands.Bot.fetch_widget #: discord.ext.commands.Bot.listen discord.ext.commands.Bot.load_extension #: discord.ext.commands.Bot.login discord.ext.commands.Bot.reload_extension #: discord.ext.commands.Bot.request_offline_members #: discord.ext.commands.Bot.start discord.ext.commands.Bot.unload_extension -#: discord.ext.commands.Bot.wait_for discord.ext.commands.Cog.listener +#: discord.ext.commands.Bot.wait_for +#: discord.ext.commands.CategoryChannelConverter.convert +#: discord.ext.commands.Cog.listener +#: discord.ext.commands.ColourConverter.convert #: discord.ext.commands.Command.after_invoke #: discord.ext.commands.Command.before_invoke #: discord.ext.commands.Command.can_run discord.ext.commands.Command.error #: discord.ext.commands.Context.fetch_message -#: discord.ext.commands.Context.history discord.ext.commands.Context.pins -#: discord.ext.commands.Context.send discord.ext.commands.Group.add_command +#: discord.ext.commands.Context.history discord.ext.commands.Context.invoke +#: discord.ext.commands.Context.pins discord.ext.commands.Context.reinvoke +#: discord.ext.commands.Context.send discord.ext.commands.Converter.convert +#: discord.ext.commands.EmojiConverter.convert +#: discord.ext.commands.GameConverter.convert +#: 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.Paginator.add_line discord.ext.commands.command of +#: discord.ext.commands.InviteConverter.convert +#: discord.ext.commands.MemberConverter.convert +#: discord.ext.commands.MessageConverter.convert +#: discord.ext.commands.Paginator.add_line +#: discord.ext.commands.PartialEmojiConverter.convert +#: discord.ext.commands.RoleConverter.convert +#: discord.ext.commands.TextChannelConverter.convert +#: discord.ext.commands.UserConverter.convert +#: discord.ext.commands.VoiceChannelConverter.convert +#: discord.ext.commands.check_any discord.ext.commands.clean_content.convert +#: discord.ext.commands.command of #, fuzzy msgid "Raises" msgstr "例外" @@ -400,14 +470,13 @@ msgstr ":exc:`CommandError` -- 読み込み中にエラーが発生した。" #: discord.ext.commands.Bot.add_command:1 #: discord.ext.commands.Group.add_command:1 #: discord.ext.commands.GroupMixin.add_command:1 of -msgid "" -"Adds a :class:`.Command` or its subclasses into the internal list of " -"commands." +#, fuzzy +msgid "Adds a :class:`.Command` into the internal list of commands." msgstr ":class:`.Command`やそのサブクラスを内部のコマンドリストに追加します。" -#: discord.ext.commands.Bot.add_command:4 -#: discord.ext.commands.Group.add_command:4 -#: discord.ext.commands.GroupMixin.add_command:4 of +#: discord.ext.commands.Bot.add_command:3 +#: discord.ext.commands.Group.add_command:3 +#: discord.ext.commands.GroupMixin.add_command:3 of msgid "" "This is usually not called, instead the :meth:`~.GroupMixin.command` or " ":meth:`~.GroupMixin.group` shortcut decorators are used instead." @@ -415,29 +484,36 @@ msgstr "" "これは通常、呼び出されません。代わりに :meth:`~.GroupMixin.command` か " ":meth:`~.GroupMixin.group` のショートカットデコレータが使われます。" -#: discord.ext.commands.Bot.add_command:7 -#: discord.ext.commands.Group.add_command:7 -#: discord.ext.commands.GroupMixin.add_command:7 of +#: discord.ext.commands.Bot.add_command:6 +#: discord.ext.commands.Group.add_command:6 +#: discord.ext.commands.GroupMixin.add_command:6 of +msgid "" +"Raise :exc:`.CommandRegistrationError` instead of generic " +":exc:`.ClientException`" +msgstr "" + +#: discord.ext.commands.Bot.add_command:9 +#: discord.ext.commands.Group.add_command:9 +#: discord.ext.commands.GroupMixin.add_command:9 of msgid "The command to add." msgstr "追加するコマンド。" -#: discord.ext.commands.Bot.add_command:10 -#: discord.ext.commands.Group.add_command:10 -#: discord.ext.commands.GroupMixin.add_command:10 of -#, fuzzy -msgid "If the command is already registered." -msgstr ":exc:`.ClientException` -- コマンドがすでに登録されている。" +#: discord.ext.commands.Bot.add_command:12 +#: discord.ext.commands.Group.add_command:12 +#: discord.ext.commands.GroupMixin.add_command:12 of +msgid "If the command or its alias is already registered by different command." +msgstr "" -#: discord.ext.commands.Bot.add_command:11 -#: discord.ext.commands.Group.add_command:11 -#: discord.ext.commands.GroupMixin.add_command:11 of +#: discord.ext.commands.Bot.add_command:13 +#: discord.ext.commands.Group.add_command:13 +#: discord.ext.commands.GroupMixin.add_command:13 of #, fuzzy msgid "If the command passed is not a subclass of :class:`.Command`." msgstr ":exc:`TypeError` -- 渡されたコマンドが:class:`.Command`のサブコマンドではないという例外" #: discord.ext.commands.Bot.add_listener:1 of msgid "The non decorator alternative to :meth:`.listen`." -msgstr ":meth:`.listen`の代替の非デコレータ" +msgstr ":meth:`.listen` の代替の非デコレータ" #: discord.ext.commands.Bot.add_listener:3 of msgid "The function to call." @@ -448,17 +524,18 @@ msgid "The name of the event to listen for. Defaults to ``func.__name__``." msgstr "待機するイベントの名前。デフォルトでは ``func.__name__`` です。" #: discord.ext.commands.Bot.add_listener:9 -#: discord.ext.commands.Bot.change_presence:10 -#: discord.ext.commands.Bot.check:16 discord.ext.commands.Bot.check_once:20 -#: discord.ext.commands.Bot.event:8 discord.ext.commands.Bot.listen:8 -#: discord.ext.commands.has_any_role:20 discord.ext.commands.has_permissions:13 +#: discord.ext.commands.Bot.change_presence:6 discord.ext.commands.Bot.check:16 +#: discord.ext.commands.Bot.check_once:26 discord.ext.commands.Bot.event:8 +#: discord.ext.commands.Bot.listen:8 discord.ext.commands.before_invoke:9 +#: discord.ext.commands.has_any_role:20 discord.ext.commands.has_permissions:16 #: discord.ext.commands.when_mentioned_or:6 of msgid "Example" msgstr "例" #: discord.ext.commands.Bot.after_invoke:1 #: discord.ext.commands.Command.after_invoke:1 -#: discord.ext.commands.Group.after_invoke:1 of +#: discord.ext.commands.Group.after_invoke:1 +#: discord.ext.commands.after_invoke:1 of msgid "A decorator that registers a coroutine as a post-invoke hook." msgstr "" @@ -504,7 +581,16 @@ msgstr "" msgid "The coroutine passed is not actually a coroutine." msgstr ":exc:`TypeError` -- 渡されたコルーチンが実際はコルーチンではない。" +#: discord.ext.commands.Bot.allowed_mentions:1 of +msgid "The allowed mention configuration." +msgstr "" + +#: discord.ext.commands.Bot.allowed_mentions:5 of +msgid "Optional[:class:`~discord.AllowedMentions`]" +msgstr "" + #: discord.ext.commands.Bot.application_info:1 +#: discord.ext.commands.Bot.before_identify_hook:1 #: 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 @@ -512,13 +598,14 @@ msgstr ":exc:`TypeError` -- 渡されたコルーチンが実際はコルーチ #: discord.ext.commands.Bot.fetch_guild:1 #: discord.ext.commands.Bot.fetch_guilds:1 #: discord.ext.commands.Bot.fetch_invite:1 +#: discord.ext.commands.Bot.fetch_template:1 #: discord.ext.commands.Bot.fetch_user:1 #: discord.ext.commands.Bot.fetch_user_profile:1 #: discord.ext.commands.Bot.fetch_webhook:1 #: discord.ext.commands.Bot.fetch_widget:1 #: discord.ext.commands.Bot.get_context:1 discord.ext.commands.Bot.get_prefix:1 -#: discord.ext.commands.Bot.invoke:1 discord.ext.commands.Bot.login:1 -#: discord.ext.commands.Bot.logout:1 +#: discord.ext.commands.Bot.invoke:1 discord.ext.commands.Bot.is_owner:1 +#: discord.ext.commands.Bot.login:1 discord.ext.commands.Bot.logout:1 #: discord.ext.commands.Bot.on_command_error:1 #: discord.ext.commands.Bot.on_error:1 #: discord.ext.commands.Bot.process_commands:1 @@ -527,6 +614,7 @@ msgstr ":exc:`TypeError` -- 渡されたコルーチンが実際はコルーチ #: discord.ext.commands.Bot.wait_until_ready:1 #: discord.ext.commands.CategoryChannelConverter.convert:1 #: discord.ext.commands.ColourConverter.convert:1 +#: discord.ext.commands.Command.__call__:1 #: discord.ext.commands.Command.can_run:1 #: discord.ext.commands.Context.fetch_message:1 #: discord.ext.commands.Context.invoke:1 discord.ext.commands.Context.pins:1 @@ -567,32 +655,47 @@ msgstr "Botのアプリケーション情報を取得します。" msgid "Retrieving the information failed somehow." msgstr ":exc:`.HTTPException` -- 何らかの要因で情報の取得に失敗した。" -#: discord.ext.commands.Bot.application_info +#: discord.ext.commands.Bot.application_info discord.ext.commands.Bot.command #: discord.ext.commands.Bot.create_guild discord.ext.commands.Bot.fetch_channel #: discord.ext.commands.Bot.fetch_guild discord.ext.commands.Bot.fetch_invite -#: discord.ext.commands.Bot.fetch_user +#: discord.ext.commands.Bot.fetch_template discord.ext.commands.Bot.fetch_user #: discord.ext.commands.Bot.fetch_user_profile #: discord.ext.commands.Bot.fetch_webhook discord.ext.commands.Bot.fetch_widget +#: discord.ext.commands.Bot.get_channel discord.ext.commands.Bot.get_cog #: discord.ext.commands.Bot.get_command discord.ext.commands.Bot.get_context -#: discord.ext.commands.Bot.get_prefix discord.ext.commands.Bot.is_owner +#: discord.ext.commands.Bot.get_emoji discord.ext.commands.Bot.get_guild +#: discord.ext.commands.Bot.get_prefix discord.ext.commands.Bot.get_user +#: discord.ext.commands.Bot.group discord.ext.commands.Bot.is_owner #: discord.ext.commands.Bot.remove_command discord.ext.commands.Bot.wait_for -#: discord.ext.commands.Command.can_run +#: discord.ext.commands.Cog.get_commands discord.ext.commands.Cog.get_listeners +#: discord.ext.commands.Command.can_run discord.ext.commands.Command.copy +#: discord.ext.commands.Command.get_cooldown_retry_after #: discord.ext.commands.Command.is_on_cooldown #: discord.ext.commands.Context.fetch_message discord.ext.commands.Context.pins #: discord.ext.commands.Context.send discord.ext.commands.Context.send_help -#: discord.ext.commands.Group.can_run discord.ext.commands.Group.get_command -#: discord.ext.commands.Group.is_on_cooldown +#: discord.ext.commands.DefaultHelpCommand.get_destination +#: discord.ext.commands.Group.can_run discord.ext.commands.Group.command +#: discord.ext.commands.Group.copy discord.ext.commands.Group.get_command +#: discord.ext.commands.Group.get_cooldown_retry_after +#: discord.ext.commands.Group.group discord.ext.commands.Group.is_on_cooldown #: discord.ext.commands.Group.remove_command +#: discord.ext.commands.GroupMixin.command #: discord.ext.commands.GroupMixin.get_command +#: discord.ext.commands.GroupMixin.group #: discord.ext.commands.GroupMixin.remove_command #: discord.ext.commands.HelpCommand.cog #: discord.ext.commands.HelpCommand.command_not_found #: discord.ext.commands.HelpCommand.filter_commands #: discord.ext.commands.HelpCommand.get_command_signature +#: discord.ext.commands.HelpCommand.get_destination #: discord.ext.commands.HelpCommand.get_max_size #: discord.ext.commands.HelpCommand.invoked_with +#: discord.ext.commands.HelpCommand.remove_mentions #: discord.ext.commands.HelpCommand.subcommand_not_found -#: discord.ext.commands.MinimalHelpCommand.get_command_signature of +#: discord.ext.commands.MinimalHelpCommand.get_command_signature +#: discord.ext.commands.MinimalHelpCommand.get_destination +#: discord.ext.commands.MinimalHelpCommand.get_ending_note +#: discord.ext.commands.MinimalHelpCommand.get_opening_note of msgid "Returns" msgstr "戻り値" @@ -600,32 +703,47 @@ msgstr "戻り値" msgid "The bot's application information." msgstr "Botのアプリケーション情報。" -#: discord.ext.commands.Bot.application_info +#: discord.ext.commands.Bot.application_info discord.ext.commands.Bot.command #: discord.ext.commands.Bot.create_guild discord.ext.commands.Bot.fetch_channel #: discord.ext.commands.Bot.fetch_guild discord.ext.commands.Bot.fetch_invite -#: discord.ext.commands.Bot.fetch_user +#: discord.ext.commands.Bot.fetch_template discord.ext.commands.Bot.fetch_user #: discord.ext.commands.Bot.fetch_user_profile #: discord.ext.commands.Bot.fetch_webhook discord.ext.commands.Bot.fetch_widget +#: discord.ext.commands.Bot.get_channel discord.ext.commands.Bot.get_cog #: discord.ext.commands.Bot.get_command discord.ext.commands.Bot.get_context -#: discord.ext.commands.Bot.get_prefix discord.ext.commands.Bot.is_owner +#: discord.ext.commands.Bot.get_emoji discord.ext.commands.Bot.get_guild +#: discord.ext.commands.Bot.get_prefix discord.ext.commands.Bot.get_user +#: discord.ext.commands.Bot.group discord.ext.commands.Bot.is_owner #: discord.ext.commands.Bot.remove_command discord.ext.commands.Bot.wait_for -#: discord.ext.commands.Command.can_run +#: discord.ext.commands.Cog.get_commands discord.ext.commands.Cog.get_listeners +#: discord.ext.commands.Command.can_run discord.ext.commands.Command.copy +#: discord.ext.commands.Command.get_cooldown_retry_after #: discord.ext.commands.Command.is_on_cooldown #: discord.ext.commands.Context.fetch_message discord.ext.commands.Context.pins #: discord.ext.commands.Context.send discord.ext.commands.Context.send_help -#: discord.ext.commands.Group.can_run discord.ext.commands.Group.get_command -#: discord.ext.commands.Group.is_on_cooldown +#: discord.ext.commands.DefaultHelpCommand.get_destination +#: discord.ext.commands.Group.can_run discord.ext.commands.Group.command +#: discord.ext.commands.Group.copy discord.ext.commands.Group.get_command +#: discord.ext.commands.Group.get_cooldown_retry_after +#: discord.ext.commands.Group.group discord.ext.commands.Group.is_on_cooldown #: discord.ext.commands.Group.remove_command +#: discord.ext.commands.GroupMixin.command #: discord.ext.commands.GroupMixin.get_command +#: discord.ext.commands.GroupMixin.group #: discord.ext.commands.GroupMixin.remove_command #: discord.ext.commands.HelpCommand.cog #: discord.ext.commands.HelpCommand.command_not_found #: discord.ext.commands.HelpCommand.filter_commands #: discord.ext.commands.HelpCommand.get_command_signature +#: discord.ext.commands.HelpCommand.get_destination #: discord.ext.commands.HelpCommand.get_max_size #: discord.ext.commands.HelpCommand.invoked_with +#: discord.ext.commands.HelpCommand.remove_mentions #: discord.ext.commands.HelpCommand.subcommand_not_found -#: discord.ext.commands.MinimalHelpCommand.get_command_signature of +#: discord.ext.commands.MinimalHelpCommand.get_command_signature +#: discord.ext.commands.MinimalHelpCommand.get_destination +#: discord.ext.commands.MinimalHelpCommand.get_ending_note +#: discord.ext.commands.MinimalHelpCommand.get_opening_note of msgid "Return type" msgstr "戻り値の型" @@ -633,9 +751,29 @@ msgstr "戻り値の型" msgid ":class:`.AppInfo`" msgstr ":class:`.AppInfo`" +#: discord.ext.commands.Bot.before_identify_hook:3 of +msgid "" +"A hook that is called before IDENTIFYing a session. This is useful if you" +" wish to have more control over the synchronization of multiple " +"IDENTIFYing clients." +msgstr "" + +#: discord.ext.commands.Bot.before_identify_hook:7 of +msgid "The default implementation sleeps for 5 seconds." +msgstr "" + +#: discord.ext.commands.Bot.before_identify_hook:11 of +msgid "The shard ID that requested being IDENTIFY'd" +msgstr "" + +#: discord.ext.commands.Bot.before_identify_hook:13 of +msgid "Whether this IDENTIFY is the first initial IDENTIFY." +msgstr "" + #: discord.ext.commands.Bot.before_invoke:1 #: discord.ext.commands.Command.before_invoke:1 -#: discord.ext.commands.Group.before_invoke:1 of +#: discord.ext.commands.Group.before_invoke:1 +#: discord.ext.commands.before_invoke:1 of msgid "A decorator that registers a coroutine as a pre-invoke hook." msgstr "" @@ -681,34 +819,24 @@ msgstr "" msgid "Changes the client's presence." 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`." -msgstr "" -"activityパラメータは、現在のアクティビティを示す :class:`.Activity` " -"オブジェクトです(これはstringではありません)。スリム化された :class:`.Game` や :class:`.Streaming` " -"でも可能です。" - -#: discord.ext.commands.Bot.change_presence:16 of +#: discord.ext.commands.Bot.change_presence:12 of msgid "The activity being done. ``None`` if no currently active activity is done." msgstr "実行中のアクティビティ。何も実行していない場合は ``None`` を返します。" -#: discord.ext.commands.Bot.change_presence:18 of +#: discord.ext.commands.Bot.change_presence:14 of msgid "" "Indicates what status to change to. If ``None``, then " ":attr:`.Status.online` is used." msgstr "変更するステータスを示します。 ``None`` の場合、 :attr:`.Status.online` が使用されます。" -#: discord.ext.commands.Bot.change_presence:21 of +#: discord.ext.commands.Bot.change_presence:17 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." msgstr "ステータスを退席中に変更するかどうかを返します。これによって、実際にアイドル状態に移行した場合において、Discordクライアントにプッシュ通知をより適切に処理させることができます。" -#: discord.ext.commands.Bot.change_presence:26 of +#: discord.ext.commands.Bot.change_presence:22 of #, fuzzy msgid "If the ``activity`` parameter is not the proper type." msgstr ":exc:`.InvalidArgument` -- ``activity`` に渡された値が適切な型でない。" @@ -726,11 +854,11 @@ msgstr "" "このグローバルチェックは、 :func:`.check` " "がコマンドごとに適用されるのと似ていますが、コマンドチェックが検証され、かつBotが持つすべてのコマンドが適用される前に実行される点で異なります。" -#: discord.ext.commands.Bot.check:9 discord.ext.commands.Bot.check_once:13 of +#: discord.ext.commands.Bot.check:9 discord.ext.commands.Bot.check_once:19 of msgid "This function can either be a regular function or a coroutine." msgstr "この関数は、通常の関数かコルーチン、どちらでも成り得ます。" -#: discord.ext.commands.Bot.check:11 discord.ext.commands.Bot.check_once:15 of +#: discord.ext.commands.Bot.check:11 discord.ext.commands.Bot.check_once:21 of msgid "" "Similar to a command :func:`.check`\\, this takes a single parameter of " "type :class:`.Context` and can only raise exceptions inherited from " @@ -744,9 +872,10 @@ msgid "A decorator that adds a \"call once\" global check to the bot." msgstr "Botに「一度だけ実行される」グローバルチェックを追加するデコレーター" #: discord.ext.commands.Bot.check_once:3 of +#, fuzzy msgid "" "Unlike regular global checks, this one is called only once per " -":meth:`Command.invoke` call." +":meth:`.Command.invoke` call." msgstr "通常のグローバルチェックと違って、これは :meth:`Command.invoke` が呼ばれる毎に一度だけ実行されます。" #: discord.ext.commands.Bot.check_once:6 of @@ -758,6 +887,13 @@ msgstr "" "通常のグローバルチェックは、コマンドが呼び出されるか :meth:`.Command.can_run` " "が呼び出されるたび、実行されます。しかしこのグローバルチェックはそれを迂回し、デフォルトのhelpコマンドの中であっても、たった一度だけ呼ばれます。" +#: discord.ext.commands.Bot.check_once:13 of +msgid "" +"When using this function the :class:`.Context` sent to a group subcommand" +" may only parse the parent command and not the subcommands due to it " +"being invoked once per :meth:`.Bot.invoke` call." +msgstr "" + #: discord.ext.commands.Bot.clear:1 of msgid "Clears the internal state of the bot." msgstr "Botの内部状態をクリアします。" @@ -789,6 +925,18 @@ msgstr "" ":func:`.command` を呼び出し、 :meth:`~.GroupMixin.add_command` " "を介して内部コマンドリストに追加するショートカットデコレータ。" +#: discord.ext.commands.Bot.command:4 discord.ext.commands.Group.command:4 +#: discord.ext.commands.GroupMixin.command:4 of +msgid "" +"A decorator that converts the provided method into a Command, adds it to " +"the bot, then returns it." +msgstr "" + +#: discord.ext.commands.Bot.command:5 discord.ext.commands.Group.command:5 +#: discord.ext.commands.GroupMixin.command:5 of +msgid "Callable[..., :class:`Command`]" +msgstr "" + #: discord.ext.commands.Bot.commands:1 discord.ext.commands.Group.commands:1 #: discord.ext.commands.GroupMixin.commands:1 of #, fuzzy @@ -857,26 +1005,35 @@ msgid "" ":meth:`.ClientUser.edit` for more details on what is expected." msgstr "" -#: discord.ext.commands.Bot.create_guild:16 of -msgid "Guild creation failed." +#: discord.ext.commands.Bot.create_guild:15 of +msgid "The code for a template to create the guild with. .. versionadded:: 1.4" msgstr "" -#: discord.ext.commands.Bot.create_guild:17 of +#: discord.ext.commands.Bot.create_guild:15 of +msgid "The code for a template to create the guild with." +msgstr "" + +#: discord.ext.commands.Bot.create_guild:20 of +#, fuzzy +msgid "Guild creation failed." +msgstr ":exc:`.HTTPException` -- ギルドの作成に失敗した。" + +#: discord.ext.commands.Bot.create_guild:21 of msgid "Invalid icon image format given. Must be PNG or JPG." msgstr "" -#: discord.ext.commands.Bot.create_guild:19 of +#: discord.ext.commands.Bot.create_guild:23 of msgid "The guild created. This is not the same guild that is added to cache." msgstr "" -#: discord.ext.commands.Bot.create_guild:21 +#: discord.ext.commands.Bot.create_guild:25 #: discord.ext.commands.Bot.fetch_guild:21 of msgid ":class:`.Guild`" msgstr ":class:`.Guild`" #: discord.ext.commands.Bot.delete_invite:3 of msgid "Revokes an :class:`.Invite`, URL, or ID to an invite." -msgstr "" +msgstr ":class:`.Invite` や、招待のURL、IDを削除します。" #: discord.ext.commands.Bot.delete_invite:5 of msgid "" @@ -954,62 +1111,69 @@ msgid "An unknown channel type was received from Discord." msgstr "" #: discord.ext.commands.Bot.fetch_channel:12 of +#, fuzzy msgid "Retrieving the channel failed." -msgstr "" +msgstr ":exc:`.HTTPException` -- チャンネルの取得に失敗した。" #: discord.ext.commands.Bot.fetch_channel:13 of msgid "Invalid Channel ID." msgstr "" #: discord.ext.commands.Bot.fetch_channel:14 of +#, fuzzy msgid "You do not have permission to fetch this channel." -msgstr "" +msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" #: discord.ext.commands.Bot.fetch_channel:16 of msgid "The channel from the ID." -msgstr "" +msgstr "IDから取得したチャンネル。" #: discord.ext.commands.Bot.fetch_channel:17 of msgid "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" -msgstr "" +msgstr "Union[ :class:`.abc.GuildChannel` , :class:`.abc.PrivateChannel` ]" #: discord.ext.commands.Bot.fetch_guild:3 of msgid "Retrieves a :class:`.Guild` from an ID." -msgstr "" +msgstr "IDから :class:`.Guild` を取得します。" #: discord.ext.commands.Bot.fetch_guild:7 of +#, fuzzy msgid "" "Using this, you will **not** receive :attr:`.Guild.channels`, " -":class:`.Guild.members`, :attr:`.Member.activity` and " +":attr:`.Guild.members`, :attr:`.Member.activity` and " ":attr:`.Member.voice` per :class:`.Member`." msgstr "" +"これを使用した場合、 :attr:`.Guild.channels` 、 :class:`.Guild.members` 、そして各 " +":class:`.Member` ごとの :attr:`.Member.activity` 、 :attr:`.Member.voice` " +"を取得することは **できません** 。" #: discord.ext.commands.Bot.fetch_guild:12 of msgid "" "This method is an API call. For general usage, consider :meth:`get_guild`" " instead." -msgstr "" +msgstr "このメソッドはAPIを呼び出します。通常は :meth:`get_guild` を代わりとして使用してください。" #: discord.ext.commands.Bot.fetch_guild:14 of msgid "The guild's ID to fetch from." -msgstr "" +msgstr "取得したいギルドのID。" #: discord.ext.commands.Bot.fetch_guild:17 of #, fuzzy msgid "You do not have access to the guild." -msgstr "ギルドの名前。" +msgstr ":exc:`.Forbidden` -- ギルドにアクセスできない。" #: discord.ext.commands.Bot.fetch_guild:18 of +#, fuzzy msgid "Getting the guild failed." -msgstr "" +msgstr ":exc:`.HTTPException` -- ギルドの取得に失敗した。" #: discord.ext.commands.Bot.fetch_guild:20 of msgid "The guild from the ID." -msgstr "" +msgstr "IDから取得したギルド。" #: discord.ext.commands.Bot.fetch_guilds:3 of msgid "Retrieves an :class:`.AsyncIterator` that enables receiving your guilds." -msgstr "" +msgstr "Botが所属するGuildを取得できる、 :class:`AsyncIterator` を取得します。" #: discord.ext.commands.Bot.fetch_guilds:7 of msgid "" @@ -1017,16 +1181,18 @@ msgid "" ":attr:`.Guild.icon`, :attr:`.Guild.id`, and :attr:`.Guild.name` per " ":class:`.Guild`." msgstr "" +"これを使った場合、各 :class:`Guild` の :attr:`Guild.owner` 、 :attr:`Guild.icon` 、 " +":attr:`Guild.id` 、 :attr:`Guild.name` のみ取得できます。" #: discord.ext.commands.Bot.fetch_guilds:12 of msgid "" "This method is an API call. For general usage, consider :attr:`guilds` " "instead." -msgstr "" +msgstr "これはAPIを呼び出します。通常は :attr:`guilds` を代わりに使用してください。" #: discord.ext.commands.Bot.fetch_guilds:15 #: discord.ext.commands.Bot.wait_for:22 discord.ext.commands.Context.history:6 -#: discord.ext.commands.check:19 of +#: discord.ext.commands.check:37 discord.ext.commands.check_any:20 of msgid "Examples" msgstr "例" @@ -1042,33 +1208,46 @@ msgstr "リストへフラット化 ::" #: discord.ext.commands.Bot.fetch_guilds:26 #: discord.ext.commands.Context.history:19 of msgid "All parameters are optional." -msgstr "" +msgstr "すべてのパラメータがオプションです。" #: discord.ext.commands.Bot.fetch_guilds:28 of +#, fuzzy msgid "" "The number of guilds to retrieve. If ``None``, it retrieves every guild " "you have access to. Note, however, that this would make it a slow " -"operation. Defaults to 100." +"operation. Defaults to ``100``." msgstr "" +"取得するギルドの数。 ``None`` " +"の場合、あなたがアクセスできるギルドすべてを取得します。ただし、これには時間がかかります。デフォルトは100です。" #: discord.ext.commands.Bot.fetch_guilds:33 of msgid "" "Retrieves guilds before this date or object. If a date is provided it " "must be a timezone-naive datetime representing UTC time." msgstr "" +"この日付またはオブジェクトの前のGuildを取得します。もし日付が与えられた場合は、それはUTC時刻を表し、timezone " +"naiveであるdatetimeでないといけません。" #: discord.ext.commands.Bot.fetch_guilds:36 of msgid "" "Retrieve guilds after this date or object. If a date is provided it must " "be a timezone-naive datetime representing UTC time." msgstr "" +"この日付またはオブジェクトの後のGuildを取得します。もし日付が与えられた場合は、それはUTC時刻を表し、timezone " +"naiveであるdatetimeでないといけません。" #: discord.ext.commands.Bot.fetch_guilds:40 of +#, fuzzy msgid "Getting the guilds failed." -msgstr "" - -#: discord.ext.commands.Bot.fetch_guilds discord.ext.commands.Context.history -#: of +msgstr ":exc:`.HTTPException` -- ギルドの取得に失敗した。" + +#: discord.ext.commands.Bot.fetch_guilds +#: discord.ext.commands.Bot.get_all_channels +#: discord.ext.commands.Bot.get_all_members +#: discord.ext.commands.Bot.walk_commands +#: discord.ext.commands.Cog.walk_commands discord.ext.commands.Context.history +#: discord.ext.commands.Group.walk_commands +#: discord.ext.commands.GroupMixin.walk_commands of msgid "Yields" msgstr "Yieldする値" @@ -1084,7 +1263,7 @@ msgstr "" msgid "" "If the invite is for a guild you have not joined, the guild and channel " "attributes of the returned :class:`.Invite` will be " -":class:`.PartialInviteGuild` and :class:`PartialInviteChannel` " +":class:`.PartialInviteGuild` and :class:`.PartialInviteChannel` " "respectively." msgstr "" @@ -1116,6 +1295,32 @@ msgstr "" msgid ":class:`.Invite`" msgstr "" +#: discord.ext.commands.Bot.fetch_template:3 of +msgid "Gets a :class:`.Template` from a discord.new URL or code." +msgstr "" + +#: discord.ext.commands.Bot.fetch_template:5 of +msgid "The Discord Template Code or URL (must be a discord.new URL)." +msgstr "" + +#: discord.ext.commands.Bot.fetch_template:8 of +msgid "The template is invalid." +msgstr "" + +#: discord.ext.commands.Bot.fetch_template:9 of +msgid "Getting the template failed." +msgstr "" + +#: discord.ext.commands.Bot.fetch_template:11 of +#, fuzzy +msgid "The template from the URL/code." +msgstr "ギルドの名前。" + +#: discord.ext.commands.Bot.fetch_template:12 of +#, fuzzy +msgid ":class:`.Template`" +msgstr ":class:`.Guild`" + #: discord.ext.commands.Bot.fetch_user:3 of msgid "" "Retrieves a :class:`~discord.User` based on their ID. This can only be " @@ -1150,28 +1355,30 @@ msgid ":class:`~discord.User`" msgstr "" #: discord.ext.commands.Bot.fetch_user_profile:3 of -msgid "" -"Gets an arbitrary user's profile. This can only be used by non-bot " -"accounts." +msgid "Gets an arbitrary user's profile." +msgstr "" + +#: discord.ext.commands.Bot.fetch_user_profile:7 of +msgid "This can only be used by non-bot accounts." msgstr "" -#: discord.ext.commands.Bot.fetch_user_profile:5 of +#: discord.ext.commands.Bot.fetch_user_profile:9 of msgid "The ID of the user to fetch their profile for." msgstr "" -#: discord.ext.commands.Bot.fetch_user_profile:8 of +#: discord.ext.commands.Bot.fetch_user_profile:12 of msgid "Not allowed to fetch profiles." msgstr "" -#: discord.ext.commands.Bot.fetch_user_profile:9 of +#: discord.ext.commands.Bot.fetch_user_profile:13 of msgid "Fetching the profile failed." msgstr "" -#: discord.ext.commands.Bot.fetch_user_profile:11 of +#: discord.ext.commands.Bot.fetch_user_profile:15 of msgid "The profile of the user." msgstr "" -#: discord.ext.commands.Bot.fetch_user_profile:12 of +#: discord.ext.commands.Bot.fetch_user_profile:16 of msgid ":class:`.Profile`" msgstr "" @@ -1188,8 +1395,9 @@ msgid "Invalid webhook ID." msgstr "" #: discord.ext.commands.Bot.fetch_webhook:7 of +#, fuzzy msgid "You do not have permission to fetch this webhook." -msgstr "" +msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" #: discord.ext.commands.Bot.fetch_webhook:9 of msgid "The webhook you requested." @@ -1245,21 +1453,37 @@ msgid "" ":meth:`.abc.GuildChannel.permissions_for` should be used for that." msgstr "" +#: discord.ext.commands.Bot.get_all_channels:15 of +msgid ":class:`.abc.GuildChannel` -- A channel the client can 'access'." +msgstr "" + #: discord.ext.commands.Bot.get_all_members:1 of msgid "Returns a generator with every :class:`.Member` the client can see." msgstr "" +#: discord.ext.commands.Bot.get_all_members:9 of +msgid ":class:`.Member` -- A member the client can see." +msgstr "" + #: discord.ext.commands.Bot.get_channel:1 of -msgid "" -"Optional[Union[:class:`.abc.GuildChannel`, " -":class:`.abc.PrivateChannel`]]: Returns a channel with the given ID." +msgid "Returns a channel with the given ID." msgstr "" -#: discord.ext.commands.Bot.get_channel:4 discord.ext.commands.Bot.get_emoji:3 +#: discord.ext.commands.Bot.get_channel:3 discord.ext.commands.Bot.get_emoji:3 #: discord.ext.commands.Bot.get_guild:3 discord.ext.commands.Bot.get_user:3 of -msgid "If not found, returns ``None``." +#, fuzzy +msgid "The ID to search for." +msgstr "取得したいギルドのID。" + +#: discord.ext.commands.Bot.get_channel:6 of +msgid "The returned channel or ``None`` if not found." msgstr "" +#: discord.ext.commands.Bot.get_channel:7 of +#, fuzzy +msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]]" +msgstr "Union[ :class:`.abc.GuildChannel` , :class:`.abc.PrivateChannel` ]" + #: discord.ext.commands.Bot.get_cog:1 of msgid "Gets the cog instance requested." msgstr "" @@ -1275,11 +1499,21 @@ msgid "" "unspecified." msgstr "" +#: discord.ext.commands.Bot.get_cog:10 of +msgid "The cog that was requested. If not found, returns ``None``." +msgstr "" + +#: discord.ext.commands.Bot.get_cog:11 discord.ext.commands.Command:62 +#: discord.ext.commands.HelpCommand.cog:10 of +msgid "Optional[:class:`Cog`]" +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." -msgstr "" +#, fuzzy +msgid "Get a :class:`.Command` from the internal list of commands." +msgstr ":class:`.Command`やそのサブクラスを内部のコマンドリストに追加します。" #: discord.ext.commands.Bot.get_command:4 #: discord.ext.commands.Group.get_command:4 @@ -1308,11 +1542,13 @@ msgstr "" msgid "The command that was requested. If not found, returns ``None``." msgstr "" -#: discord.ext.commands.Bot.get_command:14 +#: discord.ext.commands.Bot.get_command:14 discord.ext.commands.Command:56 +#: discord.ext.commands.Command:103 discord.ext.commands.Command.root_parent:7 #: discord.ext.commands.Group.get_command:14 +#: discord.ext.commands.Group.root_parent:7 #: discord.ext.commands.GroupMixin.get_command:14 of -msgid ":class:`Command` or subclass" -msgstr ":class:`Command` またはサブクラス" +msgid "Optional[:class:`Command`]" +msgstr "" #: discord.ext.commands.Bot.get_context:3 of msgid "Returns the invocation context from the message." @@ -1354,13 +1590,30 @@ msgid ":class:`.Context`" msgstr "" #: discord.ext.commands.Bot.get_emoji:1 of -msgid "Optional[:class:`.Emoji`]: Returns an emoji with the given ID." +msgid "Returns an emoji with the given ID." +msgstr "" + +#: discord.ext.commands.Bot.get_emoji:6 of +msgid "The custom emoji or ``None`` if not found." +msgstr "" + +#: discord.ext.commands.Bot.get_emoji:7 of +msgid "Optional[:class:`.Emoji`]" msgstr "" #: discord.ext.commands.Bot.get_guild:1 of -msgid "Optional[:class:`.Guild`]: Returns a guild with the given ID." +msgid "Returns a guild with the given ID." msgstr "" +#: discord.ext.commands.Bot.get_guild:6 of +msgid "The guild or ``None`` if not found." +msgstr "" + +#: discord.ext.commands.Bot.get_guild:7 discord.ext.commands.Context.guild:3 of +#, fuzzy +msgid "Optional[:class:`.Guild`]" +msgstr ":class:`.Guild`" + #: discord.ext.commands.Bot.get_prefix:3 of msgid "" "Retrieves the prefix the bot is listening to with the message as a " @@ -1380,7 +1633,15 @@ msgid "Union[List[:class:`str`], :class:`str`]" msgstr "" #: discord.ext.commands.Bot.get_user:1 of -msgid "Optional[:class:`~discord.User`]: Returns a user with the given ID." +msgid "Returns a user with the given ID." +msgstr "" + +#: discord.ext.commands.Bot.get_user:6 of +msgid "The user or ``None`` if not found." +msgstr "" + +#: discord.ext.commands.Bot.get_user:7 of +msgid "Optional[:class:`~discord.User`]" msgstr "" #: discord.ext.commands.Bot.group:1 discord.ext.commands.Group.group:1 @@ -1390,6 +1651,18 @@ msgid "" "internal command list via :meth:`~.GroupMixin.add_command`." msgstr "" +#: discord.ext.commands.Bot.group:4 discord.ext.commands.Group.group:4 +#: discord.ext.commands.GroupMixin.group:4 of +msgid "" +"A decorator that converts the provided method into a Group, adds it to " +"the bot, then returns it." +msgstr "" + +#: discord.ext.commands.Bot.group:5 discord.ext.commands.Group.group:5 +#: discord.ext.commands.GroupMixin.group:5 of +msgid "Callable[..., :class:`Group`]" +msgstr "" + #: discord.ext.commands.Bot.guilds:1 of msgid "The guilds that the connected client is a member of." msgstr "" @@ -1399,6 +1672,15 @@ msgstr "" msgid "List[:class:`.Guild`]" msgstr ":class:`.Guild`" +#: discord.ext.commands.Bot.intents:1 of +msgid "The intents configured for this connection." +msgstr "" + +#: discord.ext.commands.Bot.intents:5 of +#, fuzzy +msgid ":class:`Intents`" +msgstr ":class:`.Guild`" + #: discord.ext.commands.Bot.invoke:3 of msgid "" "Invokes the command given under the invocation context and handles all " @@ -1410,31 +1692,37 @@ msgid "The invocation context to invoke." msgstr "" #: discord.ext.commands.Bot.is_closed:1 of -msgid "Indicates if the websocket connection is closed." +msgid ":class:`bool`: Indicates if the websocket connection is closed." msgstr "" -#: discord.ext.commands.Bot.is_owner:1 of +#: discord.ext.commands.Bot.is_owner:3 of msgid "" "Checks if a :class:`~discord.User` or :class:`~discord.Member` is the " "owner of this bot." msgstr "" -#: discord.ext.commands.Bot.is_owner:4 of +#: discord.ext.commands.Bot.is_owner:6 of msgid "" "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 +#: discord.ext.commands.Bot.is_owner:9 of +msgid "" +"The function also checks if the application is team-owned if " +":attr:`owner_ids` is not set." +msgstr "" + +#: discord.ext.commands.Bot.is_owner:13 of msgid "The user to check for." msgstr "" -#: discord.ext.commands.Bot.is_owner:10 of +#: discord.ext.commands.Bot.is_owner:16 of msgid "Whether the user is the owner." msgstr "" #: discord.ext.commands.Bot.is_ready:1 of -msgid "Specifies if the client's internal cache is ready for use." +msgid ":class:`bool`: Specifies if the client's internal cache is ready for use." msgstr "" #: discord.ext.commands.Bot.latency:1 of @@ -1445,8 +1733,10 @@ msgstr "" msgid "This could be referred to as the Discord WebSocket protocol latency." msgstr "" -#: discord.ext.commands.Bot.latency:5 discord.ext.commands.CommandOnCooldown:16 -#: of +#: discord.ext.commands.Bot.latency:5 +#: discord.ext.commands.Command.get_cooldown_retry_after:10 +#: discord.ext.commands.CommandOnCooldown:16 +#: discord.ext.commands.Group.get_cooldown_retry_after:10 of #, fuzzy msgid ":class:`float`" msgstr ":class:`.AppInfo`" @@ -1509,9 +1799,8 @@ msgstr "" msgid "The extension does not have a setup function." msgstr "" -#: discord.ext.commands.Bot.load_extension:18 -#: discord.ext.commands.Bot.reload_extension:16 of -msgid "The extension setup function had an execution error." +#: discord.ext.commands.Bot.load_extension:18 of +msgid "The extension or its setup function had an execution error." msgstr "" #: discord.ext.commands.Bot.login:3 of @@ -1525,9 +1814,8 @@ 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 @@ -1657,6 +1945,10 @@ msgstr "" msgid "The extension was not loaded." msgstr "" +#: discord.ext.commands.Bot.reload_extension:16 of +msgid "The extension setup function had an execution error." +msgstr "" + #: discord.ext.commands.Bot.remove_check:1 of msgid "Removes a global check from the bot." msgstr "" @@ -1698,10 +1990,9 @@ msgstr "" #: discord.ext.commands.Bot.remove_command:1 #: 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." -msgstr "" +#, fuzzy +msgid "Remove a :class:`.Command` from the internal list of commands." +msgstr ":class:`.Command`やそのサブクラスを内部のコマンドリストに追加します。" #: discord.ext.commands.Bot.remove_command:4 #: discord.ext.commands.Group.remove_command:4 @@ -1719,14 +2010,14 @@ msgstr "" #: discord.ext.commands.Group.remove_command:9 #: discord.ext.commands.GroupMixin.remove_command:9 of msgid "" -"The command that was removed. If the name is not valid then `None` is " +"The command that was removed. If the name is not valid then ``None`` is " "returned instead." msgstr "" #: discord.ext.commands.Bot.remove_command:11 #: discord.ext.commands.Group.remove_command:11 #: discord.ext.commands.GroupMixin.remove_command:11 of -msgid ":class:`.Command` or subclass" +msgid "Optional[:class:`.Command`]" msgstr "" #: discord.ext.commands.Bot.remove_listener:1 of @@ -1757,12 +2048,17 @@ msgid "" ":attr:`.Guild.large` is ``True``." msgstr "" -#: discord.ext.commands.Bot.request_offline_members:13 of +#: discord.ext.commands.Bot.request_offline_members:15 of +#, fuzzy +msgid "This method is deprecated. Use :meth:`Guild.chunk` instead." +msgstr "このメソッドはAPIを呼び出します。通常は :meth:`get_guild` を代わりとして使用してください。" + +#: discord.ext.commands.Bot.request_offline_members:17 of msgid "An argument list of guilds to request offline members for." msgstr "" -#: discord.ext.commands.Bot.request_offline_members:16 of -msgid "If any guild is unavailable or not large in the collection." +#: discord.ext.commands.Bot.request_offline_members:20 of +msgid "If any guild is unavailable in the collection." msgstr "" #: discord.ext.commands.Bot.run:1 of @@ -1823,7 +2119,7 @@ msgid "" msgstr "" #: discord.ext.commands.Bot.user:1 of -msgid "Represents the connected client. None if not logged in." +msgid "Represents the connected client. ``None`` if not logged in." msgstr "" #: discord.ext.commands.Bot.user:3 of @@ -1843,7 +2139,11 @@ msgid "Represents a list of voice connections." msgstr "" #: discord.ext.commands.Bot.voice_clients:3 of -msgid "List[:class:`.VoiceClient`]" +msgid "These are usually :class:`.VoiceClient` instances." +msgstr "" + +#: discord.ext.commands.Bot.voice_clients:5 of +msgid "List[:class:`.VoiceProtocol`]" msgstr "" #: discord.ext.commands.Bot.wait_for:3 of @@ -1923,6 +2223,21 @@ msgstr "" msgid "An iterator that recursively walks through all commands and subcommands." msgstr "" +#: discord.ext.commands.Bot.walk_commands:3 +#: discord.ext.commands.Group.walk_commands:3 +#: discord.ext.commands.GroupMixin.walk_commands:3 of +msgid "Duplicates due to aliases are no longer returned" +msgstr "" + +#: discord.ext.commands.Bot.walk_commands:6 +#: discord.ext.commands.Group.walk_commands:6 +#: discord.ext.commands.GroupMixin.walk_commands:6 of +#, fuzzy +msgid "" +"Union[:class:`.Command`, :class:`.Group`] -- A command or group from the " +"internal list of commands." +msgstr ":class:`.Command`やそのサブクラスを内部のコマンドリストに追加します。" + #: discord.ext.commands.AutoShardedBot:1 of msgid "" "This is similar to :class:`.Bot` except that it is inherited from " @@ -2012,7 +2327,7 @@ msgstr "" #: ../../ext/commands/api.rst:68 msgid "Command" -msgstr "コマンド" +msgstr "Command" #: discord.ext.commands.command:1 of msgid "" @@ -2100,44 +2415,44 @@ msgid "The long help text for the command." msgstr "" #: discord.ext.commands.Command:26 of -msgid "" -"The short help text for the command. If this is not specified then the " -"first line of the long help text is used instead." +msgid "The short help text for the command." msgstr "" -#: discord.ext.commands.Command:33 of +#: discord.ext.commands.Command:28 discord.ext.commands.Command.cog_name:3 +#: discord.ext.commands.Context:70 discord.ext.commands.Group.cog_name:3 of +msgid "Optional[:class:`str`]" +msgstr "" + +#: discord.ext.commands.Command:32 of msgid "A replacement for arguments in the default help text." msgstr "" -#: discord.ext.commands.Command:39 of +#: discord.ext.commands.Command:38 of msgid "The list of aliases the command can be invoked under." msgstr "" -#: discord.ext.commands.BotMissingPermissions:10 -#: discord.ext.commands.Command:41 discord.ext.commands.Context:27 -#: discord.ext.commands.MissingPermissions:10 of -#, fuzzy -msgid ":class:`list`" -msgstr ":class:`.Guild`" +#: discord.ext.commands.Command:40 of +msgid "Union[List[:class:`str`], Tuple[:class:`str`]]" +msgstr "" -#: discord.ext.commands.Command:45 of +#: discord.ext.commands.Command:44 of msgid "" "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``." msgstr "" -#: discord.ext.commands.Command:54 of +#: discord.ext.commands.Command:53 of msgid "" "The parent command that this command belongs to. ``None`` if there isn't " "one." msgstr "" -#: discord.ext.commands.Command:57 discord.ext.commands.Command:98 of -msgid "Optional[:class:`Command`]" +#: discord.ext.commands.Command:60 of +msgid "The cog that this command belongs to. ``None`` if there isn't one." msgstr "" -#: discord.ext.commands.Command:61 of +#: discord.ext.commands.Command:66 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 " @@ -2147,22 +2462,22 @@ msgid "" " event." msgstr "" -#: discord.ext.commands.Command:68 of +#: discord.ext.commands.Command:73 of msgid "List[Callable[..., :class:`bool`]]" msgstr "" -#: discord.ext.commands.Command:72 of +#: discord.ext.commands.Command:77 of #, fuzzy msgid "The message prefixed into the default help command." msgstr ":class:`str` -- この属性に入力されたテキストは、デフォルトのヘルプメッセージの先頭に表示されます。" -#: discord.ext.commands.Command:78 of +#: discord.ext.commands.Command:83 of msgid "" "If ``True``\\, the default help command does not show this in the help " "output." msgstr "" -#: discord.ext.commands.Command:85 of +#: discord.ext.commands.Command:90 of msgid "" "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 " @@ -2172,11 +2487,17 @@ msgid "" "a completely raw matter. Defaults to ``False``." msgstr "" -#: discord.ext.commands.Command:96 of +#: discord.ext.commands.Command:101 of msgid "The subcommand that was invoked, if any." msgstr "" -#: discord.ext.commands.Command:102 of +#: discord.ext.commands.Command:107 of +msgid "" +"If ``True`` and a variadic positional argument is specified, requires the" +" user to specify at least one argument. Defaults to ``False``." +msgstr "" + +#: discord.ext.commands.Command:116 of msgid "" "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 " @@ -2184,13 +2505,51 @@ msgid "" "called with :exc:`.TooManyArguments`. Defaults to ``True``." msgstr "" -#: discord.ext.commands.Command:111 of +#: discord.ext.commands.Command:125 of msgid "" "If ``True``\\, cooldown processing is done after argument parsing, which " "calls converters. If ``False`` then cooldown processing is done first and" " then the converters are called second. Defaults to ``False``." msgstr "" +#: discord.ext.commands.Command.add_check:1 +#: discord.ext.commands.Group.add_check:1 of +#, fuzzy +msgid "Adds a check to the command." +msgstr "ボットにグローバルチェックを追加します。" + +#: discord.ext.commands.Command.add_check:3 +#: discord.ext.commands.Group.add_check:3 of +#, fuzzy +msgid "This is the non-decorator interface to :func:`.check`." +msgstr "これは:meth:`.check`と:meth:`.check_once`のデコレータでない実装です。" + +#: discord.ext.commands.Command.add_check:7 +#: discord.ext.commands.Group.add_check:7 +#: discord.ext.commands.HelpCommand.add_check:5 of +#, fuzzy +msgid "The function that will be used as a check." +msgstr "グローバルチェックとして使用される関数。" + +#: discord.ext.commands.Command.remove_check:1 +#: discord.ext.commands.Group.remove_check:1 of +msgid "Removes a check from the command." +msgstr "" + +#: discord.ext.commands.Command.remove_check:3 +#: discord.ext.commands.Group.remove_check:3 +#: discord.ext.commands.HelpCommand.remove_check:3 of +msgid "" +"This function is idempotent and will not raise an exception if the " +"function is not in the command's checks." +msgstr "" + +#: discord.ext.commands.Command.remove_check:8 +#: discord.ext.commands.Group.remove_check:8 +#: discord.ext.commands.HelpCommand.remove_check:8 of +msgid "The function to remove from the checks." +msgstr "" + #: discord.ext.commands.Command.update:1 discord.ext.commands.Group.update:1 of msgid "Updates :class:`Command` instance with updated attribute." msgstr "" @@ -2202,19 +2561,40 @@ msgid "" "constructors, sans the name and callback." msgstr "" +#: discord.ext.commands.Command.__call__:3 of +msgid "Calls the internal callback that the command holds." +msgstr "" + +#: discord.ext.commands.Command.__call__:7 of +msgid "" +"This bypasses all mechanisms -- including checks, converters, invoke " +"hooks, cooldowns, etc. You must take care to pass the proper arguments " +"and types to this function." +msgstr "" + #: discord.ext.commands.Command.copy:1 of msgid "Creates a copy of this command." msgstr "" +#: discord.ext.commands.Command.copy:3 of +msgid "A new instance of this command." +msgstr "" + +#: discord.ext.commands.Command.copy:4 discord.ext.commands.Context:47 +#: discord.ext.commands.Context:61 of +#, fuzzy +msgid ":class:`Command`" +msgstr ":class:`Command` またはサブクラス" + #: 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." +"OrderedDict[:class:`str`, :class:`inspect.Parameter`]: Retrieves the " +"parameter OrderedDict without the context or self parameters." msgstr "" -#: discord.ext.commands.Command.clean_params:3 -#: discord.ext.commands.Group.clean_params:3 of +#: discord.ext.commands.Command.clean_params:4 +#: discord.ext.commands.Group.clean_params:4 of msgid "Useful for inspecting signature." msgstr "" @@ -2246,10 +2626,9 @@ msgid "For example in commands ``?a b c test``, the parents are ``[c, b, a]``." msgstr "" #: discord.ext.commands.Command.parents:9 discord.ext.commands.Group.parents:9 -#: of -#, fuzzy -msgid ":class:`Command`" -msgstr ":class:`Command` またはサブクラス" +#: discord.ext.commands.HelpCommand.filter_commands:18 of +msgid "List[:class:`Command`]" +msgstr "" #: discord.ext.commands.Command.root_parent:1 #: discord.ext.commands.Group.root_parent:1 of @@ -2303,6 +2682,23 @@ msgstr "" msgid "The invocation context to reset the cooldown under." msgstr "" +#: discord.ext.commands.Command.get_cooldown_retry_after:1 +#: discord.ext.commands.Group.get_cooldown_retry_after:1 of +msgid "Retrieves the amount of seconds before this command can be tried again." +msgstr "" + +#: discord.ext.commands.Command.get_cooldown_retry_after:5 +#: discord.ext.commands.Group.get_cooldown_retry_after:5 of +msgid "The invocation context to retrieve the cooldown from." +msgstr "" + +#: discord.ext.commands.Command.get_cooldown_retry_after:8 +#: discord.ext.commands.Group.get_cooldown_retry_after:8 of +msgid "" +"The amount of time left on this command's cooldown in seconds. If this is" +" ``0.0`` then the command isn't on cooldown." +msgstr "" + #: discord.ext.commands.Command.error:1 discord.ext.commands.Group.error:1 of msgid "A decorator that registers a coroutine as a local error handler." msgstr "" @@ -2330,7 +2726,7 @@ msgstr "" #: discord.ext.commands.Command.cog_name:1 #: discord.ext.commands.Group.cog_name:1 of -msgid "The name of the cog this command belongs to. None otherwise." +msgid "The name of the cog this command belongs to, if any." msgstr "" #: discord.ext.commands.Command.short_doc:1 @@ -2355,23 +2751,29 @@ msgstr "" #: of msgid "" "Checks if the command can be executed by checking all the predicates " -"inside the :attr:`.checks` attribute." +"inside the :attr:`checks` attribute. This also checks whether the command" +" is disabled." msgstr "" -#: discord.ext.commands.Command.can_run:6 discord.ext.commands.Group.can_run:6 +#: discord.ext.commands.Command.can_run:7 discord.ext.commands.Group.can_run:7 #: of +msgid "Checks whether the command is disabled or not" +msgstr "" + +#: discord.ext.commands.Command.can_run:10 +#: discord.ext.commands.Group.can_run:10 of msgid "The ctx of the command currently being invoked." msgstr "" -#: discord.ext.commands.Command.can_run:9 discord.ext.commands.Group.can_run:9 -#: of +#: discord.ext.commands.Command.can_run:13 +#: discord.ext.commands.Group.can_run:13 of msgid "" "Any command error that was raised during a check call will be propagated" " by this function." msgstr "" -#: discord.ext.commands.Command.can_run:11 -#: discord.ext.commands.Group.can_run:11 of +#: discord.ext.commands.Command.can_run:15 +#: discord.ext.commands.Group.can_run:15 of msgid "A boolean indicating if the command can be invoked." msgstr "" @@ -2398,11 +2800,6 @@ msgid "" "executed. Defaults to ``False``." msgstr "" -#: discord.ext.commands.DefaultHelpCommand:29 discord.ext.commands.Group:18 -#: discord.ext.commands.Group:25 discord.ext.commands.MinimalHelpCommand:34 of -msgid "Optional[:class:`bool`]" -msgstr "" - #: discord.ext.commands.Group:22 of msgid "" "Indicates if the group's commands should be case insensitive. Defaults to" @@ -2413,6 +2810,15 @@ msgstr "" msgid "Creates a copy of this :class:`Group`." msgstr "" +#: discord.ext.commands.Group.copy:3 of +msgid "A new instance of this group." +msgstr "" + +#: discord.ext.commands.Group.copy:4 of +#, fuzzy +msgid ":class:`Group`" +msgstr ":class:`.Guild`" + #: discord.ext.commands.GroupMixin:1 of msgid "" "A mixin that implements common functionality for classes that behave " @@ -2420,7 +2826,7 @@ msgid "" msgstr "" #: discord.ext.commands.GroupMixin:6 of -msgid "A mapping of command name to :class:`.Command` or subclass objects." +msgid "A mapping of command name to :class:`.Command` objects." msgstr "" #: discord.ext.commands.CogMeta:57 discord.ext.commands.Context:35 @@ -2433,9 +2839,9 @@ msgstr ":class:`.Guild`" msgid "Whether the commands should be case insensitive. Defaults to ``False``." msgstr "" -#: ../../ext/commands/api.rst:87 +#: ../../ext/commands/api.rst:88 msgid "Cogs" -msgstr "コグ" +msgstr "Cogs" #: discord.ext.commands.Cog:1 of msgid "The base class that all cogs must inherit from." @@ -2456,14 +2862,22 @@ msgstr "" #: discord.ext.commands.Cog.get_commands:1 of msgid "" -"Returns a :class:`list` of :class:`.Command`\\s that are defined inside " -"this cog." +"A :class:`list` of :class:`.Command`\\s that are defined inside this cog." +" .. note:: This does not include subcommands." +msgstr "" + +#: discord.ext.commands.Cog.get_commands:1 of +msgid "A :class:`list` of :class:`.Command`\\s that are defined inside this cog." msgstr "" #: discord.ext.commands.Cog.get_commands:6 of msgid "This does not include subcommands." msgstr "" +#: discord.ext.commands.Cog.get_commands:7 of +msgid "List[:class:`.Command`]" +msgstr "" + #: discord.ext.commands.Cog.qualified_name:1 of msgid "Returns the cog's specified name, not the class name." msgstr "" @@ -2478,12 +2892,26 @@ msgid "" "subcommands." msgstr "" +#: discord.ext.commands.Cog.walk_commands:3 of +msgid "" +"Union[:class:`.Command`, :class:`.Group`] -- A command or group from the " +"cog." +msgstr "" + #: discord.ext.commands.Cog.get_listeners:1 of msgid "" "Returns a :class:`list` of (name, function) listener pairs that are " "defined in this cog." msgstr "" +#: discord.ext.commands.Cog.get_listeners:3 of +msgid "The listeners defined in this cog." +msgstr "" + +#: discord.ext.commands.Cog.get_listeners:4 of +msgid "List[Tuple[:class:`str`, :ref:`coroutine `]]" +msgstr "" + #: discord.ext.commands.Cog.listener:1 of msgid "A decorator that marks a function as a listener." msgstr "" @@ -2550,8 +2978,10 @@ msgid "" "commands inside this cog." msgstr "" +#: discord.ext.commands.Cog.cog_after_invoke:5 +#: discord.ext.commands.Cog.cog_before_invoke:5 #: discord.ext.commands.Cog.cog_command_error:7 of -msgid "This function **can** be a coroutine." +msgid "This **must** be a coroutine." msgstr "" #: discord.ext.commands.Cog.cog_command_error:9 of @@ -2570,11 +3000,6 @@ msgstr "" msgid "This is similar to :meth:`.Command.before_invoke`." msgstr "" -#: discord.ext.commands.Cog.cog_after_invoke:5 -#: discord.ext.commands.Cog.cog_before_invoke:5 of -msgid "This **must** be a coroutine." -msgstr "" - #: discord.ext.commands.Cog.cog_after_invoke:1 of msgid "A special method that acts as a cog local post-invoke hook." msgstr "" @@ -2617,13 +3042,12 @@ msgstr "" #: discord.ext.commands.CogMeta:41 of msgid "" "A list of attributes to apply to every command inside this cog. The " -"dictionary is passed into the :class:`Command` (or its subclass) options " -"at ``__init__``. If you specify attributes inside the command attribute " -"in the class, it will override the one specified inside this attribute. " -"For example:" +"dictionary is passed into the :class:`Command` options at ``__init__``. " +"If you specify attributes inside the command attribute in the class, it " +"will override the one specified inside this attribute. For example:" msgstr "" -#: ../../ext/commands/api.rst:98 +#: ../../ext/commands/api.rst:99 msgid "Help Commands" msgstr "" @@ -2674,6 +3098,15 @@ msgid "" "same as the ones passed in the :class:`.Command` constructor." msgstr "" +#: discord.ext.commands.HelpCommand.add_check:1 of +#, fuzzy +msgid "Adds a check to the help command." +msgstr "ボットにグローバルチェックを追加します。" + +#: discord.ext.commands.HelpCommand.remove_check:1 of +msgid "Removes a check from the help command." +msgstr "" + #: discord.ext.commands.HelpCommand.get_bot_mapping:1 of msgid "Retrieves the bot mapping passed to :meth:`send_bot_help`." msgstr "" @@ -2725,6 +3158,10 @@ msgstr "" msgid "This includes ``@everyone``, ``@here``, member mentions and role mentions." msgstr "" +#: discord.ext.commands.HelpCommand.remove_mentions:5 of +msgid "The string with mentions removed." +msgstr "" + #: discord.ext.commands.HelpCommand.cog:1 of msgid "A property for retrieving or setting the cog for the help command." msgstr "" @@ -2744,10 +3181,6 @@ msgstr "" msgid "The cog that is currently set for the help command." msgstr "" -#: discord.ext.commands.HelpCommand.cog:10 of -msgid "Optional[:class:`Cog`]" -msgstr "" - #: discord.ext.commands.HelpCommand.command_not_found:1 #: discord.ext.commands.HelpCommand.subcommand_not_found:1 of msgid "|maybecoro|" @@ -2844,10 +3277,6 @@ msgstr "" msgid "A list of commands that passed the filter." msgstr "" -#: discord.ext.commands.HelpCommand.filter_commands:18 of -msgid "List[:class:`Command`]" -msgstr "" - #: discord.ext.commands.HelpCommand.get_max_size:1 of msgid "Returns the largest name length of the specified command list." msgstr "" @@ -2863,6 +3292,7 @@ msgstr "" #: discord.ext.commands.DefaultHelpCommand:12 #: discord.ext.commands.DefaultHelpCommand:42 #: discord.ext.commands.HelpCommand.get_max_size:7 +#: discord.ext.commands.MaxConcurrencyReached:9 #: discord.ext.commands.Paginator:25 of msgid ":class:`int`" msgstr "" @@ -2892,6 +3322,18 @@ msgstr "" msgid "By default this returns the context's channel." msgstr "" +#: discord.ext.commands.DefaultHelpCommand.get_destination:7 +#: discord.ext.commands.HelpCommand.get_destination:7 +#: discord.ext.commands.MinimalHelpCommand.get_destination:7 of +msgid "The destination where the help command will be output." +msgstr "" + +#: discord.ext.commands.DefaultHelpCommand.get_destination:8 +#: discord.ext.commands.HelpCommand.get_destination:8 +#: discord.ext.commands.MinimalHelpCommand.get_destination:8 of +msgid ":class:`.abc.Messageable`" +msgstr "" + #: discord.ext.commands.HelpCommand.send_error_message:3 of msgid "" "Handles the implementation when an error happens in the help command. For" @@ -3157,6 +3599,11 @@ msgid "" " characters). Defaults to ``False``." msgstr "" +#: discord.ext.commands.DefaultHelpCommand:29 +#: discord.ext.commands.MinimalHelpCommand:34 of +msgid "Optional[:class:`bool`]" +msgstr "" + #: discord.ext.commands.DefaultHelpCommand:33 #: discord.ext.commands.MinimalHelpCommand:38 of msgid "" @@ -3165,7 +3612,7 @@ msgid "" msgstr "" #: discord.ext.commands.DefaultHelpCommand:40 of -msgid "How much to intend the commands from a heading. Defaults to ``2``." +msgid "How much to indent the commands from a heading. Defaults to ``2``." msgstr "" #: discord.ext.commands.DefaultHelpCommand:46 of @@ -3193,13 +3640,15 @@ msgid ":class:`Paginator`" msgstr ":class:`.AppInfo`" #: discord.ext.commands.DefaultHelpCommand.shorten_text:1 of -msgid "Shortens text to fit into the :attr:`width`." +#, fuzzy +msgid ":class:`str`: Shortens text to fit into the :attr:`width`." msgstr "渡された文字列を、 :attr:`width` に収まるよう省略します。" #: discord.ext.commands.DefaultHelpCommand.get_ending_note:1 of +#, fuzzy msgid "" -"Returns help command's ending note. This is mainly useful to override for" -" i18n purposes." +":class:`str`: Returns help command's ending note. This is mainly useful " +"to override for i18n purposes." msgstr "Helpコマンドの末尾の文字列を返します。主に翻訳する際にオーバーライドしてください。" #: discord.ext.commands.DefaultHelpCommand.add_indented_commands:1 of @@ -3278,12 +3727,20 @@ msgstr "" msgid "The default implementation returns ::" msgstr "" +#: discord.ext.commands.MinimalHelpCommand.get_opening_note:8 of +msgid "The help command opening note." +msgstr "" + #: discord.ext.commands.MinimalHelpCommand.get_ending_note:1 of msgid "" "Return the help command's ending note. This is mainly useful to override " "for i18n purposes." msgstr "" +#: discord.ext.commands.MinimalHelpCommand.get_ending_note:5 of +msgid "The help command ending note." +msgstr "" + #: discord.ext.commands.MinimalHelpCommand.add_bot_commands_formatting:1 of msgid "Adds the minified bot heading with commands to the output." msgstr "" @@ -3357,11 +3814,6 @@ msgstr "" msgid "The prefix inserted to every page. e.g. three backticks." msgstr "" -#: discord.ext.commands.Context:68 discord.ext.commands.Paginator:13 -#: discord.ext.commands.Paginator:19 of -msgid "Optional[:class:`str`]" -msgstr "" - #: discord.ext.commands.Paginator:17 of msgid "The suffix appended at the end of every page. e.g. three backticks." msgstr "" @@ -3402,7 +3854,47 @@ msgstr "" msgid "Returns the rendered list of pages." msgstr "" -#: ../../ext/commands/api.rst:117 +#: discord.ext.commands.Paginator.pages:3 of +msgid "List[:class:`str`]" +msgstr "" + +#: ../../ext/commands/api.rst:116 +msgid "Enums" +msgstr "" + +#: ../../ext/commands/api.rst:120 +msgid "Specifies a type of bucket for, e.g. a cooldown." +msgstr "" + +#: ../../ext/commands/api.rst:124 +msgid "The default bucket operates on a global basis." +msgstr "" + +#: ../../ext/commands/api.rst:127 +msgid "The user bucket operates on a per-user basis." +msgstr "" + +#: ../../ext/commands/api.rst:130 +msgid "The guild bucket operates on a per-guild basis." +msgstr "" + +#: ../../ext/commands/api.rst:133 +msgid "The channel bucket operates on a per-channel basis." +msgstr "" + +#: ../../ext/commands/api.rst:136 +msgid "The member bucket operates on a per-member basis." +msgstr "" + +#: ../../ext/commands/api.rst:139 +msgid "The category bucket operates on a per-category basis." +msgstr "" + +#: ../../ext/commands/api.rst:142 +msgid "The role bucket operates on a per-role basis." +msgstr "" + +#: ../../ext/commands/api.rst:150 msgid "Checks" msgstr "" @@ -3428,22 +3920,67 @@ msgid "" ":func:`.on_command_error`." msgstr "" -#: discord.ext.commands.check:16 of -msgid "These functions can either be regular functions or coroutines." +#: discord.ext.commands.check:14 of +msgid "" +"A special attribute named ``predicate`` is bound to the value returned by" +" this decorator to retrieve the predicate passed to the decorator. This " +"allows the following introspection and chaining to be done:" +msgstr "" + +#: discord.ext.commands.check:30 of +msgid "" +"The function returned by ``predicate`` is **always** a coroutine, even if" +" the original function was not a coroutine." +msgstr "" + +#: discord.ext.commands.check:33 of +msgid "The ``predicate`` attribute was added." msgstr "" -#: discord.ext.commands.check:20 of +#: discord.ext.commands.check:38 of msgid "Creating a basic check to see if the command invoker is you." msgstr "" -#: discord.ext.commands.check:32 of +#: discord.ext.commands.check:50 of msgid "Transforming common checks into its own decorator:" msgstr "" -#: discord.ext.commands.check:46 of +#: discord.ext.commands.check:64 of msgid "The predicate to check if the command should be invoked." msgstr "" +#: discord.ext.commands.check_any:1 of +msgid "" +"A :func:`check` that is added that checks if any of the checks passed " +"will pass, i.e. using logical OR." +msgstr "" + +#: discord.ext.commands.check_any:4 of +msgid "" +"If all checks fail then :exc:`.CheckAnyFailure` is raised to signal the " +"failure. It inherits from :exc:`.CheckFailure`." +msgstr "" + +#: discord.ext.commands.check_any:9 of +msgid "The ``predicate`` attribute for this function **is** a coroutine." +msgstr "" + +#: discord.ext.commands.check_any:13 of +msgid "" +"An argument list of checks that have been decorated with the " +":func:`check` decorator." +msgstr "" + +#: discord.ext.commands.check_any:17 of +msgid "" +"A check passed has not been decorated with the :func:`check` " +"decorator." +msgstr "" + +#: discord.ext.commands.check_any:21 of +msgid "Creating a basic check to see if it's the bot owner or the server owner:" +msgstr "" + #: discord.ext.commands.has_role:1 of msgid "" "A :func:`.check` that is added that checks if the member invoking the " @@ -3493,20 +4030,38 @@ msgstr "" #: discord.ext.commands.has_permissions:4 of msgid "" +"Note that this check operates on the current channel permissions, not the" +" guild wide permissions." +msgstr "" + +#: discord.ext.commands.has_permissions:7 of +msgid "" "The permissions passed in must be exactly like the properties shown under" " :class:`.discord.Permissions`." msgstr "" -#: discord.ext.commands.has_permissions:7 of +#: discord.ext.commands.has_permissions:10 of msgid "" "This check raises a special exception, :exc:`.MissingPermissions` that is" " inherited from :exc:`.CheckFailure`." msgstr "" -#: discord.ext.commands.has_permissions:10 of +#: discord.ext.commands.has_permissions:13 of msgid "An argument list of permissions to check for." msgstr "" +#: discord.ext.commands.has_guild_permissions:1 of +msgid "" +"Similar to :func:`.has_permissions`, but operates on guild wide " +"permissions instead of the current channel permissions." +msgstr "" + +#: discord.ext.commands.has_guild_permissions:4 of +msgid "" +"If this check is called in a DM context, it will raise an exception, " +":exc:`.NoPrivateMessage`." +msgstr "" + #: discord.ext.commands.has_any_role:1 of msgid "" "A :func:`.check` that is added that checks if the member invoking the " @@ -3564,6 +4119,12 @@ msgid "" " is inherited from :exc:`.CheckFailure`." msgstr "" +#: discord.ext.commands.bot_has_guild_permissions:1 of +msgid "" +"Similar to :func:`.has_guild_permissions`, but checks the bot members " +"guild permissions." +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 " @@ -3585,62 +4146,86 @@ msgid "" msgstr "" #: discord.ext.commands.cooldown:1 of -msgid "A decorator that adds a cooldown to a :class:`.Command` or its subclasses." -msgstr "" +#, fuzzy +msgid "A decorator that adds a cooldown to a :class:`.Command`" +msgstr "Botにグローバルチェックを追加するデコレーター" -#: discord.ext.commands.cooldown:4 of +#: discord.ext.commands.cooldown:3 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:" +"guild, per-channel, per-user, per-role or global basis. Denoted by the " +"third argument of ``type`` which must be of enum type " +":class:`.BucketType`." msgstr "" -#: discord.ext.commands.cooldown:10 of -msgid "``BucketType.default`` for a global basis." +#: discord.ext.commands.cooldown:9 of +msgid "" +"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:11 of -msgid "``BucketType.user`` for a per-user basis." +#: discord.ext.commands.cooldown:12 of +msgid "A command can only have a single cooldown." msgstr "" -#: discord.ext.commands.cooldown:12 of -msgid "``BucketType.guild`` for a per-guild basis." +#: discord.ext.commands.cooldown:14 of +msgid "The number of times a command can be used before triggering a cooldown." msgstr "" -#: discord.ext.commands.cooldown:13 of -msgid "``BucketType.channel`` for a per-channel basis." +#: discord.ext.commands.cooldown:16 of +msgid "The amount of seconds to wait for a cooldown when it's been triggered." msgstr "" -#: discord.ext.commands.cooldown:14 of -msgid "``BucketType.member`` for a per-member basis." +#: discord.ext.commands.cooldown:18 of +msgid "The type of cooldown to have." +msgstr "" + +#: discord.ext.commands.max_concurrency:1 of +msgid "" +"A decorator that adds a maximum concurrency to a :class:`.Command` or its" +" subclasses." msgstr "" -#: discord.ext.commands.cooldown:15 of -msgid "``BucketType.category`` for a per-category basis." +#: discord.ext.commands.max_concurrency:3 of +msgid "" +"This enables you to only allow a certain number of command invocations at" +" the same time, for example if a command takes too long or if only one " +"user can use it at a time. This differs from a cooldown in that there is " +"no set waiting period or token bucket -- only a set number of people can " +"run the command." msgstr "" -#: discord.ext.commands.cooldown:17 of +#: discord.ext.commands.max_concurrency:10 of msgid "" -"If a cooldown is triggered, then :exc:`.CommandOnCooldown` is triggered " -"in :func:`.on_command_error` and the local error handler." +"The maximum number of invocations of this command that can be running at " +"the same time." msgstr "" -#: discord.ext.commands.cooldown:20 of -msgid "A command can only have a single cooldown." +#: discord.ext.commands.max_concurrency:12 of +msgid "" +"The bucket that this concurrency is based on, e.g. ``BucketType.guild`` " +"would allow it to be used up to ``number`` times per guild." msgstr "" -#: discord.ext.commands.cooldown:22 of -msgid "The number of times a command can be used before triggering a cooldown." +#: discord.ext.commands.max_concurrency:15 of +msgid "" +"Whether the command should wait for the queue to be over. If this is set " +"to ``False`` then instead of waiting until the command can run again, the" +" command raises :exc:`.MaxConcurrencyReached` to its error handler. If " +"this is set to ``True`` then the command waits until it can be executed." msgstr "" -#: discord.ext.commands.cooldown:24 of -msgid "The amount of seconds to wait for a cooldown when it's been triggered." +#: discord.ext.commands.before_invoke:3 of +msgid "" +"This allows you to refer to one before invoke hook for several commands " +"that do not have to be within the same cog." msgstr "" -#: discord.ext.commands.cooldown:26 of -msgid "The type of cooldown to have." +#: discord.ext.commands.after_invoke:3 of +msgid "" +"This allows you to refer to one after invoke hook for several commands " +"that do not have to be within the same cog." msgstr "" #: discord.ext.commands.guild_only:1 of @@ -3700,7 +4285,7 @@ msgid "" ":exc:`.CheckFailure`. DM channels will also now pass this check." msgstr "" -#: ../../ext/commands/api.rst:146 +#: ../../ext/commands/api.rst:191 msgid "Context" msgstr "" @@ -3744,6 +4329,13 @@ msgid "" " could be incomplete." msgstr "" +#: discord.ext.commands.BotMissingPermissions:10 +#: discord.ext.commands.Context:27 discord.ext.commands.MissingPermissions:10 +#: of +#, fuzzy +msgid ":class:`list`" +msgstr ":class:`.Guild`" + #: discord.ext.commands.Context:31 of msgid "" "A dictionary of transformed arguments that were passed into the command. " @@ -3756,25 +4348,22 @@ msgid "The prefix that was used to invoke the command." msgstr "" #: discord.ext.commands.Context:45 of -msgid "" -"The command (i.e. :class:`.Command` or its subclasses) that is being " -"invoked currently." +msgid "The command that is being invoked currently." msgstr "" -#: discord.ext.commands.Context:50 of +#: discord.ext.commands.Context:51 of msgid "" "The command name that triggered this invocation. Useful for finding out " "which alias called the command." msgstr "" -#: discord.ext.commands.Context:57 of +#: discord.ext.commands.Context:58 of msgid "" -"The subcommand (i.e. :class:`.Command` or its subclasses) that was " -"invoked. If no valid subcommand was invoked then this is equal to " -"``None``." +"The subcommand that was invoked. If no valid subcommand was invoked then " +"this is equal to ``None``." msgstr "" -#: discord.ext.commands.Context:63 of +#: discord.ext.commands.Context:65 of msgid "" "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 " @@ -3782,7 +4371,7 @@ msgid "" "then this is set to ``None``." msgstr "" -#: discord.ext.commands.Context:72 of +#: discord.ext.commands.Context:74 of msgid "" "A boolean that indicates if the command failed to be parsed, checked, or " "invoked." @@ -3838,8 +4427,9 @@ msgid "" msgstr "" #: discord.ext.commands.Context.history:40 of +#, fuzzy msgid "You do not have permissions to get channel message history." -msgstr "" +msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" #: discord.ext.commands.Context.history:41 of msgid "The request to get message history failed." @@ -3897,7 +4487,7 @@ msgid "The first parameter passed **must** be the command being invoked." msgstr "" #: discord.ext.commands.Context.invoke:21 of -msgid "A command or subclass of a command that is going to be called." +msgid "The command that is going to be called." msgstr "" #: discord.ext.commands.Context.invoke:23 of @@ -3908,6 +4498,10 @@ msgstr "" msgid "The keyword arguments to use." msgstr "" +#: discord.ext.commands.Context.invoke:26 of +msgid "The command argument to invoke is missing." +msgstr "" + #: discord.ext.commands.Context.reinvoke:3 of msgid "Calls the command again." msgstr "" @@ -3937,6 +4531,10 @@ msgid "" "where we left off." msgstr "" +#: discord.ext.commands.Context.reinvoke:23 of +msgid "The context to reinvoke is not valid." +msgstr "" + #: discord.ext.commands.Context.valid:1 of msgid "Checks if the invocation context is valid to be invoked with." msgstr "" @@ -3947,6 +4545,11 @@ msgid "" "not exist." msgstr "" +#: discord.ext.commands.Context.cog:3 of +#, fuzzy +msgid ":class:`.Cog`" +msgstr ":class:`.AppInfo`" + #: discord.ext.commands.Context.guild:1 of msgid "" "Returns the guild associated with this context's command. None if not " @@ -3955,20 +4558,22 @@ msgstr "" #: discord.ext.commands.Context.channel:1 of msgid "" -"Returns the channel associated with this context's command. Shorthand for" -" :attr:`.Message.channel`." +":class:`.TextChannel`: Returns the channel associated with this context's" +" command. Shorthand for :attr:`.Message.channel`." msgstr "" #: discord.ext.commands.Context.author:1 of msgid "" -"Returns the author associated with this context's command. Shorthand for " +"Union[:class:`~discord.User`, :class:`.Member`]: Returns the author " +"associated with this context's command. Shorthand for " ":attr:`.Message.author`" 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." +"Union[:class:`.Member`, :class:`.ClientUser`]: 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 @@ -3976,7 +4581,7 @@ msgid "A shortcut to :attr:`.Guild.voice_client`\\, if applicable." msgstr "" #: discord.ext.commands.Context.voice_client:3 of -msgid "Optional[:class:`.VoiceClient`]" +msgid "Optional[:class:`.VoiceProtocol`]" msgstr "" #: discord.ext.commands.Context.send_help:3 of @@ -4039,7 +4644,7 @@ msgid "The message asked for." msgstr "" #: discord.ext.commands.Context.fetch_message:15 -#: discord.ext.commands.Context.send:40 of +#: discord.ext.commands.Context.send:49 of msgid ":class:`~discord.Message`" msgstr "" @@ -4125,21 +4730,43 @@ msgid "" "silently ignored." msgstr "" -#: discord.ext.commands.Context.send:35 of +#: discord.ext.commands.Context.send:34 of +msgid "" +"Controls the mentions being processed in this message. If this is passed," +" then the object is merged with :attr:`~discord.Client.allowed_mentions`." +" The merging behaviour only overrides attributes that have been " +"explicitly passed to the object, otherwise it uses the attributes set in " +":attr:`~discord.Client.allowed_mentions`. If no object is passed at all " +"then the defaults given by :attr:`~discord.Client.allowed_mentions` are " +"used instead. .. versionadded:: 1.4" +msgstr "" + +#: discord.ext.commands.Context.send:34 of +msgid "" +"Controls the mentions being processed in this message. If this is passed," +" then the object is merged with :attr:`~discord.Client.allowed_mentions`." +" The merging behaviour only overrides attributes that have been " +"explicitly passed to the object, otherwise it uses the attributes set in " +":attr:`~discord.Client.allowed_mentions`. If no object is passed at all " +"then the defaults given by :attr:`~discord.Client.allowed_mentions` are " +"used instead." +msgstr "" + +#: discord.ext.commands.Context.send:44 of msgid "Sending the message failed." msgstr "" -#: discord.ext.commands.Context.send:36 of +#: discord.ext.commands.Context.send:45 of msgid "You do not have the proper permissions to send the message." msgstr "" -#: discord.ext.commands.Context.send:37 of +#: discord.ext.commands.Context.send:46 of msgid "" "The ``files`` list is not of the appropriate size or you specified " "both ``file`` and ``files``." msgstr "" -#: discord.ext.commands.Context.send:39 of +#: discord.ext.commands.Context.send:48 of msgid "The message that was sent." msgstr "" @@ -4153,7 +4780,7 @@ msgid "" "sent." msgstr "" -#: ../../ext/commands/api.rst:162 +#: ../../ext/commands/api.rst:207 msgid "Converters" msgstr "" @@ -4247,6 +4874,40 @@ msgstr "" msgid "The argument that is being converted." msgstr "" +#: discord.ext.commands.CategoryChannelConverter.convert:14 +#: discord.ext.commands.ColourConverter.convert:14 +#: discord.ext.commands.Converter.convert:14 +#: discord.ext.commands.EmojiConverter.convert:14 +#: discord.ext.commands.GameConverter.convert:14 +#: discord.ext.commands.InviteConverter.convert:14 +#: discord.ext.commands.MemberConverter.convert:14 +#: discord.ext.commands.MessageConverter.convert:14 +#: discord.ext.commands.PartialEmojiConverter.convert:14 +#: discord.ext.commands.RoleConverter.convert:14 +#: discord.ext.commands.TextChannelConverter.convert:14 +#: discord.ext.commands.UserConverter.convert:14 +#: discord.ext.commands.VoiceChannelConverter.convert:14 +#: discord.ext.commands.clean_content.convert:14 of +msgid "A generic exception occurred when converting the argument." +msgstr "" + +#: discord.ext.commands.CategoryChannelConverter.convert:15 +#: discord.ext.commands.ColourConverter.convert:15 +#: discord.ext.commands.Converter.convert:15 +#: discord.ext.commands.EmojiConverter.convert:15 +#: discord.ext.commands.GameConverter.convert:15 +#: discord.ext.commands.InviteConverter.convert:15 +#: discord.ext.commands.MemberConverter.convert:15 +#: discord.ext.commands.MessageConverter.convert:15 +#: discord.ext.commands.PartialEmojiConverter.convert:15 +#: discord.ext.commands.RoleConverter.convert:15 +#: discord.ext.commands.TextChannelConverter.convert:15 +#: discord.ext.commands.UserConverter.convert:15 +#: discord.ext.commands.VoiceChannelConverter.convert:15 +#: discord.ext.commands.clean_content.convert:15 of +msgid "The converter failed to convert the argument." +msgstr "" + #: discord.ext.commands.MemberConverter:1 of msgid "Converts to a :class:`~discord.Member`." msgstr "" @@ -4305,6 +4966,17 @@ msgstr "" msgid "Lookup by nickname" msgstr "" +#: discord.ext.commands.MemberConverter:14 of +msgid "Raise :exc:`.MemberNotFound` instead of generic :exc:`.BadArgument`" +msgstr "" + +#: discord.ext.commands.MemberConverter:17 of +msgid "" +"This converter now lazily fetches members from the gateway and HTTP APIs," +" optionally caching the result if :attr:`.MemberCacheFlags.joined` is " +"enabled." +msgstr "" + #: discord.ext.commands.UserConverter:1 of msgid "Converts to a :class:`~discord.User`." msgstr "" @@ -4313,6 +4985,10 @@ msgstr "" msgid "All lookups are via the global user cache." msgstr "" +#: discord.ext.commands.UserConverter:12 of +msgid "Raise :exc:`.UserNotFound` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.MessageConverter:1 of msgid "Converts to a :class:`discord.Message`." msgstr "" @@ -4331,10 +5007,22 @@ msgstr "" msgid "Lookup by message URL" msgstr "" +#: discord.ext.commands.MessageConverter:11 of +msgid "" +"Raise :exc:`.ChannelNotFound`, `MessageNotFound` or `ChannelNotReadable` " +"instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.TextChannelConverter:1 of msgid "Converts to a :class:`~discord.TextChannel`." msgstr "" +#: discord.ext.commands.CategoryChannelConverter:12 +#: discord.ext.commands.TextChannelConverter:12 +#: discord.ext.commands.VoiceChannelConverter:12 of +msgid "Raise :exc:`.ChannelNotFound` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.VoiceChannelConverter:1 of msgid "Converts to a :class:`~discord.VoiceChannel`." msgstr "" @@ -4351,10 +5039,18 @@ msgstr "" msgid "This is done via an HTTP request using :meth:`.Bot.fetch_invite`." msgstr "" +#: discord.ext.commands.InviteConverter:5 of +msgid "Raise :exc:`.BadInviteArgument` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.RoleConverter:1 of msgid "Converts to a :class:`~discord.Role`." msgstr "" +#: discord.ext.commands.RoleConverter:12 of +msgid "Raise :exc:`.RoleNotFound` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.GameConverter:1 of msgid "Converts to :class:`~discord.Game`." msgstr "" @@ -4364,29 +5060,37 @@ msgid "Converts to a :class:`~discord.Colour`." msgstr "" #: discord.ext.commands.ColourConverter:3 of +msgid "Add an alias named ColorConverter" +msgstr "" + +#: discord.ext.commands.ColourConverter:6 of msgid "The following formats are accepted:" msgstr "" -#: discord.ext.commands.ColourConverter:5 of +#: discord.ext.commands.ColourConverter:8 of msgid "``0x``" msgstr "" -#: discord.ext.commands.ColourConverter:6 of +#: discord.ext.commands.ColourConverter:9 of msgid "``#``" msgstr "" -#: discord.ext.commands.ColourConverter:7 of +#: discord.ext.commands.ColourConverter:10 of msgid "``0x#``" msgstr "" -#: discord.ext.commands.ColourConverter:8 of +#: discord.ext.commands.ColourConverter:11 of msgid "Any of the ``classmethod`` in :class:`Colour`" msgstr "" -#: discord.ext.commands.ColourConverter:10 of +#: discord.ext.commands.ColourConverter:13 of msgid "The ``_`` in the name can be optionally replaced with spaces." msgstr "" +#: discord.ext.commands.ColourConverter:15 of +msgid "Raise :exc:`.BadColourArgument` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.EmojiConverter:1 of msgid "Converts to a :class:`~discord.Emoji`." msgstr "" @@ -4401,6 +5105,10 @@ msgstr "" msgid "Lookup by extracting ID from the emoji." msgstr "" +#: discord.ext.commands.EmojiConverter:12 of +msgid "Raise :exc:`.EmojiNotFound` instead of generic :exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.PartialEmojiConverter:1 of msgid "Converts to a :class:`~discord.PartialEmoji`." msgstr "" @@ -4409,6 +5117,12 @@ msgstr "" msgid "This is done by extracting the animated flag, name and ID from the emoji." msgstr "" +#: discord.ext.commands.PartialEmojiConverter:5 of +msgid "" +"Raise :exc:`.PartialEmojiConversionFailure` instead of generic " +":exc:`.BadArgument`" +msgstr "" + #: discord.ext.commands.clean_content:1 of msgid "Converts the argument to mention scrubbed version of said content." msgstr "" @@ -4429,34 +5143,34 @@ msgstr "" msgid "Whether to also escape special markdown characters." msgstr "" -#: ../../ext/commands/api.rst:208 +#: ../../ext/commands/api.rst:253 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:212 +#: ../../ext/commands/api.rst:257 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:215 +#: ../../ext/commands/api.rst:260 msgid "For example, in the following code:" msgstr "" -#: ../../ext/commands/api.rst:223 +#: ../../ext/commands/api.rst:268 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:226 +#: ../../ext/commands/api.rst:271 msgid "For more information, check :ref:`ext_commands_special_converters`." msgstr "" -#: ../../ext/commands/api.rst:231 +#: ../../ext/commands/api.rst:276 msgid "Exceptions" msgstr "" @@ -4480,8 +5194,9 @@ msgid "Exception raised when a Converter class raises non-CommandError." msgstr "Converter クラスで、CommandErrorではない例外が発生した際に、発生する例外。" #: discord.ext.commands.CommandNotFound:7 -#: discord.ext.commands.ConversionError:3 discord.ext.commands.UserInputError:4 -#: of +#: discord.ext.commands.ConversionError:3 +#: discord.ext.commands.MaxConcurrencyReached:3 +#: discord.ext.commands.UserInputError:4 of msgid "This inherits from :exc:`CommandError`." msgstr "" @@ -4495,13 +5210,18 @@ msgstr "" #: discord.ext.commands.CommandInvokeError:7 #: discord.ext.commands.ConversionError:13 -#: discord.ext.commands.ExtensionFailed:13 -#: discord.ext.commands.ExtensionNotFound:13 of +#: discord.ext.commands.ExtensionFailed:13 of msgid "" "The original exception that was raised. You can also get this via the " "``__cause__`` attribute." msgstr "Converter内で発生した元の例外。 ``__cause__`` からも取得できます。" +#: discord.ext.commands.CommandInvokeError:10 +#: discord.ext.commands.ConversionError:16 +#: discord.ext.commands.ExtensionFailed:16 of +msgid ":exc:`Exception`" +msgstr "" + #: discord.ext.commands.MissingRequiredArgument:1 of msgid "" "Exception raised when parsing a command and a parameter that is required " @@ -4637,6 +5357,31 @@ msgstr "" msgid "This inherits from :exc:`CommandError`" msgstr "" +#: discord.ext.commands.CheckAnyFailure:1 of +msgid "Exception raised when all predicates in :func:`check_any` fail." +msgstr "" + +#: discord.ext.commands.CheckAnyFailure:3 +#: discord.ext.commands.NSFWChannelRequired:3 of +msgid "This inherits from :exc:`CheckFailure`." +msgstr "" + +#: discord.ext.commands.CheckAnyFailure:9 of +msgid "A list of errors that were caught during execution." +msgstr "" + +#: discord.ext.commands.CheckAnyFailure:11 of +msgid "List[:class:`CheckFailure`]" +msgstr "" + +#: discord.ext.commands.CheckAnyFailure:15 of +msgid "A list of check predicates that failed." +msgstr "" + +#: discord.ext.commands.CheckAnyFailure:17 of +msgid "List[Callable[[:class:`Context`], :class:`bool`]]" +msgstr "" + #: discord.ext.commands.CommandNotFound:1 of msgid "" "Exception raised when a command is attempted to be invoked but no command" @@ -4687,10 +5432,129 @@ msgstr "" msgid "The amount of seconds to wait before you can retry again." msgstr "" +#: discord.ext.commands.MaxConcurrencyReached:1 of +#, fuzzy +msgid "" +"Exception raised when the command being invoked has reached its maximum " +"concurrency." +msgstr "呼び出そうとしたコマンドが無効化されていた際に発生する例外。" + +#: discord.ext.commands.MaxConcurrencyReached:7 of +msgid "The maximum number of concurrent invokers allowed." +msgstr "" + +#: discord.ext.commands.MaxConcurrencyReached:13 of +msgid "The bucket type passed to the :func:`.max_concurrency` decorator." +msgstr "" + +#: discord.ext.commands.MaxConcurrencyReached:15 of +#, fuzzy +msgid ":class:`.BucketType`" +msgstr ":class:`.Guild`" + #: discord.ext.commands.NotOwner:1 of msgid "Exception raised when the message author is not the owner of the bot." msgstr "" +#: discord.ext.commands.MessageNotFound:1 of +msgid "Exception raised when the message provided was not found in the channel." +msgstr "" + +#: discord.ext.commands.BadBoolArgument:3 +#: discord.ext.commands.ChannelNotFound:3 +#: discord.ext.commands.ChannelNotReadable:4 +#: discord.ext.commands.EmojiNotFound:3 discord.ext.commands.MemberNotFound:4 +#: discord.ext.commands.MessageNotFound:3 +#: discord.ext.commands.PartialEmojiConversionFailure:4 +#: discord.ext.commands.RoleNotFound:3 discord.ext.commands.UserNotFound:4 of +#, fuzzy +msgid "This inherits from :exc:`BadArgument`" +msgstr "これは :exc:`discord.DiscordException` を継承しています。" + +#: discord.ext.commands.MessageNotFound:9 of +msgid "The message supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.MemberNotFound:1 of +msgid "" +"Exception raised when the member provided was not found in the bot's " +"cache." +msgstr "" + +#: discord.ext.commands.MemberNotFound:10 of +msgid "The member supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.UserNotFound:1 of +msgid "Exception raised when the user provided was not found in the bot's cache." +msgstr "" + +#: discord.ext.commands.UserNotFound:10 of +msgid "The user supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.ChannelNotFound:1 of +#, fuzzy +msgid "Exception raised when the bot can not find the channel." +msgstr "呼び出そうとしたコマンドが無効化されていた際に発生する例外。" + +#: discord.ext.commands.ChannelNotFound:9 of +msgid "The channel supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.ChannelNotReadable:1 of +#, fuzzy +msgid "" +"Exception raised when the bot does not have permission to read messages " +"in the channel." +msgstr ":exc:`.Forbidden` -- 指定のチャンネルを取得する権限がない。" + +#: discord.ext.commands.ChannelNotReadable:10 of +msgid "The channel supplied by the caller that was not readable" +msgstr "" + +#: discord.ext.commands.ChannelNotReadable:12 of +#, fuzzy +msgid ":class:`.abc.GuildChannel`" +msgstr ":class:`.Guild`" + +#: discord.ext.commands.RoleNotFound:1 of +#, fuzzy +msgid "Exception raised when the bot can not find the role." +msgstr "呼び出そうとしたコマンドが無効化されていた際に発生する例外。" + +#: discord.ext.commands.RoleNotFound:9 of +msgid "The role supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.EmojiNotFound:1 of +msgid "Exception raised when the bot can not find the emoji." +msgstr "" + +#: discord.ext.commands.EmojiNotFound:9 of +msgid "The emoji supplied by the caller that was not found" +msgstr "" + +#: discord.ext.commands.PartialEmojiConversionFailure:1 of +msgid "" +"Exception raised when the emoji provided does not match the correct " +"format." +msgstr "" + +#: discord.ext.commands.PartialEmojiConversionFailure:10 of +msgid "The emoji supplied by the caller that did not match the regex" +msgstr "" + +#: discord.ext.commands.BadBoolArgument:1 of +msgid "Exception raised when a boolean argument was not convertable." +msgstr "" + +#: discord.ext.commands.BadBoolArgument:9 of +msgid "" +"The boolean argument supplied by the caller that is not in the predefined" +" list" +msgstr "" + #: discord.ext.commands.MissingPermissions:1 of msgid "" "Exception raised when the command invoker lacks permissions to run a " @@ -4758,10 +5622,6 @@ msgstr "" msgid "Exception raised when a channel does not have the required NSFW setting." msgstr "" -#: discord.ext.commands.NSFWChannelRequired:3 of -msgid "This inherits from :exc:`CheckFailure`." -msgstr "" - #: discord.ext.commands.NSFWChannelRequired:7 of msgid "The channel that does not have NSFW enabled." msgstr "" @@ -4803,162 +5663,246 @@ msgstr "" #: discord.ext.commands.ExtensionFailed:1 of msgid "" "An exception raised when an extension failed to load during execution of " -"the ``setup`` entry point." +"the module or ``setup`` entry point." msgstr "" #: discord.ext.commands.ExtensionFailed:7 -#: discord.ext.commands.ExtensionNotFound:7 of +#: discord.ext.commands.ExtensionNotFound:10 of msgid "The extension that had the error." msgstr "" -#: discord.ext.commands.ExtensionFailed:16 of -msgid ":exc:`Exception`" -msgstr "" - #: discord.ext.commands.ExtensionNotFound:1 of -msgid "An exception raised when an extension failed to be imported." +#, fuzzy +msgid "An exception raised when an extension is not found." +msgstr "プライベートメッセージコンテキストで、要求された処理が実行できない場合に発生する例外。" + +#: discord.ext.commands.ExtensionNotFound:5 of +msgid "Made the ``original`` attribute always None." msgstr "" #: discord.ext.commands.ExtensionNotFound:16 of -msgid ":exc:`ImportError`" +msgid "Always ``None`` for backwards compatibility." +msgstr "" + +#: discord.ext.commands.ExtensionNotFound:18 of +msgid ":class:`NoneType`" +msgstr "" + +#: discord.ext.commands.CommandRegistrationError:1 of +msgid "" +"An exception raised when the command can't be added because the name is " +"already taken by a different command." +msgstr "" + +#: discord.ext.commands.CommandRegistrationError:4 of +#, fuzzy +msgid "This inherits from :exc:`discord.ClientException`" +msgstr "これは :exc:`discord.DiscordException` を継承しています。" + +#: discord.ext.commands.CommandRegistrationError:10 of +msgid "The command name that had the error." +msgstr "" + +#: discord.ext.commands.CommandRegistrationError:16 of +msgid "Whether the name that conflicts is an alias of the command we try to add." msgstr "" -#: ../../ext/commands/api.rst:331 +#: ../../ext/commands/api.rst:412 msgid "Exception Hierarchy" msgstr "" -#: ../../ext/commands/api.rst:366 +#: ../../ext/commands/api.rst:460 msgid ":exc:`~.DiscordException`" msgstr "" -#: ../../ext/commands/api.rst:360 +#: ../../ext/commands/api.rst:454 msgid ":exc:`~.commands.CommandError`" msgstr "" -#: ../../ext/commands/api.rst:337 +#: ../../ext/commands/api.rst:418 msgid ":exc:`~.commands.ConversionError`" msgstr "" -#: ../../ext/commands/api.rst:345 +#: ../../ext/commands/api.rst:437 msgid ":exc:`~.commands.UserInputError`" msgstr "" -#: ../../ext/commands/api.rst:339 +#: ../../ext/commands/api.rst:420 msgid ":exc:`~.commands.MissingRequiredArgument`" msgstr "" -#: ../../ext/commands/api.rst:340 +#: ../../ext/commands/api.rst:421 msgid ":exc:`~.commands.TooManyArguments`" msgstr "" -#: ../../ext/commands/api.rst:341 +#: ../../ext/commands/api.rst:432 msgid ":exc:`~.commands.BadArgument`" msgstr "" -#: ../../ext/commands/api.rst:342 +#: ../../ext/commands/api.rst:423 +msgid ":exc:`~.commands.MessageNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:424 +msgid ":exc:`~.commands.MemberNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:425 +msgid ":exc:`~.commands.UserNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:426 +msgid ":exc:`~.commands.ChannelNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:427 +msgid ":exc:`~.commands.ChannelNotReadable`" +msgstr "" + +#: ../../ext/commands/api.rst:428 +msgid ":exc:`~.commands.BadColourArgument`" +msgstr "" + +#: ../../ext/commands/api.rst:429 +msgid ":exc:`~.commands.RoleNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:430 +msgid ":exc:`~.commands.BadInviteArgument`" +msgstr "" + +#: ../../ext/commands/api.rst:431 +msgid ":exc:`~.commands.EmojiNotFound`" +msgstr "" + +#: ../../ext/commands/api.rst:432 +msgid ":exc:`~.commands.PartialEmojiConversionFailure`" +msgstr "" + +#: ../../ext/commands/api.rst:433 +msgid ":exc:`~.commands.BadBoolArgument`" +msgstr "" + +#: ../../ext/commands/api.rst:434 msgid ":exc:`~.commands.BadUnionArgument`" msgstr "" -#: ../../ext/commands/api.rst:345 +#: ../../ext/commands/api.rst:437 msgid ":exc:`~.commands.ArgumentParsingError`" msgstr "" -#: ../../ext/commands/api.rst:344 +#: ../../ext/commands/api.rst:436 msgid ":exc:`~.commands.UnexpectedQuoteError`" msgstr "" -#: ../../ext/commands/api.rst:345 +#: ../../ext/commands/api.rst:437 msgid ":exc:`~.commands.InvalidEndOfQuotedStringError`" msgstr "" -#: ../../ext/commands/api.rst:346 +#: ../../ext/commands/api.rst:438 msgid ":exc:`~.commands.ExpectedClosingQuoteError`" msgstr "" -#: ../../ext/commands/api.rst:347 +#: ../../ext/commands/api.rst:439 msgid ":exc:`~.commands.CommandNotFound`" msgstr "" -#: ../../ext/commands/api.rst:357 +#: ../../ext/commands/api.rst:450 msgid ":exc:`~.commands.CheckFailure`" msgstr "" -#: ../../ext/commands/api.rst:349 +#: ../../ext/commands/api.rst:441 +msgid ":exc:`~.commands.CheckAnyFailure`" +msgstr "" + +#: ../../ext/commands/api.rst:442 msgid ":exc:`~.commands.PrivateMessageOnly`" msgstr "" -#: ../../ext/commands/api.rst:350 +#: ../../ext/commands/api.rst:443 msgid ":exc:`~.commands.NoPrivateMessage`" msgstr "" -#: ../../ext/commands/api.rst:351 +#: ../../ext/commands/api.rst:444 msgid ":exc:`~.commands.NotOwner`" msgstr "" -#: ../../ext/commands/api.rst:352 +#: ../../ext/commands/api.rst:445 msgid ":exc:`~.commands.MissingPermissions`" msgstr "" -#: ../../ext/commands/api.rst:353 +#: ../../ext/commands/api.rst:446 msgid ":exc:`~.commands.BotMissingPermissions`" msgstr "" -#: ../../ext/commands/api.rst:354 +#: ../../ext/commands/api.rst:447 msgid ":exc:`~.commands.MissingRole`" msgstr "" -#: ../../ext/commands/api.rst:355 +#: ../../ext/commands/api.rst:448 msgid ":exc:`~.commands.BotMissingRole`" msgstr "" -#: ../../ext/commands/api.rst:356 +#: ../../ext/commands/api.rst:449 msgid ":exc:`~.commands.MissingAnyRole`" msgstr "" -#: ../../ext/commands/api.rst:357 +#: ../../ext/commands/api.rst:450 msgid ":exc:`~.commands.BotMissingAnyRole`" msgstr "" -#: ../../ext/commands/api.rst:358 +#: ../../ext/commands/api.rst:451 msgid ":exc:`~.commands.NSFWChannelRequired`" msgstr "" -#: ../../ext/commands/api.rst:359 +#: ../../ext/commands/api.rst:452 msgid ":exc:`~.commands.DisabledCommand`" msgstr "" -#: ../../ext/commands/api.rst:360 +#: ../../ext/commands/api.rst:453 msgid ":exc:`~.commands.CommandInvokeError`" msgstr "" -#: ../../ext/commands/api.rst:361 +#: ../../ext/commands/api.rst:454 msgid ":exc:`~.commands.CommandOnCooldown`" msgstr "" -#: ../../ext/commands/api.rst:366 +#: ../../ext/commands/api.rst:455 +msgid ":exc:`~.commands.MaxConcurrencyReached`" +msgstr "" + +#: ../../ext/commands/api.rst:460 msgid ":exc:`~.commands.ExtensionError`" msgstr "" -#: ../../ext/commands/api.rst:363 +#: ../../ext/commands/api.rst:457 msgid ":exc:`~.commands.ExtensionAlreadyLoaded`" msgstr "" -#: ../../ext/commands/api.rst:364 +#: ../../ext/commands/api.rst:458 msgid ":exc:`~.commands.ExtensionNotLoaded`" msgstr "" -#: ../../ext/commands/api.rst:365 +#: ../../ext/commands/api.rst:459 msgid ":exc:`~.commands.NoEntryPointError`" msgstr "" -#: ../../ext/commands/api.rst:366 +#: ../../ext/commands/api.rst:460 msgid ":exc:`~.commands.ExtensionFailed`" msgstr "" -#: ../../ext/commands/api.rst:367 +#: ../../ext/commands/api.rst:461 msgid ":exc:`~.commands.ExtensionNotFound`" msgstr "" +#: ../../ext/commands/api.rst:462 +msgid ":exc:`~.ClientException`" +msgstr "" + +#: ../../ext/commands/api.rst:463 +msgid ":exc:`~.commands.CommandRegistrationError`" +msgstr "" + #~ msgid "" #~ ":class:`bool` -- Whether the commands " #~ "should be case insensitive. Defaults to" @@ -4972,8 +5916,28 @@ msgstr "" #~ "``False`` " #~ "です。この属性はグループコマンドには影響されません。もしグループコマンドでも大文字と小文字の区別が必要な場合、すべてのグループでの設定が必要になります。" -#~ msgid ":exc:`.HTTPException` -- Guild creation failed." +#~ msgid "" +#~ "Optional[Union[:class:`.Activity`, :class:`.Game`, " +#~ ":class:`.Streaming`]] -- The activity being" +#~ " used upon logging in." #~ msgstr "" +#~ "Optional[Union[:class:`.Activity`, :class:`.Game`, " +#~ ":class:`.Streaming`]] -- ログイン時のアクティビティ。" + +#~ msgid ":exc:`.ClientException` -- If the command is already registered." +#~ msgstr ":exc:`.ClientException` -- コマンドがすでに登録されている。" + +#~ 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`." +#~ msgstr "" +#~ "activityパラメータは、現在のアクティビティを示す :class:`.Activity` " +#~ "オブジェクトです(これはstringではありません)。スリム化された :class:`.Game` や " +#~ ":class:`.Streaming` でも可能です。" #~ msgid "" #~ ":exc:`.InvalidArgument` -- Invalid icon image" @@ -4992,22 +5956,16 @@ msgstr "" #~ "type was received from Discord." #~ msgstr "" -#~ msgid ":exc:`.HTTPException` -- Retrieving the channel failed." -#~ msgstr "" - #~ msgid ":exc:`.NotFound` -- Invalid Channel ID." -#~ msgstr "" - -#~ msgid ":exc:`.Forbidden` -- You do not have permission to fetch this channel." -#~ msgstr "" - -#~ msgid ":exc:`.Forbidden` -- You do not have access to the guild." -#~ msgstr "" +#~ msgstr ":exc:`.NotFound` -- チャンネルのIDが無効。" -#~ msgid ":exc:`.HTTPException` -- Getting the guild failed." -#~ msgstr "" - -#~ msgid ":exc:`.HTTPException` -- Getting the guilds failed." +#~ msgid "" +#~ "If the invite is for a guild " +#~ "you have not joined, the guild and" +#~ " channel attributes of the returned " +#~ ":class:`.Invite` will be " +#~ ":class:`.PartialInviteGuild` and " +#~ ":class:`PartialInviteChannel` respectively." #~ msgstr "" #~ msgid ":exc:`.NotFound` -- The invite has expired or is invalid." @@ -5022,6 +5980,12 @@ msgstr "" #~ msgid ":exc:`.HTTPException` -- Fetching the user failed." #~ msgstr "" +#~ msgid "" +#~ "Gets an arbitrary user's profile. This" +#~ " can only be used by non-bot" +#~ " accounts." +#~ msgstr "" + #~ msgid ":exc:`.Forbidden` -- Not allowed to fetch profiles." #~ msgstr "" @@ -5043,12 +6007,41 @@ msgstr "" #~ msgid ":exc:`.HTTPException` -- Retrieving the widget failed." #~ msgstr "" +#~ msgid "" +#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ ":class:`.abc.PrivateChannel`]]: Returns a channel" +#~ " with the given ID." +#~ msgstr "" + +#~ msgid "If not found, returns ``None``." +#~ msgstr "" + +#~ msgid "" +#~ "Get a :class:`.Command` or subclasses " +#~ "from the internal list of commands." +#~ msgstr "" + +#~ msgid "Optional[:class:`.Emoji`]: Returns an emoji with the given ID." +#~ msgstr "" + +#~ msgid "Optional[:class:`.Guild`]: Returns a guild with the given ID." +#~ msgstr "" + +#~ msgid "Optional[:class:`~discord.User`]: Returns a user with the given ID." +#~ msgstr "" + #~ msgid "" #~ "List[:class:`.Guild`] -- The guilds that " #~ "the connected client is a member " #~ "of." #~ msgstr "" +#~ msgid "Indicates if the websocket connection is closed." +#~ msgstr "" + +#~ msgid "Specifies if the client's internal cache is ready for use." +#~ msgstr "" + #~ msgid "" #~ ":class:`float` -- Measures latency between " #~ "a HEARTBEAT and a HEARTBEAT_ACK in " @@ -5071,6 +6064,15 @@ msgstr "" #~ " function had an execution error." #~ msgstr "" +#~ 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." +#~ msgstr "" + #~ msgid ":exc:`.LoginFailure` -- The wrong credentials are passed." #~ msgstr "" @@ -5090,6 +6092,20 @@ msgstr "" #~ msgid ":exc:`ExtensionNotLoaded` -- The extension was not loaded." #~ msgstr "" +#~ msgid "" +#~ "Remove a :class:`.Command` or subclasses " +#~ "from the internal list of commands." +#~ msgstr "" + +#~ msgid "" +#~ "The command that was removed. If " +#~ "the name is not valid then `None`" +#~ " is returned instead." +#~ msgstr "" + +#~ msgid ":class:`.Command` or subclass" +#~ msgstr "" + #~ msgid "" #~ ":exc:`.InvalidArgument` -- If any guild " #~ "is unavailable or not large in the" @@ -5229,6 +6245,11 @@ msgstr "" #~ "``False``." #~ msgstr "" +#~ msgid "" +#~ "Retrieves the parameter OrderedDict without" +#~ " the context or self parameters." +#~ msgstr "" + #~ msgid ":class:`str` -- Retrieves the fully qualified parent command name." #~ msgstr "" @@ -5253,6 +6274,12 @@ msgstr "" #~ "output." #~ msgstr "" +#~ msgid "" +#~ "Checks if the command can be " +#~ "executed by checking all the predicates" +#~ " inside the :attr:`.checks` attribute." +#~ msgstr "" + #~ msgid "" #~ ":class:`CommandError` -- Any command error " #~ "that was raised during a check " @@ -5295,6 +6322,12 @@ msgstr "" #~ " ``False``." #~ msgstr "" +#~ msgid "" +#~ "Returns a :class:`list` of " +#~ ":class:`.Command`\\s that are defined inside" +#~ " this cog." +#~ msgstr "" + #~ msgid ":class:`str` -- Returns the cog's specified name, not the class name." #~ msgstr "" @@ -5309,6 +6342,9 @@ msgstr "" #~ "was not passed as the name." #~ msgstr "" +#~ msgid "This function **can** be a coroutine." +#~ msgstr "" + #~ msgid "" #~ ":class:`str` -- The cog name. By " #~ "default, it is the name of the " @@ -5456,6 +6492,45 @@ msgstr "" #~ " big for the current :attr:`max_size`." #~ msgstr "" +#~ msgid "These functions can either be regular functions or coroutines." +#~ msgstr "" + +#~ msgid "" +#~ "A decorator that adds a cooldown " +#~ "to a :class:`.Command` or its " +#~ "subclasses." +#~ msgstr "" + +#~ 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:" +#~ msgstr "" + +#~ msgid "``BucketType.default`` for a global basis." +#~ msgstr "" + +#~ msgid "``BucketType.user`` for a per-user basis." +#~ msgstr "" + +#~ msgid "``BucketType.guild`` for a per-guild basis." +#~ msgstr "" + +#~ msgid "``BucketType.channel`` for a per-channel basis." +#~ msgstr "" + +#~ msgid "``BucketType.member`` for a per-member basis." +#~ msgstr "" + +#~ msgid "``BucketType.category`` for a per-category basis." +#~ msgstr "" + #~ msgid "" #~ ":class:`.Message` -- The message that " #~ "triggered the command being executed." @@ -5484,6 +6559,12 @@ msgstr "" #~ msgid ":class:`str` -- The prefix that was used to invoke the command." #~ msgstr "" +#~ msgid "" +#~ "The command (i.e. :class:`.Command` or " +#~ "its subclasses) that is being invoked" +#~ " currently." +#~ msgstr "" + #~ msgid "" #~ ":class:`str` -- The command name that" #~ " triggered this invocation. Useful for " @@ -5491,6 +6572,13 @@ msgstr "" #~ "command." #~ msgstr "" +#~ msgid "" +#~ "The subcommand (i.e. :class:`.Command` or " +#~ "its subclasses) that was invoked. If " +#~ "no valid subcommand was invoked then " +#~ "this is equal to ``None``." +#~ msgstr "" + #~ msgid "" #~ "Optional[:class:`str`] -- The string that " #~ "was attempted to call a subcommand. " @@ -5525,6 +6613,18 @@ msgstr "" #~ "to get message history failed." #~ msgstr "" +#~ msgid "" +#~ "Returns the channel associated with this" +#~ " context's command. Shorthand for " +#~ ":attr:`.Message.channel`." +#~ msgstr "" + +#~ msgid "" +#~ "Returns the author associated with this" +#~ " context's command. Shorthand for " +#~ ":attr:`.Message.author`" +#~ msgstr "" + #~ msgid ":exc:`~discord.NotFound` -- The specified message was not found." #~ msgstr "" @@ -5537,6 +6637,9 @@ msgstr "" #~ msgid ":exc:`~discord.HTTPException` -- Retrieving the message failed." #~ msgstr "" +#~ msgid "A command or subclass of a command that is going to be called." +#~ msgstr "" + #~ msgid ":exc:`~discord.HTTPException` -- Retrieving the pinned messages failed." #~ msgstr "" @@ -5556,6 +6659,12 @@ msgstr "" #~ "and ``files``." #~ msgstr "" +#~ msgid "" +#~ "Similar to :attr:`.Guild.me` except it " +#~ "may return the :class:`.ClientUser` in " +#~ "private message contexts." +#~ msgstr "" + #~ msgid "" #~ "Optional[:class:`.VoiceClient`] -- A shortcut " #~ "to :attr:`.Guild.voice_client`\\, if applicable." @@ -5644,6 +6753,12 @@ msgstr "" #~ msgid ":class:`str` -- The extension that had an error." #~ msgstr "" +#~ msgid "" +#~ "An exception raised when an extension" +#~ " failed to load during execution of" +#~ " the ``setup`` entry point." +#~ msgstr "" + #~ msgid ":class:`str` -- The extension that had the error." #~ msgstr "" @@ -5653,6 +6768,9 @@ msgstr "" #~ " this via the ``__cause__`` attribute." #~ msgstr "" +#~ msgid "An exception raised when an extension failed to be imported." +#~ msgstr "" + #~ msgid "" #~ ":exc:`ImportError` -- The original exception" #~ " that was raised. You can also " diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/cogs.po b/docs/locale/ja/LC_MESSAGES/ext/commands/cogs.po index 4292e9ca2..c4b657ad3 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/cogs.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/cogs.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: /ext/commands/cogs.pot\n" +"X-Crowdin-File-ID: 60\n" "Language: ja_JP\n" #: ../../ext/commands/cogs.rst:6 @@ -114,31 +115,31 @@ msgstr "そのための特殊なメソッドは以下のとおりです:" #: ../../ext/commands/cogs.rst:115 msgid ":meth:`.Cog.cog_unload`" -msgstr "" +msgstr ":meth:`.Cog.cog_unload`" #: ../../ext/commands/cogs.rst:116 msgid ":meth:`.Cog.cog_check`" -msgstr "" +msgstr ":meth:`.Cog.cog_check`" #: ../../ext/commands/cogs.rst:117 msgid ":meth:`.Cog.cog_command_error`" -msgstr "" +msgstr ":meth:`.Cog.cog_command_error`" #: ../../ext/commands/cogs.rst:118 msgid ":meth:`.Cog.cog_before_invoke`" -msgstr "" +msgstr ":meth:`.Cog.cog_before_invoke`" #: ../../ext/commands/cogs.rst:119 msgid ":meth:`.Cog.cog_after_invoke`" -msgstr "" +msgstr ":meth:`.Cog.cog_after_invoke`" #: ../../ext/commands/cogs.rst:120 msgid ":meth:`.Cog.bot_check`" -msgstr "" +msgstr ":meth:`.Cog.bot_check`" #: ../../ext/commands/cogs.rst:121 msgid ":meth:`.Cog.bot_check_once`" -msgstr "" +msgstr ":meth:`.Cog.bot_check_once`" #: ../../ext/commands/cogs.rst:123 msgid "You can visit the reference to get more detail." diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po index 7714d93f0..6f6d3ecb3 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/commands.po @@ -1,31 +1,35 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: /ext/commands/commands.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../ext/commands/commands.rst:6 msgid "Commands" msgstr "コマンド" #: ../../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." +msgid "" +"One of the most appealing aspect of the command extension is how easy it " +"is to define commands and how you can arbitrarily nest groups and " +"commands to have a rich sub-command system." msgstr "コマンド拡張の最も魅力的な機能の一つは、簡単にコマンドが定義でき、かつそのコマンドを好きなようにネスト状にして、豊富なサブコマンドを用意することができる点です。" #: ../../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." +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." msgstr "コマンドは、Pythonの関数と関連付けすることによって定義され、同様のシグネチャを使用してユーザーに呼び出されます。" #: ../../ext/commands/commands.rst:14 @@ -37,35 +41,55 @@ msgid "With the following prefix (``$``), it would be invoked by the user via:" msgstr "Prefixを (``$``) としたとすると、このコマンドは次の用に実行できます。" #: ../../ext/commands/commands.rst:28 -msgid "A command must always have at least one parameter, ``ctx``, which is the :class:`.Context` as the first one." +msgid "" +"A command must always have at least one parameter, ``ctx``, which is the " +":class:`.Context` as the first one." msgstr "コマンドには、少なくとも :class:`.Context` を渡すための引数 ``ctx`` が必要です。" #: ../../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.add_command` on the instance." -msgstr "コマンドを登録するには二通りの方法があります。一つ目は :meth:`.Bot.command` を使用する方法で、二つ目が :func:`~ext.commands.command` デコレータを使用して :meth:`.Bot.add_command` でインスタンスにコマンドを追加していく方法です。" +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.add_command` on the instance." +msgstr "" +"コマンドを登録するには二通りの方法があります。一つ目は :meth:`.Bot.command` を使用する方法で、二つ目が " +":func:`~ext.commands.command` デコレータを使用して :meth:`.Bot.add_command` " +"でインスタンスにコマンドを追加していく方法です。" #: ../../ext/commands/commands.rst:34 msgid "Essentially, these two are equivalent: ::" msgstr "本質的に、これら2つは同等になります: ::" #: ../../ext/commands/commands.rst:52 -msgid "Since the :meth:`.Bot.command` decorator is shorter and easier to comprehend, it will be the one used throughout the documentation here." +msgid "" +"Since the :meth:`.Bot.command` decorator is shorter and easier to " +"comprehend, it will be the one used throughout the documentation here." msgstr ":meth:`.Bot.command` が簡単かつ理解がしやすいので、ドキュメント上ではこちらを使っています。" #: ../../ext/commands/commands.rst:55 -msgid "Any parameter that is accepted by the :class:`.Command` constructor can be passed into the decorator. For example, to change the name to something other than the function would be as simple as doing this:" -msgstr ":class:`.Command` のコンストラクタの引数はデコレータに渡すことで利用できます。例えば、コマンドの名前を関数以外のものへと変更したい場合は以下のように簡単に設定することができます。" +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:" +msgstr "" +":class:`.Command` " +"のコンストラクタの引数はデコレータに渡すことで利用できます。例えば、コマンドの名前を関数以外のものへと変更したい場合は以下のように簡単に設定することができます。" #: ../../ext/commands/commands.rst:65 msgid "Parameters" msgstr "パラメーター" #: ../../ext/commands/commands.rst:67 -msgid "Since we define commands by making Python functions, we also define the argument passing behaviour by the function parameters." +msgid "" +"Since we define commands by making Python functions, we also define the " +"argument passing behaviour by the function parameters." msgstr "Pythonの関数定義によって、同時にコマンドを定義するので、関数のパラメーターを設定することにより、コマンドの引数受け渡し動作も定義することができます。" #: ../../ext/commands/commands.rst:70 -msgid "Certain parameter types do different things in the user side and most forms of parameter types are supported." +msgid "" +"Certain parameter types do different things in the user side and most " +"forms of parameter types are supported." msgstr "特定のパラメータタイプはユーザーサイドで異なる動作を行い、そしてほとんどの形式のパラメータタイプがサポートされています。" #: ../../ext/commands/commands.rst:73 @@ -73,11 +97,15 @@ msgid "Positional" 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:" +msgid "" +"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:" +msgid "" +"On the bot using side, you can provide positional arguments by just " +"passing a regular string:" msgstr "Botの使用者側は、通常の文字列を渡すだけで位置引数に値を渡すことができます。" #: ../../ext/commands/commands.rst:88 @@ -85,11 +113,15 @@ msgid "To make use of a word with spaces in between, you should quote it:" msgstr "間に空白を含む文字列を渡す場合は、文字列を引用符で囲む必要があります。" #: ../../ext/commands/commands.rst:92 -msgid "As a note of warning, if you omit the quotes, you will only get the first word:" +msgid "" +"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:" +msgid "" +"Since positional arguments are just regular Python arguments, you can " +"have as many as you want:" msgstr "位置引数は、Pythonの引数と同じものなので、好きなだけ設定することが可能です。" #: ../../ext/commands/commands.rst:105 @@ -97,11 +129,17 @@ msgid "Variable" 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:" +msgid "" +"Sometimes you want users to pass in an undetermined number of parameters." +" The library supports this similar to how variable list parameters are " +"done in Python:" msgstr "場合によっては、可変長のパラメーターを設定したい場合もあるでしょう。このライブラリはPythonの可変長パラメーターと同様にこれをサポートしています。" #: ../../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." +msgid "" +"This allows our user to accept either one or many arguments as they " +"please. This works similar to positional arguments, so multi-word " +"parameters should be quoted." msgstr "これによって一つ、あるいは複数の引数を受け取ることができます。ただし、引数を渡す際の挙動は位置引数と同様のため、複数の単語を含む文字列は引用符で囲む必要があります。" #: ../../ext/commands/commands.rst:119 @@ -109,15 +147,21 @@ msgid "For example, on the bot side:" msgstr "例えば、Bot側ではこのように動きます。" #: ../../ext/commands/commands.rst:123 -msgid "If the user wants to input a multi-word argument, they have to quote it like earlier:" +msgid "" +"If the user wants to input a multi-word argument, they have to quote it " +"like earlier:" msgstr "複数単語の文字列を渡す際は、引用符で囲んでください。" #: ../../ext/commands/commands.rst:127 -msgid "Do note that similar to the Python function behaviour, a user can technically pass no arguments at all:" +msgid "" +"Do note that similar to the Python function behaviour, a user can " +"technically pass no arguments at all:" msgstr "Pythonの振る舞いと同様に、ユーザーは引数なしの状態を技術的に渡すことができます。" #: ../../ext/commands/commands.rst:132 -msgid "Since the ``args`` variable is a :class:`py:tuple`, you can do anything you would usually do with one." +msgid "" +"Since the ``args`` variable is a :class:`py:tuple`, you can do anything " +"you would usually do with one." msgstr "" #: ../../ext/commands/commands.rst:136 @@ -125,7 +169,11 @@ msgid "Keyword-Only Arguments" 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:" +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:" msgstr "引数の構文解析を自分で行う場合や、複数単語の入力を引用符で囲む必要のないようにしたい場合は、渡された値を単一の引数として受け取るようにライブラリに求めることができます。以下のコードのようにキーワード引数のみを使用することでこれが可能になります。" #: ../../ext/commands/commands.rst:150 @@ -141,19 +189,29 @@ msgid "Do keep in mind that wrapping it in quotes leaves it as-is:" 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 :attr:`.Command.rest_is_raw` argument in the decorator." -msgstr "通常、キーワード引数は利便性のために空白文字で分割されます。この動作はデコレータの引数として :attr:`.Command.rest_is_raw` を使うことで切り替えることが可能です。" +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 " +":attr:`.Command.rest_is_raw` argument in the decorator." +msgstr "" +"通常、キーワード引数は利便性のために空白文字で分割されます。この動作はデコレータの引数として " +":attr:`.Command.rest_is_raw` を使うことで切り替えることが可能です。" #: ../../ext/commands/commands.rst:166 msgid "Invocation Context" 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`." +msgid "" +"As seen earlier, every command must take at least a single parameter, " +"called the :class:`~ext.commands.Context`." msgstr "前述の通り、すべてのコマンドは必ず :class:`~ext.commands.Context` と呼ばれるパラメータを受け取らなければいけません。" #: ../../ext/commands/commands.rst:170 -msgid "This parameter gives you access to something called the \"invocation context\". Essentially all the information you need to know how the command was executed. It contains a lot of useful information:" +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:" msgstr "このパラメータにより、「呼び出しコンテクスト」というものにアクセスできます。言うなればコマンドがどのように実行されたのかを知るのに必要な基本的情報です。これにはたくさんの有用な情報が含まれています。" #: ../../ext/commands/commands.rst:173 @@ -165,35 +223,57 @@ msgid ":attr:`.Context.message` to fetch the :class:`Message` of the command." msgstr "コマンドの :class:`Message` を取得できる :attr:`.Context.message` 。" #: ../../ext/commands/commands.rst:175 -msgid ":attr:`.Context.author` to fetch the :class:`Member` or :class:`User` that called the command." -msgstr "コマンドを実行した :class:`Member` あるいは :class:`User` を取得できる :attr:`.Context.author` 。" +msgid "" +":attr:`.Context.author` to fetch the :class:`Member` or :class:`User` " +"that called the command." +msgstr "" +"コマンドを実行した :class:`Member` あるいは :class:`User` を取得できる " +":attr:`.Context.author` 。" #: ../../ext/commands/commands.rst:176 -msgid ":meth:`.Context.send` to send a message to the channel the command was used in." +msgid "" +":meth:`.Context.send` to send a message to the channel the command was " +"used in." msgstr "コマンドが実行されたチャンネルにメッセージを送信する :meth:`.Context.send` 。" #: ../../ext/commands/commands.rst:178 -msgid "The context implements the :class:`abc.Messageable` interface, so anything you can do on a :class:`abc.Messageable` you can do on the :class:`~ext.commands.Context`." -msgstr "コンテクストは :class:`abc.Messageable` インタフェースを実装しているため、 :class:`abc.Messageable` 上でできることは :class:`~ext.commands.Context` 上でも行うことが可能です。" +msgid "" +"The context implements the :class:`abc.Messageable` interface, so " +"anything you can do on a :class:`abc.Messageable` you can do on the " +":class:`~ext.commands.Context`." +msgstr "" +"コンテクストは :class:`abc.Messageable` インタフェースを実装しているため、 " +":class:`abc.Messageable` 上でできることは :class:`~ext.commands.Context` " +"上でも行うことが可能です。" #: ../../ext/commands/commands.rst:182 msgid "Converters" msgstr "コンバータ" #: ../../ext/commands/commands.rst:184 -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`." -msgstr "Botの引数を関数のパラメータとして設定するのは、Botのコマンドインタフェースを定義する第一歩です。引数を実際に扱うには、大抵の場合、データを目的の型へとと変換する必要があります。私達はこれを :ref:`ext_commands_api_converters` と呼んでいます。" +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`." +msgstr "" +"Botの引数を関数のパラメータとして設定するのは、Botのコマンドインタフェースを定義する第一歩です。引数を実際に扱うには、大抵の場合、データを目的の型へとと変換する必要があります。私達はこれを" +" :ref:`ext_commands_api_converters` と呼んでいます。" #: ../../ext/commands/commands.rst:188 msgid "Converters come in a few flavours:" msgstr "コンバータにはいくつかの種類があります:" #: ../../ext/commands/commands.rst:190 -msgid "A regular callable object that takes an argument as a sole parameter and returns a different type." +msgid "" +"A regular callable object that takes an argument as a sole parameter and " +"returns a different type." msgstr "引数を一つのパラメータとして受け取り、異なる型として返す、通常の呼び出し可能オブジェクト。" #: ../../ext/commands/commands.rst:192 -msgid "These range from your own function, to something like :class:`bool` or :class:`int`." +msgid "" +"These range from your own function, to something like :class:`bool` or " +":class:`int`." msgstr "これらにはあなたの作った関数、 :class:`bool` や :class:`int` といったものまで含まれます。" #: ../../ext/commands/commands.rst:194 @@ -205,19 +285,30 @@ msgid "Basic Converters" 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." +msgid "" +"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:" +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:" 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`." -msgstr "コンバーターの指定には関数アノテーションというもの用います。これは :pep:`3107` にて追加された Python 3 にのみ実装されている機能です。" +msgid "" +"We specify converters by using something called a **function " +"annotation**. This is a Python 3 exclusive feature that was introduced in" +" :pep:`3107`." +msgstr "" +"コンバーターの指定には関数アノテーションというもの用います。これは :pep:`3107` にて追加された Python 3 " +"にのみ実装されている機能です。" #: ../../ext/commands/commands.rst:213 -msgid "This works with any callable, such as a function that would convert a string to all upper-case:" +msgid "" +"This works with any callable, such as a function that would convert a " +"string to all upper-case:" msgstr "これは、文字列をすべて大文字に変換する関数などといった、任意の呼び出し可能関数でも動作します。" #: ../../ext/commands/commands.rst:225 @@ -225,35 +316,69 @@ msgid "bool" msgstr "論理型" #: ../../ext/commands/commands.rst:227 -msgid "Unlike the other basic converters, the :class:`bool` converter is treated slightly different. Instead of casting directly to the :class:`bool` type, which would result in any non-empty argument returning ``True``, it instead evaluates the argument as ``True`` or ``False`` based on it's given content:" -msgstr "他の基本的なコンバーターとは異なり、 :class:`bool` のコンバーターは若干異なる扱いになります。 :class:`bool` 型に直接キャストする代わりに、与えられた値に基づいて ``True`` か ``False`` を返します。" +#, fuzzy +msgid "" +"Unlike the other basic converters, the :class:`bool` converter is treated" +" slightly different. Instead of casting directly to the :class:`bool` " +"type, which would result in any non-empty argument returning ``True``, it" +" instead evaluates the argument as ``True`` or ``False`` based on its " +"given content:" +msgstr "" +"他の基本的なコンバーターとは異なり、 :class:`bool` のコンバーターは若干異なる扱いになります。 :class:`bool` " +"型に直接キャストする代わりに、与えられた値に基づいて ``True`` か ``False`` を返します。" #: ../../ext/commands/commands.rst:239 msgid "Advanced Converters" msgstr "応用的なコンバータ" #: ../../ext/commands/commands.rst:241 -msgid "Sometimes a basic converter doesn't have enough information that we need. For example, sometimes we want to get some information from the :class:`Message` that called the command or we want to do some asynchronous processing." -msgstr "場合によっては、基本的なコンバータを動かすのに必要な情報が不足していることがあります。例えば、実行されたコマンドの :class:`Message` から情報を取得したい場合や、非同期処理を行いたい場合です。" +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." +msgstr "" +"場合によっては、基本的なコンバータを動かすのに必要な情報が不足していることがあります。例えば、実行されたコマンドの " +":class:`Message` から情報を取得したい場合や、非同期処理を行いたい場合です。" #: ../../ext/commands/commands.rst:244 -msgid "For this, the library provides the :class:`~ext.commands.Converter` interface. This allows you to have access to the :class:`.Context` and have the callable be asynchronous. Defining a custom converter using this interface requires overriding a single method, :meth:`.Converter.convert`." -msgstr "そういった用途のために、このライブラリは :class:`~ext.commands.Converter` インタフェースを提供します。これによって :class:`.Context` にアクセスが可能になり、また、呼び出し可能関数を非同期にもできるようになります。このインタフェースを使用して、カスタムコンバーターを定義したい場合は :meth:`.Converter.convert` をオーバーライドしてください。" +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`." +msgstr "" +"そういった用途のために、このライブラリは :class:`~ext.commands.Converter` " +"インタフェースを提供します。これによって :class:`.Context` " +"にアクセスが可能になり、また、呼び出し可能関数を非同期にもできるようになります。このインタフェースを使用して、カスタムコンバーターを定義したい場合は" +" :meth:`.Converter.convert` をオーバーライドしてください。" #: ../../ext/commands/commands.rst:248 msgid "An example converter:" msgstr "コンバーターの例" #: ../../ext/commands/commands.rst:263 -msgid "The converter provided can either be constructed or not. Essentially these two are equivalent:" +msgid "" +"The converter provided can either be constructed or not. Essentially " +"these two are equivalent:" msgstr "コンバーターはインスタンス化されていなくても構いません。以下の例の二つのは同じ処理になります。" #: ../../ext/commands/commands.rst:277 -msgid "Having the possibility of the converter be constructed allows you to set up some state in the converter's ``__init__`` for fine tuning the converter. An example of this is actually in the library, :class:`~ext.commands.clean_content`." -msgstr "コンバーターをインスタンス化する可能性がある場合、コンバーターの調整を行うために ``__init__`` で何かしらの状態を設定することが出来ます。この例としてライブラリに実際に存在する :class:`~ext.commands.clean_content` があります。" +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, " +":class:`~ext.commands.clean_content`." +msgstr "" +"コンバーターをインスタンス化する可能性がある場合、コンバーターの調整を行うために ``__init__`` " +"で何かしらの状態を設定することが出来ます。この例としてライブラリに実際に存在する " +":class:`~ext.commands.clean_content` があります。" #: ../../ext/commands/commands.rst:293 -msgid "If a converter fails to convert an argument to its designated target type, the :exc:`.BadArgument` exception must be raised." +msgid "" +"If a converter fails to convert an argument to its designated target " +"type, the :exc:`.BadArgument` exception must be raised." msgstr "コンバーターが渡された引数を指定の型に変換できなかった場合は :exc:`.BadArgument` を発生させてください。" #: ../../ext/commands/commands.rst:297 @@ -261,64 +386,84 @@ msgid "Inline Advanced Converters" msgstr "埋込み型の応用的なコンバーター" #: ../../ext/commands/commands.rst:299 -msgid "If we don't want to inherit from :class:`~ext.commands.Converter`, we can still provide a converter that has the advanced functionalities of an advanced converter and save us from specifying two types." -msgstr ":class:`~ext.commands.Converter` を継承したくない場合のために、応用的なコンバータの高度な機能を備えたコンバータを提供しています。これを使用することで2つのクラスを作成する必要がなくなります。" +msgid "" +"If we don't want to inherit from :class:`~ext.commands.Converter`, we can" +" still provide a converter that has the advanced functionalities of an " +"advanced converter and save us from specifying two types." +msgstr "" +":class:`~ext.commands.Converter` " +"を継承したくない場合のために、応用的なコンバータの高度な機能を備えたコンバータを提供しています。これを使用することで2つのクラスを作成する必要がなくなります。" #: ../../ext/commands/commands.rst:302 -msgid "For example, a common idiom would be to have a class and a converter for that class:" +msgid "" +"For example, a common idiom would be to have a class and a converter for " +"that class:" msgstr "例えば、一般的な書き方だと、クラスとそのクラスへのコンバーターを定義します:" #: ../../ext/commands/commands.rst:328 -msgid "This can get tedious, so an inline advanced converter is possible through a ``classmethod`` inside the type:" -msgstr "これでは面倒に感じてしまうこともあるでしょう。しかし、埋込み型の応用的なコンバーターは ``classmethod`` としてクラスへ埋め込むことが可能です:" +msgid "" +"This can get tedious, so an inline advanced converter is possible through" +" a ``classmethod`` inside the type:" +msgstr "" +"これでは面倒に感じてしまうこともあるでしょう。しかし、埋込み型の応用的なコンバーターは ``classmethod`` " +"としてクラスへ埋め込むことが可能です:" #: ../../ext/commands/commands.rst:355 msgid "Discord Converters" msgstr "Discord コンバーター" #: ../../ext/commands/commands.rst:357 -msgid "Working with :ref:`discord_api_models` is a fairly common thing when defining commands, as a result the library makes working with them easy." -msgstr ":ref:`discord_api_models` を使用して作業を行うのは、コマンドを定義する際には一般的なことです。そのため、このライブラリでは簡単に作業が行えるようになっています。" +msgid "" +"Working with :ref:`discord_api_models` is a fairly common thing when " +"defining commands, as a result the library makes working with them easy." +msgstr "" +":ref:`discord_api_models` " +"を使用して作業を行うのは、コマンドを定義する際には一般的なことです。そのため、このライブラリでは簡単に作業が行えるようになっています。" #: ../../ext/commands/commands.rst:360 -msgid "For example, to receive a :class:`Member` you can just pass it as a converter:" +msgid "" +"For example, to receive a :class:`Member` you can just pass it as a " +"converter:" msgstr "例えば、 :class:`Member` を受け取るには、これをコンバーターとして渡すだけです。" #: ../../ext/commands/commands.rst:368 -msgid "When this command is executed, it attempts to convert the string given into a :class:`Member` and then passes it as a parameter for the function. This works by checking if the string is a mention, an ID, a nickname, a username + discriminator, or just a regular username. The default set of converters have been written to be as easy to use as possible." -msgstr "このコマンドが実行されると、与えられた文字列を :class:`Member` に変換して、それを関数のパラメーターとして渡します。これは文字列がメンション、ID、ニックネーム、ユーザー名 + Discordタグ、または普通のユーザー名かどうかをチェックすることで機能しています。デフォルトで定義されているコンバーターは、できるだけ簡単に使えるように作られています。" +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." +msgstr "" +"このコマンドが実行されると、与えられた文字列を :class:`Member` " +"に変換して、それを関数のパラメーターとして渡します。これは文字列がメンション、ID、ニックネーム、ユーザー名 + " +"Discordタグ、または普通のユーザー名かどうかをチェックすることで機能しています。デフォルトで定義されているコンバーターは、できるだけ簡単に使えるように作られています。" #: ../../ext/commands/commands.rst:372 msgid "A lot of discord models work out of the gate as a parameter:" msgstr "Discordモデルの多くがコンバーターとして動作します。" -#: ../../ext/commands/commands.rst:374 -#: ../../ext/commands/commands.rst:396 +#: ../../ext/commands/commands.rst:374 ../../ext/commands/commands.rst:396 msgid ":class:`Member`" msgstr ":class:`Member`" -#: ../../ext/commands/commands.rst:375 -#: ../../ext/commands/commands.rst:400 +#: ../../ext/commands/commands.rst:375 ../../ext/commands/commands.rst:400 msgid ":class:`User`" msgstr ":class:`User`" -#: ../../ext/commands/commands.rst:376 -#: ../../ext/commands/commands.rst:402 +#: ../../ext/commands/commands.rst:376 ../../ext/commands/commands.rst:402 msgid ":class:`TextChannel`" msgstr ":class:`TextChannel`" -#: ../../ext/commands/commands.rst:377 -#: ../../ext/commands/commands.rst:404 -#: ../../ext/commands/commands.rst:406 +#: ../../ext/commands/commands.rst:377 ../../ext/commands/commands.rst:404 msgid ":class:`VoiceChannel`" msgstr ":class:`VoiceChannel`" -#: ../../ext/commands/commands.rst:378 +#: ../../ext/commands/commands.rst:378 ../../ext/commands/commands.rst:406 msgid ":class:`CategoryChannel`" msgstr ":class:`CategoryChannel`" -#: ../../ext/commands/commands.rst:379 -#: ../../ext/commands/commands.rst:408 +#: ../../ext/commands/commands.rst:379 ../../ext/commands/commands.rst:408 msgid ":class:`Role`" msgstr ":class:`Role`" @@ -326,38 +471,40 @@ msgstr ":class:`Role`" msgid ":class:`Message` (since v1.1)" msgstr ":class:`Message` (v1.1 から)" -#: ../../ext/commands/commands.rst:381 -#: ../../ext/commands/commands.rst:410 +#: ../../ext/commands/commands.rst:381 ../../ext/commands/commands.rst:410 msgid ":class:`Invite`" msgstr ":class:`Invite`" -#: ../../ext/commands/commands.rst:382 -#: ../../ext/commands/commands.rst:412 +#: ../../ext/commands/commands.rst:382 ../../ext/commands/commands.rst:412 msgid ":class:`Game`" msgstr ":class:`Game`" -#: ../../ext/commands/commands.rst:383 -#: ../../ext/commands/commands.rst:414 +#: ../../ext/commands/commands.rst:383 ../../ext/commands/commands.rst:414 msgid ":class:`Emoji`" msgstr ":class:`Emoji`" -#: ../../ext/commands/commands.rst:384 -#: ../../ext/commands/commands.rst:416 +#: ../../ext/commands/commands.rst:384 ../../ext/commands/commands.rst:416 msgid ":class:`PartialEmoji`" msgstr ":class:`PartialEmoji`" -#: ../../ext/commands/commands.rst:385 -#: ../../ext/commands/commands.rst:418 +#: ../../ext/commands/commands.rst:385 ../../ext/commands/commands.rst:418 msgid ":class:`Colour`" msgstr ":class:`Colour`" #: ../../ext/commands/commands.rst:387 -msgid "Having any of these set as the converter will intelligently convert the argument to the appropriate target type you specify." +msgid "" +"Having any of these set as the converter will intelligently convert the " +"argument to the appropriate target type you specify." msgstr "これらをコンバーターとして設定すると、引数を指定した型へとインテリジェントに変換します。" #: ../../ext/commands/commands.rst:390 -msgid "Under the hood, these are implemented by the :ref:`ext_commands_adv_converters` interface. A table of the equivalent converter is given below:" -msgstr "これらは :ref:`ext_commands_adv_converters` インタフェースによって実装されています。コンバーターとクラスの関係は以下の通りです。" +msgid "" +"Under the hood, these are implemented by the " +":ref:`ext_commands_adv_converters` interface. A table of the equivalent " +"converter is given below:" +msgstr "" +"これらは :ref:`ext_commands_adv_converters` " +"インタフェースによって実装されています。コンバーターとクラスの関係は以下の通りです。" #: ../../ext/commands/commands.rst:394 msgid "Discord Class" @@ -420,7 +567,9 @@ msgid ":class:`~ext.commands.ColourConverter`" msgstr ":class:`~ext.commands.ColourConverter`" #: ../../ext/commands/commands.rst:421 -msgid "By providing the converter it allows us to use them as building blocks for another converter:" +msgid "" +"By providing the converter it allows us to use them as building blocks " +"for another converter:" msgstr "コンバーターを継承することで、他のコンバーターの一部として使うことができます:" #: ../../ext/commands/commands.rst:438 @@ -428,7 +577,11 @@ msgid "Special Converters" msgstr "特殊なコンバーター" #: ../../ext/commands/commands.rst:440 -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." +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:445 @@ -436,15 +589,32 @@ msgid "typing.Union" msgstr "typing.Union" #: ../../ext/commands/commands.rst:447 -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:" +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 ":data:`typing.Union` はコマンドが単数の型の代わりに、複数の特定の型を取り込める特殊な型ヒントです。例えば:" #: ../../ext/commands/commands.rst:459 -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 "``what`` パラメータには :class:`discord.TextChannel` コンバーターか :class:`discord.Member` コンバーターのいずれかが用いられます。これは左から右の順で変換できるか試行することになります。最初に渡された値を :class:`discord.TextChannel` へ変換しようと試み、失敗した場合は :class:`discord.Member` に変換しようとします。すべてのコンバーターで失敗した場合は :exc:`~ext.commands.BadUnionArgument` というエラーが発生します。" +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 "" +"``what`` パラメータには :class:`discord.TextChannel` コンバーターか " +":class:`discord.Member` " +"コンバーターのいずれかが用いられます。これは左から右の順で変換できるか試行することになります。最初に渡された値を " +":class:`discord.TextChannel` へ変換しようと試み、失敗した場合は :class:`discord.Member` " +"に変換しようとします。すべてのコンバーターで失敗した場合は :exc:`~ext.commands.BadUnionArgument` " +"というエラーが発生します。" #: ../../ext/commands/commands.rst:464 -msgid "Note that any valid converter discussed above can be passed in to the argument list of a :data:`typing.Union`." +msgid "" +"Note that any valid converter discussed above can be passed in to the " +"argument list of a :data:`typing.Union`." msgstr "以前に説明した有効なコンバーターは、すべて :data:`typing.Union` にわたすことが可能です。" #: ../../ext/commands/commands.rst:467 @@ -452,20 +622,35 @@ msgid "typing.Optional" msgstr "typing.Optional" #: ../../ext/commands/commands.rst:469 -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 ":data:`typing.Optional` は「後方参照」のような動作をする特殊な型ヒントです。コンバーターが指定された型へのパースに失敗した場合、パーサーは代わりに ``None`` または指定されたデフォルト値をパラメータに渡したあと、そのパラメータをスキップします。次のパラメータまたはコンバータがあれば、そちらに進みます。" - -#: ../../ext/commands/commands.rst:473 -#: ../../ext/commands/commands.rst:500 +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 "" +":data:`typing.Optional` " +"は「後方参照」のような動作をする特殊な型ヒントです。コンバーターが指定された型へのパースに失敗した場合、パーサーは代わりに ``None`` " +"または指定されたデフォルト値をパラメータに渡したあと、そのパラメータをスキップします。次のパラメータまたはコンバータがあれば、そちらに進みます。" + +#: ../../ext/commands/commands.rst:473 ../../ext/commands/commands.rst:500 msgid "Consider the following example:" msgstr "次の例をみてください:" #: ../../ext/commands/commands.rst:486 -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 "この例では引数を ``int`` に変換することができなかったので、デフォルト値である ``99`` を代入し、パーサーは処理を続行しています。この場合、先程の変換に失敗した引数は ``liquid`` パラメータに渡されます。" +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 "" +"この例では引数を ``int`` に変換することができなかったので、デフォルト値である ``99`` " +"を代入し、パーサーは処理を続行しています。この場合、先程の変換に失敗した引数は ``liquid`` パラメータに渡されます。" #: ../../ext/commands/commands.rst:491 -msgid "This converter only works in regular positional parameters, not variable parameters or keyword-only parameters." +msgid "" +"This converter only works in regular positional parameters, not variable " +"parameters or keyword-only parameters." msgstr "このコンバーターは位置パラメータでのみ動作し、可変長パラメータやキーワードパラメータでは機能しません。" #: ../../ext/commands/commands.rst:494 @@ -473,19 +658,30 @@ msgid "Greedy" msgstr "Greedy" #: ../../ext/commands/commands.rst:496 -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 ":data:`~ext.commands.Greedy` コンバータは引数にリストが適用される以外は :data:`typing.Optional` を一般化したものです。簡単に言うと、与えられた引数を変換ができなくなるまで指定の型に変換しようと試みます。" +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 "" +":data:`~ext.commands.Greedy` コンバータは引数にリストが適用される以外は " +":data:`typing.Optional` " +"を一般化したものです。簡単に言うと、与えられた引数を変換ができなくなるまで指定の型に変換しようと試みます。" #: ../../ext/commands/commands.rst:509 msgid "When invoked, it allows for any number of members to be passed in:" msgstr "これが呼び出されると、任意の数のメンバーを渡すことができます:" #: ../../ext/commands/commands.rst:513 -msgid "The type passed when using this converter depends on the parameter type that it is being attached to:" +msgid "" +"The type passed when using this converter depends on the parameter type " +"that it is being attached to:" msgstr "" #: ../../ext/commands/commands.rst:515 -msgid "Positional parameter types will receive either the default parameter or a :class:`list` of the converted values." +msgid "" +"Positional parameter types will receive either the default parameter or a" +" :class:`list` of the converted values." msgstr "" #: ../../ext/commands/commands.rst:516 @@ -493,15 +689,21 @@ msgid "Variable parameter types will be a :class:`tuple` as usual." msgstr "" #: ../../ext/commands/commands.rst:517 -msgid "Keyword-only parameter types will be the same as if :data:`~ext.commands.Greedy` was not passed at all." +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:519 -msgid ":data:`~ext.commands.Greedy` parameters can also be made optional by specifying an optional value." +msgid "" +":data:`~ext.commands.Greedy` parameters can also be made optional by " +"specifying an optional value." msgstr "" #: ../../ext/commands/commands.rst:521 -msgid "When mixed with the :data:`typing.Optional` converter you can provide simple and expressive command invocation syntaxes:" +msgid "" +"When mixed with the :data:`typing.Optional` converter you can provide " +"simple and expressive command invocation syntaxes:" msgstr "" #: ../../ext/commands/commands.rst:536 @@ -509,15 +711,29 @@ msgid "This command can be invoked any of the following ways:" msgstr "" #: ../../ext/commands/commands.rst:546 -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." +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:549 -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." +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:555 -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." +msgid "" +"To help aid with some parsing ambiguities, :class:`str`, ``None``, " +":data:`typing.Optional` and :data:`~ext.commands.Greedy` are forbidden as" +" parameters for the :data:`~ext.commands.Greedy` converter." msgstr "" #: ../../ext/commands/commands.rst:561 @@ -525,19 +741,37 @@ msgid "Error Handling" msgstr "エラーハンドリング" #: ../../ext/commands/commands.rst:563 -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." -msgstr "コマンドの解析に失敗したとき、通常では煩わしいエラーはエラーの発生を伝えるためにコンソールの ``stderr`` で受け取られ、無視されていました。" +#, fuzzy +msgid "" +"When our commands fail to 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 "" +"コマンドの解析に失敗したとき、通常では煩わしいエラーはエラーの発生を伝えるためにコンソールの ``stderr`` " +"で受け取られ、無視されていました。" #: ../../ext/commands/commands.rst:566 -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 global error handler is called for every error reached." +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 " +"global error handler is called for every error reached." msgstr "" #: ../../ext/commands/commands.rst:570 -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 :meth:`.Command.error`:" +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 " +":meth:`.Command.error`:" msgstr "" #: ../../ext/commands/commands.rst:586 -msgid "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." +msgid "" +"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:590 @@ -545,11 +779,19 @@ msgid "Checks" msgstr "チェック" #: ../../ext/commands/commands.rst:592 -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`." -msgstr "コマンドをユーザーに使ってほしくない場合などがあります。例えば、使用者が権限を持っていない場合や、Botをブロックしている場合などです。コマンド拡張ではこのような機能を :ref:`ext_commands_api_checks` と呼び、完全にサポートしています。" +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`." +msgstr "" +"コマンドをユーザーに使ってほしくない場合などがあります。例えば、使用者が権限を持っていない場合や、Botをブロックしている場合などです。コマンド拡張ではこのような機能を" +" :ref:`ext_commands_api_checks` と呼び、完全にサポートしています。" #: ../../ext/commands/commands.rst:596 -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:" +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:599 @@ -561,23 +803,35 @@ msgid "Return ``False`` to signal that the person cannot run the command." msgstr "" #: ../../ext/commands/commands.rst:601 -msgid "Raise a :exc:`~ext.commands.CommandError` derived exception to signal the person cannot run the command." +msgid "" +"Raise a :exc:`~ext.commands.CommandError` derived exception to signal the" +" person cannot run the command." msgstr "" #: ../../ext/commands/commands.rst:603 -msgid "This allows you to have custom error messages for you to handle in the :ref:`error handlers `." +msgid "" +"This allows you to have custom error messages for you to handle in the " +":ref:`error handlers `." msgstr "" #: ../../ext/commands/commands.rst:606 -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:" +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:" msgstr "" #: ../../ext/commands/commands.rst:620 -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:" +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:" msgstr "" #: ../../ext/commands/commands.rst:637 -msgid "Since an owner check is so common, the library provides it for you (:func:`~ext.commands.is_owner`):" +msgid "" +"Since an owner check is so common, the library provides it for you " +"(:func:`~ext.commands.is_owner`):" msgstr "" #: ../../ext/commands/commands.rst:647 @@ -585,19 +839,29 @@ msgid "When multiple checks are specified, **all** of them must be ``True``:" msgstr "" #: ../../ext/commands/commands.rst:663 -msgid "If any of those checks fail in the example above, then the command will not be run." +msgid "" +"If any of those checks fail in the example above, then the command will " +"not be run." msgstr "" #: ../../ext/commands/commands.rst:665 -msgid "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:" +msgid "" +"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:683 -msgid "If you want a more robust error system, you can derive from the exception and raise it instead of returning ``False``:" +msgid "" +"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:708 -msgid "Since having a ``guild_only`` decorator is pretty common, it comes built-in via :func:`~ext.commands.guild_only`." +msgid "" +"Since having a ``guild_only`` decorator is pretty common, it comes built-" +"in via :func:`~ext.commands.guild_only`." msgstr "" #: ../../ext/commands/commands.rst:711 @@ -605,11 +869,16 @@ msgid "Global Checks" msgstr "グローバルチェック" #: ../../ext/commands/commands.rst:713 -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." +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." msgstr "" #: ../../ext/commands/commands.rst:716 -msgid "Global checks work similarly to regular checks except they are registered with the :func:`.Bot.check` decorator." +msgid "" +"Global checks work similarly to regular checks except they are registered" +" with the :func:`.Bot.check` decorator." msgstr "" #: ../../ext/commands/commands.rst:718 @@ -617,6 +886,16 @@ msgid "For example, to block all DMs we could do the following:" msgstr "" #: ../../ext/commands/commands.rst:728 -msgid "Be careful on how you write your global checks, as it could also lock you out of your own bot." +msgid "" +"Be careful on how you write your global checks, as it could also lock you" +" out of your own bot." msgstr "" +#~ 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 "" + diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/extensions.po b/docs/locale/ja/LC_MESSAGES/ext/commands/extensions.po index 3661a8580..d4bf7e888 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/extensions.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/extensions.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: /ext/commands/extensions.pot\n" +"X-Crowdin-File-ID: 68\n" "Language: ja_JP\n" #: ../../ext/commands/extensions.rst:6 diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/index.po b/docs/locale/ja/LC_MESSAGES/ext/commands/index.po index 16012aa77..2f65fa049 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/index.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/index.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: /ext/commands/index.pot\n" +"X-Crowdin-File-ID: 66\n" "Language: ja_JP\n" #: ../../ext/commands/index.rst:4 diff --git a/docs/locale/ja/LC_MESSAGES/ext/tasks/index.po b/docs/locale/ja/LC_MESSAGES/ext/tasks/index.po index 906d0f026..bf76ebcc3 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/tasks/index.po +++ b/docs/locale/ja/LC_MESSAGES/ext/tasks/index.po @@ -3,9 +3,9 @@ msgid "" msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-28 07:15-0400\n" -"PO-Revision-Date: 2019-06-28 11:14+0000\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" "Plural-Forms: nplurals=1; plural=0\n" @@ -41,7 +41,7 @@ msgstr "スリープできる最大時間は何秒ですか?" msgid "" "The goal of this discord.py extension is to abstract all these worries " "away from you." -msgstr "" +msgstr "discord.pyの拡張機能の目的は、こういった苦労の種を抽象化することです。" #: ../../ext/tasks/index.rst:17 msgid "Recipes" @@ -57,15 +57,15 @@ msgstr "再接続中に処理する例外を追加します:" #: ../../ext/tasks/index.rst:61 msgid "Looping a certain amount of times before exiting:" -msgstr "" +msgstr "特定の回数ループさせる:" #: ../../ext/tasks/index.rst:77 msgid "Waiting until the bot is ready before the loop starts:" -msgstr "" +msgstr "ループが始まる前に、Botの準備が整うまで待機する: " #: ../../ext/tasks/index.rst:102 msgid "Doing something during cancellation:" -msgstr "" +msgstr "キャンセルする場合、その間に何らかの処理を行う:" #: ../../ext/tasks/index.rst:136 msgid "API Reference" @@ -75,17 +75,17 @@ msgstr "APIリファレンス" msgid "" "A background task helper that abstracts the loop and reconnection logic " "for you." -msgstr "" +msgstr "ループと再接続処理を抽象化するバックグラウンドタスクのヘルパー。" #: discord.ext.tasks.Loop:3 of msgid "The main interface to create this is through :func:`loop`." -msgstr "" +msgstr ":func:`loop` はこれを作成するための主要なインタフェースです。" #: discord.ext.tasks.Loop.current_loop:1 of msgid "The current iteration of the loop." msgstr "" -#: discord.ext.tasks.Loop.current_loop of +#: discord.ext.tasks.Loop.current_loop discord.ext.tasks.Loop.next_iteration of msgid "type" msgstr "" @@ -94,19 +94,28 @@ msgstr "" msgid ":class:`int`" msgstr ":class:`asyncio.Task`" +#: discord.ext.tasks.Loop.next_iteration:1 of +msgid "When the next iteration of the loop will occur." +msgstr "" + +#: discord.ext.tasks.Loop.next_iteration:5 of +msgid "Optional[:class:`datetime.datetime`]" +msgstr "" + #: discord.ext.tasks.Loop.start:1 of msgid "Starts the internal task in the event loop." msgstr "" #: discord.ext.tasks.Loop.add_exception_type discord.ext.tasks.Loop.after_loop #: discord.ext.tasks.Loop.before_loop discord.ext.tasks.Loop.change_interval -#: discord.ext.tasks.Loop.remove_exception_type discord.ext.tasks.Loop.restart -#: discord.ext.tasks.Loop.start discord.ext.tasks.loop of +#: discord.ext.tasks.Loop.error discord.ext.tasks.Loop.remove_exception_type +#: discord.ext.tasks.Loop.restart discord.ext.tasks.Loop.start +#: discord.ext.tasks.loop of msgid "Parameters" msgstr "パラメーター" -#: discord.ext.tasks.Loop.restart:8 discord.ext.tasks.Loop.start:3 of -msgid "The arguments to to use." +#: discord.ext.tasks.Loop.start:3 of +msgid "The arguments to use." msgstr "" #: discord.ext.tasks.Loop.restart:9 discord.ext.tasks.Loop.start:4 of @@ -115,7 +124,8 @@ msgstr "" #: discord.ext.tasks.Loop.add_exception_type discord.ext.tasks.Loop.after_loop #: discord.ext.tasks.Loop.before_loop discord.ext.tasks.Loop.change_interval -#: discord.ext.tasks.Loop.start discord.ext.tasks.loop of +#: discord.ext.tasks.Loop.error discord.ext.tasks.Loop.start +#: discord.ext.tasks.loop of #, fuzzy msgid "Raises" msgstr "例外" @@ -124,8 +134,7 @@ msgstr "例外" msgid "A task has already been launched and is running." msgstr "" -#: discord.ext.tasks.Loop.remove_exception_type discord.ext.tasks.Loop.start -#: discord.ext.tasks.loop of +#: discord.ext.tasks.Loop.remove_exception_type discord.ext.tasks.Loop.start of msgid "Returns" msgstr "戻り値" @@ -133,8 +142,7 @@ msgstr "戻り値" msgid "The task that has been created." msgstr "タスクが作成されました。" -#: discord.ext.tasks.Loop.remove_exception_type discord.ext.tasks.Loop.start -#: discord.ext.tasks.loop of +#: discord.ext.tasks.Loop.remove_exception_type discord.ext.tasks.Loop.start of msgid "Return type" msgstr "戻り値の型" @@ -178,10 +186,15 @@ msgid "" ":meth:`start`." msgstr "" -#: discord.ext.tasks.Loop.add_exception_type:1 of -msgid "Adds an exception type to be handled during the reconnect logic." +#: discord.ext.tasks.Loop.restart:8 of +msgid "The arguments to to use." msgstr "" +#: discord.ext.tasks.Loop.add_exception_type:1 of +#, fuzzy +msgid "Adds exception types to be handled during the reconnect logic." +msgstr "再接続中に処理する例外を追加します:" + #: discord.ext.tasks.Loop.add_exception_type:3 of msgid "" "By default the exception types handled are those handled by " @@ -197,12 +210,12 @@ msgstr "" #: discord.ext.tasks.Loop.add_exception_type:10 #: discord.ext.tasks.Loop.remove_exception_type:3 of -msgid "The exception class to handle." +msgid "An argument list of exception classes to handle." msgstr "" #: discord.ext.tasks.Loop.add_exception_type:13 of msgid "" -"The exception passed is either not a class or not inherited from " +"An exception passed is either not a class or not inherited from " ":class:`BaseException`." msgstr "" @@ -215,11 +228,12 @@ msgid "This operation obviously cannot be undone!" msgstr "" #: discord.ext.tasks.Loop.remove_exception_type:1 of -msgid "Removes an exception type from being handled during the reconnect logic." -msgstr "" +#, fuzzy +msgid "Removes exception types from being handled during the reconnect logic." +msgstr "再接続中に処理する例外を追加します:" #: discord.ext.tasks.Loop.remove_exception_type:6 of -msgid "Whether it was successfully removed." +msgid "Whether all exceptions were successfully removed." msgstr "" #: discord.ext.tasks.Loop.remove_exception_type:7 of @@ -240,6 +254,10 @@ msgstr "" msgid ":class:`bool`: Whether the internal task has failed." msgstr "" +#: discord.ext.tasks.Loop.is_running:1 of +msgid ":class:`bool`: Check if the task is currently running." +msgstr "" + #: discord.ext.tasks.Loop.before_loop:1 of msgid "" "A decorator that registers a coroutine to be called before the loop " @@ -261,7 +279,7 @@ msgid "The coroutine to register before the loop runs." msgstr "" #: discord.ext.tasks.Loop.after_loop:14 discord.ext.tasks.Loop.before_loop:11 -#: discord.ext.tasks.loop:22 of +#: discord.ext.tasks.Loop.error:13 discord.ext.tasks.loop:22 of msgid "The function was not a coroutine." msgstr "" @@ -282,6 +300,28 @@ msgstr "" msgid "The coroutine to register after the loop finishes." msgstr "" +#: discord.ext.tasks.Loop.error:1 of +msgid "" +"A decorator that registers a coroutine to be called if the task " +"encounters an unhandled exception." +msgstr "" + +#: discord.ext.tasks.Loop.error:3 of +msgid "" +"The coroutine must take only one argument the exception raised (except " +"``self`` in a class context)." +msgstr "" + +#: discord.ext.tasks.Loop.error:5 of +msgid "" +"By default this prints to :data:`sys.stderr` however it could be " +"overridden to have a different implementation." +msgstr "" + +#: discord.ext.tasks.Loop.error:10 of +msgid "The coroutine to register in the event of an unhandled exception." +msgstr "" + #: discord.ext.tasks.Loop.change_interval:1 of msgid "Changes the interval for the sleep time." msgstr "" @@ -312,7 +352,7 @@ msgstr "" #: discord.ext.tasks.loop:1 of msgid "" "A decorator that schedules a task in the background for you with optional" -" reconnect logic." +" reconnect logic. The decorator returns a :class:`Loop`." msgstr "" #: discord.ext.tasks.loop:10 of @@ -331,29 +371,47 @@ msgid "" ":func:`asyncio.get_event_loop`." msgstr "" -#: discord.ext.tasks.loop:24 of -msgid "The loop helper that handles the background task." -msgstr "" - -#: discord.ext.tasks.loop:25 of -msgid ":class:`Loop`" -msgstr "" - #~ msgid ":class:`int` -- The current iteration of the loop." #~ msgstr "" #~ msgid ":exc:`RuntimeError` -- A task has already been launched and is running." #~ msgstr "" +#~ msgid "Adds an exception type to be handled during the reconnect logic." +#~ msgstr "" + +#~ msgid "The exception class to handle." +#~ msgstr "" + #~ msgid "" #~ ":exc:`TypeError` -- The exception passed " #~ "is either not a class or not " #~ "inherited from :class:`BaseException`." #~ msgstr "" +#~ msgid "" +#~ "Removes an exception type from being " +#~ "handled during the reconnect logic." +#~ msgstr "" + +#~ msgid "Whether it was successfully removed." +#~ msgstr "" + #~ msgid ":exc:`TypeError` -- The function was not a coroutine." #~ msgstr "" #~ msgid ":exc:`ValueError` -- An invalid value was given." #~ msgstr "" +#~ msgid "" +#~ "A decorator that schedules a task " +#~ "in the background for you with " +#~ "optional reconnect logic." +#~ msgstr "" + +#~ msgid "The loop helper that handles the background task." +#~ msgstr "" + +#~ msgid ":class:`Loop`" +#~ msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/faq.po b/docs/locale/ja/LC_MESSAGES/faq.po index 37a2c1986..27e21a274 100644 --- a/docs/locale/ja/LC_MESSAGES/faq.po +++ b/docs/locale/ja/LC_MESSAGES/faq.po @@ -1,27 +1,28 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: faq.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../faq.rst:5 msgid "Frequently Asked Questions" msgstr "よくある質問" #: ../../faq.rst:7 -msgid "This is a list of Frequently Asked Questions regarding using ``discord.py`` and its extension modules. Feel free to suggest a new question or submit one via pull requests." +msgid "" +"This is a list of Frequently Asked Questions regarding using " +"``discord.py`` and its extension modules. Feel free to suggest a new " +"question or submit one via pull requests." msgstr "これは ``discord.py`` 及び 拡張モジュールに対して、よくある質問をまとめたものです。気軽に質問やプルリクエストを提出してください。" #: ../../faq.rst:11 @@ -41,11 +42,23 @@ msgid "What is a coroutine?" msgstr "コルーチンとはなんですか。" #: ../../faq.rst:21 -msgid "A |coroutine_link|_ is a function that must be invoked with ``await`` or ``yield from``. When Python encounters an ``await`` it stops the function's execution at that point and works on other things until it comes back to that point and finishes off its work. This allows for your program to be doing multiple things at the same time without using threads or complicated multiprocessing." -msgstr "|coroutine_link|_ とは ``await`` または ``yield from`` から呼び出さなければならない関数です。 ``await`` にエンカウントした場合、そのポイントで関数の実行を停止し、他の作業を実行します。 これは作業が終了し、このポイントに戻ってくるまで続きます。 これにより、スレッドや複雑なマルチプロセッシングを用いずに複数の処理を並列実行することができます。" +msgid "" +"A |coroutine_link|_ is a function that must be invoked with ``await`` or " +"``yield from``. When Python encounters an ``await`` it stops the " +"function's execution at that point and works on other things until it " +"comes back to that point and finishes off its work. This allows for your " +"program to be doing multiple things at the same time without using " +"threads or complicated multiprocessing." +msgstr "" +"|coroutine_link|_ とは ``await`` または ``yield from`` から呼び出さなければならない関数です。 " +"``await`` にエンカウントした場合、そのポイントで関数の実行を停止し、他の作業を実行します。 " +"これは作業が終了し、このポイントに戻ってくるまで続きます。 " +"これにより、スレッドや複雑なマルチプロセッシングを用いずに複数の処理を並列実行することができます。" #: ../../faq.rst:26 -msgid "**If you forget to await a coroutine then the coroutine will not run. Never forget to await a coroutine.**" +msgid "" +"**If you forget to await a coroutine then the coroutine will not run. " +"Never forget to await a coroutine.**" msgstr "**コルーチンにawaitを記述し忘れた場合、コルーチンは実行されません。awaitの記述を忘れないように注意してください。**" #: ../../faq.rst:29 @@ -53,7 +66,9 @@ msgid "Where can I use ``await``\\?" msgstr "``await`` はどこで使用することができますか。" #: ../../faq.rst:31 -msgid "You can only use ``await`` inside ``async def`` functions and nowhere else." +msgid "" +"You can only use ``await`` inside ``async def`` functions and nowhere " +"else." msgstr "``await`` は ``async def`` 関数の中でのみ使用できます。" #: ../../faq.rst:34 @@ -61,20 +76,51 @@ msgid "What does \"blocking\" mean?" msgstr "「ブロッキング」とはなんですか。" #: ../../faq.rst:36 -msgid "In asynchronous programming a blocking call is essentially all the parts of the function that are not ``await``. Do not despair however, because not all forms of blocking are bad! Using blocking calls is inevitable, but you must work to make sure that you don't excessively block functions. Remember, if you block for too long then your bot will freeze since it has not stopped the function's execution at that point to do other things." -msgstr "非同期プログラミングにおけるブロッキングとは、関数内の ``await`` 修飾子がないコードすべてを指します。 しかし、全てのブロッキングが悪いというわけではありません。ブロッキングを使用することは避けられませんが、ブロックの発生は出来るだけ少なくする必要があります。長時間のブロックが発生すると、関数の実行が停止しないため、長時間Botがフリーズすることになることを覚えておきましょう。" +msgid "" +"In asynchronous programming a blocking call is essentially all the parts " +"of the function that are not ``await``. Do not despair however, because " +"not all forms of blocking are bad! Using blocking calls is inevitable, " +"but you must work to make sure that you don't excessively block " +"functions. Remember, if you block for too long then your bot will freeze " +"since it has not stopped the function's execution at that point to do " +"other things." +msgstr "" +"非同期プログラミングにおけるブロッキングとは、関数内の ``await`` 修飾子がないコードすべてを指します。 " +"しかし、全てのブロッキングが悪いというわけではありません。ブロッキングを使用することは避けられませんが、ブロックの発生は出来るだけ少なくする必要があります。長時間のブロックが発生すると、関数の実行が停止しないため、長時間Botがフリーズすることになることを覚えておきましょう。" #: ../../faq.rst:41 -msgid "If logging is enabled, this library will attempt to warn you that blocking is occurring with the message: ``Heartbeat blocked for more than N seconds.`` See :ref:`logging_setup` for details on enabling logging." -msgstr "もしロギングを有効にしている場合、ライブラリはブロッキングが起きていることを次のメッセージで警告しようと試みます: ``Heartbeat blocked for more than N seconds.`` ロギングを有効にするには、:ref:`logging_setup`をご覧ください。" +msgid "" +"If logging is enabled, this library will attempt to warn you that " +"blocking is occurring with the message: ``Heartbeat blocked for more than" +" N seconds.`` See :ref:`logging_setup` for details on enabling logging." +msgstr "" +"もしロギングを有効にしている場合、ライブラリはブロッキングが起きていることを次のメッセージで警告しようと試みます: ``Heartbeat " +"blocked for more than N seconds.`` " +"ロギングを有効にするには、:ref:`logging_setup`をご覧ください。" #: ../../faq.rst:45 -msgid "A common source of blocking for too long is something like :func:`time.sleep`. Don't do that. Use :func:`asyncio.sleep` instead. Similar to this example: ::" -msgstr "長時間ブロックの原因として一般的なのは :func:`time.sleep` などです。 これは使用せず、下記の例のように :func:`asyncio.sleep` を使用してください。" +msgid "" +"A common source of blocking for too long is something like " +":func:`time.sleep`. Don't do that. Use :func:`asyncio.sleep` instead. " +"Similar to this example: ::" +msgstr "" +"長時間ブロックの原因として一般的なのは :func:`time.sleep` などです。 これは使用せず、下記の例のように " +":func:`asyncio.sleep` を使用してください。" #: ../../faq.rst:54 -msgid "Another common source of blocking for too long is using HTTP requests with the famous module :doc:`req:index`. While :doc:`req:index` is an amazing module for non-asynchronous programming, it is not a good choice for :mod:`asyncio` because certain requests can block the event loop too long. Instead, use the :doc:`aiohttp ` library which is installed on the side with this library." -msgstr "また、これだけでなく、有名なモジュール :doc:`req:index` のHTTPリクエストも長時間ブロックの原因になります。 :doc:`req:index` モジュールは非非同期プログラミングでは素晴らしいモジュールですが、特定のリクエストがイベントループを長時間ブロックする可能性があるため、 :mod:`asyncio` には適していません。 代わりにこのライブラリと一緒にインストールされた :doc:`aiohttp ` を使用してください。" +msgid "" +"Another common source of blocking for too long is using HTTP requests " +"with the famous module :doc:`req:index`. While :doc:`req:index` is an " +"amazing module for non-asynchronous programming, it is not a good choice " +"for :mod:`asyncio` because certain requests can block the event loop too " +"long. Instead, use the :doc:`aiohttp ` library which is " +"installed on the side with this library." +msgstr "" +"また、これだけでなく、有名なモジュール :doc:`req:index` のHTTPリクエストも長時間ブロックの原因になります。 " +":doc:`req:index` " +"モジュールは非非同期プログラミングでは素晴らしいモジュールですが、特定のリクエストがイベントループを長時間ブロックする可能性があるため、 " +":mod:`asyncio` には適していません。 代わりにこのライブラリと一緒にインストールされた :doc:`aiohttp " +"` を使用してください。" #: ../../faq.rst:59 msgid "Consider the following example: ::" @@ -89,295 +135,448 @@ msgid "General questions regarding library usage belong here." msgstr "ライブラリの使用に関する一般的な質問。" #: ../../faq.rst:80 -msgid "How do I set the \"Playing\" status?" -msgstr "「プレイ中」状態の設定をするにはどうすればいいですか。" +msgid "Where can I find usage examples?" +msgstr "" #: ../../faq.rst:82 -msgid "There is a method for this under :class:`Client` called :meth:`Client.change_presence`. The relevant aspect of this is its ``activity`` keyword argument which takes in an :class:`Activity` object." -msgstr ":class:`Client` 下にプレイ中状態の設定を行うためのメソッド :meth:`Client.change_presence` が用意されています。 これの引数 ``activity`` に :class:`Activity` を渡します。" +msgid "" +"Example code can be found in the `examples folder " +"`_ in the " +"repository." +msgstr "" -#: ../../faq.rst:85 -msgid "The status type (playing, listening, streaming, watching) can be set using the :class:`ActivityType` enum. For memory optimisation purposes, some activities are offered in slimmed down versions:" -msgstr "ステータスタイプ(プレイ中、再生中、配信中、視聴中)は列挙型の :class:`ActivityType` を指定することで設定が可能です。メモリの最適化のため、一部のアクティビティはスリム化したバージョンで提供しています。" +#: ../../faq.rst:86 +msgid "How do I set the \"Playing\" status?" +msgstr "「プレイ中」状態の設定をするにはどうすればいいですか。" #: ../../faq.rst:88 +msgid "" +"There is a method for this under :class:`Client` called " +":meth:`Client.change_presence`. The relevant aspect of this is its " +"``activity`` keyword argument which takes in an :class:`Activity` object." +msgstr "" +":class:`Client` 下にプレイ中状態の設定を行うためのメソッド :meth:`Client.change_presence` " +"が用意されています。 これの引数 ``activity`` に :class:`Activity` を渡します。" + +#: ../../faq.rst:91 +msgid "" +"The status type (playing, listening, streaming, watching) can be set " +"using the :class:`ActivityType` enum. For memory optimisation purposes, " +"some activities are offered in slimmed down versions:" +msgstr "" +"ステータスタイプ(プレイ中、再生中、配信中、視聴中)は列挙型の :class:`ActivityType` " +"を指定することで設定が可能です。メモリの最適化のため、一部のアクティビティはスリム化したバージョンで提供しています。" + +#: ../../faq.rst:94 msgid ":class:`Game`" msgstr ":class:`Game`" -#: ../../faq.rst:89 +#: ../../faq.rst:95 msgid ":class:`Streaming`" msgstr ":class:`Streaming`" -#: ../../faq.rst:91 +#: ../../faq.rst:97 msgid "Putting both of these pieces of info together, you get the following: ::" msgstr "これらの情報をまとめると以下のようになります: ::" -#: ../../faq.rst:100 +#: ../../faq.rst:106 msgid "How do I send a message to a specific channel?" msgstr "特定のチャンネルにメッセージを送るにはどうすればいいですか。" -#: ../../faq.rst:102 -msgid "You must fetch the channel directly and then call the appropriate method. Example: ::" +#: ../../faq.rst:108 +msgid "" +"You must fetch the channel directly and then call the appropriate method." +" Example: ::" msgstr "チャンネルを直接取得してから、適切なメソッドの呼び出しを行う必要があります。以下がその例です。" -#: ../../faq.rst:108 +#: ../../faq.rst:114 +msgid "How do I send a DM?" +msgstr "" + +#: ../../faq.rst:116 +msgid "" +"Get the :class:`User` or :class:`Member` object and call " +":meth:`abc.Messageable.send`. For example: ::" +msgstr "" + +#: ../../faq.rst:121 +msgid "" +"If you are responding to an event, such as :func:`on_message`, you " +"already have the :class:`User` object via :attr:`Message.author`: ::" +msgstr "" + +#: ../../faq.rst:126 +#, fuzzy +msgid "How do I get the ID of a sent message?" +msgstr "元の ``message`` を取得するにはどうすればよいですか。" + +#: ../../faq.rst:128 +msgid "" +":meth:`abc.Messageable.send` returns the :class:`Message` that was sent. " +"The ID of a message can be accessed via :attr:`Message.id`: ::" +msgstr "" + +#: ../../faq.rst:135 msgid "How do I upload an image?" msgstr "画像をアップロードするにはどうすればいいですか。" -#: ../../faq.rst:110 +#: ../../faq.rst:137 msgid "To upload something to Discord you have to use the :class:`File` object." msgstr "Discordに何かをアップロードする際には :class:`File` オブジェクトを使用する必要があります。" -#: ../../faq.rst:112 -msgid "A :class:`File` accepts two parameters, the file-like object (or file path) and the filename to pass to Discord when uploading." +#: ../../faq.rst:139 +msgid "" +"A :class:`File` accepts two parameters, the file-like object (or file " +"path) and the filename to pass to Discord when uploading." msgstr ":class:`File` は二つのパラメータがあり、ファイルライクなオブジェクト(または、そのファイルパス)と、ファイル名を渡すことができます。" -#: ../../faq.rst:115 +#: ../../faq.rst:142 msgid "If you want to upload an image it's as simple as: ::" msgstr "画像をアップロードするだけなら、以下のように簡単に行なえます。" -#: ../../faq.rst:119 +#: ../../faq.rst:146 msgid "If you have a file-like object you can do as follows: ::" msgstr "もし、ファイルライクなオブジェクトがあるなら、以下のような実装が可能です。" -#: ../../faq.rst:124 -msgid "To upload multiple files, you can use the ``files`` keyword argument instead of ``file``\\: ::" +#: ../../faq.rst:151 +msgid "" +"To upload multiple files, you can use the ``files`` keyword argument " +"instead of ``file``\\: ::" msgstr "複数のファイルをアップロードするには、 ``file`` の代わりに ``files`` を使用しましょう。" -#: ../../faq.rst:132 -msgid "If you want to upload something from a URL, you will have to use an HTTP request using :doc:`aiohttp ` and then pass an :class:`io.BytesIO` instance to :class:`File` like so:" -msgstr "URLから何かをアップロードする場合は、 :doc:`aiohttp ` のHTTPリクエストを使用し、 :class:`io.BytesIO` インスタンスを :class:`File` にわたす必要があります。" +#: ../../faq.rst:159 +msgid "" +"If you want to upload something from a URL, you will have to use an HTTP " +"request using :doc:`aiohttp ` and then pass an " +":class:`io.BytesIO` instance to :class:`File` like so:" +msgstr "" +"URLから何かをアップロードする場合は、 :doc:`aiohttp ` のHTTPリクエストを使用し、 " +":class:`io.BytesIO` インスタンスを :class:`File` にわたす必要があります。" -#: ../../faq.rst:149 +#: ../../faq.rst:176 msgid "How can I add a reaction to a message?" msgstr "メッセージにリアクションをつけるにはどうすればいいですか。" -#: ../../faq.rst:151 +#: ../../faq.rst:178 msgid "You use the :meth:`Message.add_reaction` method." msgstr ":meth:`Client.add_reaction` を使用してください。" -#: ../../faq.rst:153 -msgid "If you want to use unicode emoji, you must pass a valid unicode code point in a string. In your code, you can write this in a few different ways:" +#: ../../faq.rst:180 +msgid "" +"If you want to use unicode emoji, you must pass a valid unicode code " +"point in a string. In your code, you can write this in a few different " +"ways:" msgstr "Unicodeの絵文字を使用する場合は、文字列内の有効なUnicodeのコードポイントを渡す必要があります。 例を挙げると、このようになります。" -#: ../../faq.rst:155 +#: ../../faq.rst:182 msgid "``'👍'``" msgstr "``'👍'``" -#: ../../faq.rst:156 +#: ../../faq.rst:183 msgid "``'\\U0001F44D'``" msgstr "``'\\U0001F44D'``" -#: ../../faq.rst:157 +#: ../../faq.rst:184 msgid "``'\\N{THUMBS UP SIGN}'``" msgstr "``'\\N{THUMBS UP SIGN}'``" -#: ../../faq.rst:159 -#: ../../faq.rst:175 -#: ../../faq.rst:250 -#: ../../faq.rst:266 -#: ../../faq.rst:286 +#: ../../faq.rst:186 ../../faq.rst:202 ../../faq.rst:277 ../../faq.rst:293 +#: ../../faq.rst:313 msgid "Quick example: ::" msgstr "簡単な例。" -#: ../../faq.rst:165 -msgid "In case you want to use emoji that come from a message, you already get their code points in the content without needing to do anything special. You **cannot** send ``':thumbsup:'`` style shorthands." -msgstr "メッセージから来た絵文字を使用したい場合は、特になにをするでもなく、コンテンツのコードポイントをあなたは取得しています。また、 ``':thumbsup:'`` のような簡略化したものを送信することは **できません** 。" +#: ../../faq.rst:192 +msgid "" +"In case you want to use emoji that come from a message, you already get " +"their code points in the content without needing to do anything special. " +"You **cannot** send ``':thumbsup:'`` style shorthands." +msgstr "" +"メッセージから来た絵文字を使用したい場合は、特になにをするでもなく、コンテンツのコードポイントをあなたは取得しています。また、 " +"``':thumbsup:'`` のような簡略化したものを送信することは **できません** 。" -#: ../../faq.rst:168 -msgid "For custom emoji, you should pass an instance of :class:`Emoji`. You can also pass a ``'<:name:id>'`` string, but if you can use said emoji, you should be able to use :meth:`Client.get_emoji` to get an emoji via ID or use :func:`utils.find`/ :func:`utils.get` on :attr:`Client.emojis` or :attr:`Guild.emojis` collections." -msgstr "カスタム絵文字については、:class:`Emoji`のインスタンスを渡すといいでしょう。``'<:名前:ID>'``形式の文字列も渡せますが、その絵文字が使えるなら、:meth:`Client.get_emoji`でIDから絵文字を取得したり、:attr:`Client.emojis` や :attr:`Guild.emojis`に対して:func:`utils.find`/ :func:`utils.get`を使ったりできるでしょう。" +#: ../../faq.rst:195 +msgid "" +"For custom emoji, you should pass an instance of :class:`Emoji`. You can " +"also pass a ``'<:name:id>'`` string, but if you can use said emoji, you " +"should be able to use :meth:`Client.get_emoji` to get an emoji via ID or " +"use :func:`utils.find`/ :func:`utils.get` on :attr:`Client.emojis` or " +":attr:`Guild.emojis` collections." +msgstr "" +"カスタム絵文字については、:class:`Emoji`のインスタンスを渡すといいでしょう。``'<:名前:ID>'``形式の文字列も渡せますが、その絵文字が使えるなら、:meth:`Client.get_emoji`でIDから絵文字を取得したり、:attr:`Client.emojis`" +" や :attr:`Guild.emojis`に対して:func:`utils.find`/ " +":func:`utils.get`を使ったりできるでしょう。" -#: ../../faq.rst:172 -msgid "The name and ID of a custom emoji can be found with the client by prefixing ``:custom_emoji:`` with a backslash. For example, sending the message ``\\:python3:`` with the client will result in ``<:python3:232720527448342530>``." +#: ../../faq.rst:199 +msgid "" +"The name and ID of a custom emoji can be found with the client by " +"prefixing ``:custom_emoji:`` with a backslash. For example, sending the " +"message ``\\:python3:`` with the client will result in " +"``<:python3:232720527448342530>``." msgstr "カスタム絵文字の名前とIDをクライアント側で知るには、``:カスタム絵文字:``の頭にバックスラッシュ(円記号)をつけます。たとえば、メッセージ``\\:python3:``を送信すると、結果は``<:python3:232720527448342530>``になります。" -#: ../../faq.rst:192 +#: ../../faq.rst:219 msgid "How do I pass a coroutine to the player's \"after\" function?" msgstr "どうやってコルーチンをプレイヤーの後処理に渡すのですか。" -#: ../../faq.rst:194 -msgid "The library's music player launches on a separate thread, ergo it does not execute inside a coroutine. This does not mean that it is not possible to call a coroutine in the ``after`` parameter. To do so you must pass a callable that wraps up a couple of aspects." -msgstr "ライブラリの音楽プレーヤーは別のスレッドで起動するもので、コルーチン内で実行されるものではありません。しかし、 ``after`` にコルーチンが渡せないというわけではありません。コルーチンを渡すためには、いくつかの機能を包括した呼び出し可能コードで渡す必要があります。" +#: ../../faq.rst:221 +msgid "" +"The library's music player launches on a separate thread, ergo it does " +"not execute inside a coroutine. This does not mean that it is not " +"possible to call a coroutine in the ``after`` parameter. To do so you " +"must pass a callable that wraps up a couple of aspects." +msgstr "" +"ライブラリの音楽プレーヤーは別のスレッドで起動するもので、コルーチン内で実行されるものではありません。しかし、 ``after`` " +"にコルーチンが渡せないというわけではありません。コルーチンを渡すためには、いくつかの機能を包括した呼び出し可能コードで渡す必要があります。" -#: ../../faq.rst:198 -msgid "The first gotcha that you must be aware of is that calling a coroutine is not a thread-safe operation. Since we are technically in another thread, we must take caution in calling thread-safe operations so things do not bug out. Luckily for us, :mod:`asyncio` comes with a :func:`asyncio.run_coroutine_threadsafe` function that allows us to call a coroutine from another thread." -msgstr "コルーチンを呼び出すという動作はスレッドセーフなものではないということを最初に理解しておく必要があります。技術的に別スレッドなので、スレッドセーフに呼び出す際には注意が必要です。幸運にも、 :mod:`asyncio` には :func:`asyncio.run_coroutine_threadsafe` という関数があります。これを用いることで、別スレッドからコルーチンを呼び出すことが可能です。" +#: ../../faq.rst:225 +msgid "" +"The first gotcha that you must be aware of is that calling a coroutine is" +" not a thread-safe operation. Since we are technically in another thread," +" we must take caution in calling thread-safe operations so things do not " +"bug out. Luckily for us, :mod:`asyncio` comes with a " +":func:`asyncio.run_coroutine_threadsafe` function that allows us to call " +"a coroutine from another thread." +msgstr "" +"コルーチンを呼び出すという動作はスレッドセーフなものではないということを最初に理解しておく必要があります。技術的に別スレッドなので、スレッドセーフに呼び出す際には注意が必要です。幸運にも、" +" :mod:`asyncio` には :func:`asyncio.run_coroutine_threadsafe` " +"という関数があります。これを用いることで、別スレッドからコルーチンを呼び出すことが可能です。" -#: ../../faq.rst:203 -msgid "However, this function returns a :class:`concurrent.Future` and to actually call it we have to fetch its result. Putting all of this together we can do the following: ::" -msgstr "しかし、この関数は :class:`concurrent.Future` を返すので、実際にはそこから結果を読み出す必要があります。これをすべてまとめると、次のことができます。" +#: ../../faq.rst:230 +msgid "" +"However, this function returns a :class:`concurrent.Future` and to " +"actually call it we have to fetch its result. Putting all of this " +"together we can do the following: ::" +msgstr "" +"しかし、この関数は :class:`concurrent.Future` " +"を返すので、実際にはそこから結果を読み出す必要があります。これをすべてまとめると、次のことができます。" -#: ../../faq.rst:218 +#: ../../faq.rst:245 msgid "How do I run something in the background?" msgstr "バックグラウンドで何かを動かすにはどうすればいいですか。" -#: ../../faq.rst:220 -msgid "`Check the background_task.py example. `_" -msgstr "`background_task.pyの例を参照してください。 `_" +#: ../../faq.rst:247 +msgid "" +"`Check the background_task.py example. " +"`_" +msgstr "" +"`background_task.pyの例を参照してください。 " +"`_" -#: ../../faq.rst:223 +#: ../../faq.rst:250 msgid "How do I get a specific model?" msgstr "特定のユーザー、役割、チャンネル、サーバを取得するにはどうすればいいですか。" -#: ../../faq.rst:225 -msgid "There are multiple ways of doing this. If you have a specific model's ID then you can use one of the following functions:" +#: ../../faq.rst:252 +msgid "" +"There are multiple ways of doing this. If you have a specific model's ID " +"then you can use one of the following functions:" msgstr "方法は複数ありますが、特定のモデルのIDがわかっていれば、以下の方法が使えます。" -#: ../../faq.rst:228 +#: ../../faq.rst:255 msgid ":meth:`Client.get_channel`" msgstr ":meth:`Client.get_channel`" -#: ../../faq.rst:229 +#: ../../faq.rst:256 msgid ":meth:`Client.get_guild`" msgstr ":meth:`Client.get_guild`" -#: ../../faq.rst:230 +#: ../../faq.rst:257 msgid ":meth:`Client.get_user`" msgstr ":meth:`Client.get_user`" -#: ../../faq.rst:231 +#: ../../faq.rst:258 msgid ":meth:`Client.get_emoji`" msgstr ":meth:`Client.get_emoji`" -#: ../../faq.rst:232 +#: ../../faq.rst:259 msgid ":meth:`Guild.get_member`" msgstr ":meth:`Guild.get_member`" -#: ../../faq.rst:233 +#: ../../faq.rst:260 msgid ":meth:`Guild.get_channel`" msgstr ":meth:`Guild.get_channel`" -#: ../../faq.rst:234 +#: ../../faq.rst:261 msgid ":meth:`Guild.get_role`" msgstr ":meth:`Guild.get_role`" -#: ../../faq.rst:236 +#: ../../faq.rst:263 msgid "The following use an HTTP request:" msgstr "以下の例ではHTTPリクエストを使用します。" -#: ../../faq.rst:238 +#: ../../faq.rst:265 msgid ":meth:`abc.Messageable.fetch_message`" msgstr ":meth:`abc.Messageable.fetch_message`" -#: ../../faq.rst:239 +#: ../../faq.rst:266 msgid ":meth:`Client.fetch_user`" msgstr ":meth:`Client.fetch_user`" -#: ../../faq.rst:240 +#: ../../faq.rst:267 msgid ":meth:`Client.fetch_guilds`" msgstr ":meth:`Client.fetch_guilds`" -#: ../../faq.rst:241 +#: ../../faq.rst:268 msgid ":meth:`Client.fetch_guild`" msgstr ":meth:`Client.fetch_guild`" -#: ../../faq.rst:242 +#: ../../faq.rst:269 msgid ":meth:`Guild.fetch_emoji`" msgstr ":meth:`Guild.fetch_emoji`" -#: ../../faq.rst:243 +#: ../../faq.rst:270 msgid ":meth:`Guild.fetch_emojis`" msgstr ":meth:`Guild.fetch_emojis`" -#: ../../faq.rst:244 +#: ../../faq.rst:271 msgid ":meth:`Guild.fetch_member`" msgstr ":meth:`Guild.fetch_member`" -#: ../../faq.rst:247 -msgid "If the functions above do not help you, then use of :func:`utils.find` or :func:`utils.get` would serve some use in finding specific models." +#: ../../faq.rst:274 +msgid "" +"If the functions above do not help you, then use of :func:`utils.find` or" +" :func:`utils.get` would serve some use in finding specific models." msgstr "上記の関数を使えない状況の場合、 :func:`utils.find` または :func:`utils.get` が役に立つでしょう。" -#: ../../faq.rst:261 +#: ../../faq.rst:288 msgid "How do I make a web request?" msgstr "Webリクエストはどうやって作ればよいですか。" -#: ../../faq.rst:263 -msgid "To make a request, you should use a non-blocking library. This library already uses and requires a 3rd party library for making requests, ``aiohttp``." -msgstr "リクエストを送るには、ノンブロッキングのライブラリを使わなければなりません。このライブラリは、リクエストを作成するのにサードパーティー製の ``aiohttp`` を必要とします。" +#: ../../faq.rst:290 +msgid "" +"To make a request, you should use a non-blocking library. This library " +"already uses and requires a 3rd party library for making requests, " +"``aiohttp``." +msgstr "" +"リクエストを送るには、ノンブロッキングのライブラリを使わなければなりません。このライブラリは、リクエストを作成するのにサードパーティー製の " +"``aiohttp`` を必要とします。" -#: ../../faq.rst:273 -msgid "See `aiohttp's full documentation `_ for more information." -msgstr "詳細は `aiohttpの完全なドキュメント `_ を参照してください。" +#: ../../faq.rst:300 +msgid "" +"See `aiohttp's full documentation " +"`_ for more information." +msgstr "" +"詳細は `aiohttpの完全なドキュメント `_ " +"を参照してください。" -#: ../../faq.rst:276 +#: ../../faq.rst:303 msgid "How do I use a local image file for an embed image?" msgstr "Embedの画像にローカルの画像を使用するにはどうすればいいですか。" -#: ../../faq.rst:278 -msgid "Discord special-cases uploading an image attachment and using it within an embed so that it will not display separately, but instead in the embed's thumbnail, image, footer or author icon." +#: ../../faq.rst:305 +msgid "" +"Discord special-cases uploading an image attachment and using it within " +"an embed so that it will not display separately, but instead in the " +"embed's thumbnail, image, footer or author icon." msgstr "特殊なケースとして、画像が別々に表示されないようDiscordにembedを用いてアップロードする際、画像は代わりにembedのサムネイルや画像、フッター、製作者アイコンに表示されます。" -#: ../../faq.rst:281 -msgid "To do so, upload the image normally with :meth:`abc.Messageable.send`, and set the embed's image URL to ``attachment://image.png``, where ``image.png`` is the filename of the image you will send." -msgstr "これを行うには、通常通り :meth:`abc.Messageable.send` を用いて画像をアップロードし、Embedの画像URLに ``attachment://image.png`` を設定します。このとき ``image.png`` は送信したい画像のファイル名にです。" +#: ../../faq.rst:308 +msgid "" +"To do so, upload the image normally with :meth:`abc.Messageable.send`, " +"and set the embed's image URL to ``attachment://image.png``, where " +"``image.png`` is the filename of the image you will send." +msgstr "" +"これを行うには、通常通り :meth:`abc.Messageable.send` を用いて画像をアップロードし、Embedの画像URLに " +"``attachment://image.png`` を設定します。このとき ``image.png`` は送信したい画像のファイル名にです。" -#: ../../faq.rst:295 +#: ../../faq.rst:322 msgid "Due to a Discord limitation, filenames may not include underscores." msgstr "Discord側の制限により、ファイル名にアンダースコアが含まれていない場合があります。" -#: ../../faq.rst:298 -msgid "Is there an event for invites or audit log entries being created?" +#: ../../faq.rst:325 +#, fuzzy +msgid "Is there an event for audit log entries being created?" msgstr "招待、または監査ログのエントリが作成されるイベントはありますか。" -#: ../../faq.rst:300 -msgid "Since Discord does not dispatch this information in the gateway, the library cannot provide this information. This is currently a Discord limitation." +#: ../../faq.rst:327 +msgid "" +"Since Discord does not dispatch this information in the gateway, the " +"library cannot provide this information. This is currently a Discord " +"limitation." msgstr "Discordはゲートウェイでこの情報をディスパッチしないため、ライブラリによってこの情報を提供することはできません。これは現在、Discord側の制限です。" -#: ../../faq.rst:304 +#: ../../faq.rst:331 msgid "Commands Extension" msgstr "コマンド拡張" -#: ../../faq.rst:306 +#: ../../faq.rst:333 msgid "Questions regarding ``discord.ext.commands`` belong here." msgstr "``discord.ext.commands`` に関する質問。" -#: ../../faq.rst:309 +#: ../../faq.rst:336 msgid "Why does ``on_message`` make my commands stop working?" msgstr "``on_message`` を使うとコマンドが動作しなくなります。どうしてですか。" -#: ../../faq.rst:311 -msgid "Overriding the default provided ``on_message`` forbids any extra commands from running. To fix this, add a ``bot.process_commands(message)`` line at the end of your ``on_message``. For example: ::" -msgstr "デフォルトで提供されている ``on_message`` をオーバーライドすると、コマンドが実行されなくなります。これを修正するには ``on_message`` の最後に ``bot.process_commands(message)`` を追加してみてください。" +#: ../../faq.rst:338 +msgid "" +"Overriding the default provided ``on_message`` forbids any extra commands" +" from running. To fix this, add a ``bot.process_commands(message)`` line " +"at the end of your ``on_message``. For example: ::" +msgstr "" +"デフォルトで提供されている ``on_message`` をオーバーライドすると、コマンドが実行されなくなります。これを修正するには " +"``on_message`` の最後に ``bot.process_commands(message)`` を追加してみてください。" -#: ../../faq.rst:321 +#: ../../faq.rst:347 +msgid "" +"Alternatively, you can place your ``on_message`` logic into a " +"**listener**. In this setup, you should not manually call " +"``bot.process_commands()``. This also allows you to do multiple things " +"asynchronously in response to a message. Example::" +msgstr "" + +#: ../../faq.rst:357 msgid "Why do my arguments require quotes?" msgstr "コマンドの引数にクォーテーションが必要なのはなぜですか。" -#: ../../faq.rst:323 +#: ../../faq.rst:359 msgid "In a simple command defined as: ::" msgstr "次の簡単なコマンドを見てみましょう。" -#: ../../faq.rst:329 -msgid "Calling it via ``?echo a b c`` will only fetch the first argument and disregard the rest. To fix this you should either call it via ``?echo \"a b c\"`` or change the signature to have \"consume rest\" behaviour. Example: ::" -msgstr "このコマンドを ``?echo a b c`` のように実行したとき、コマンドに渡されるのは最初の引数だけです。その後の引数はすべて無視されます。これを正常に動かすためには ``?echo \"a b c\"`` のようにしてコマンドを実行するか、コマンドの引数を下記の例のようにしてみましょう" +#: ../../faq.rst:365 +msgid "" +"Calling it via ``?echo a b c`` will only fetch the first argument and " +"disregard the rest. To fix this you should either call it via ``?echo \"a" +" b c\"`` or change the signature to have \"consume rest\" behaviour. " +"Example: ::" +msgstr "" +"このコマンドを ``?echo a b c`` " +"のように実行したとき、コマンドに渡されるのは最初の引数だけです。その後の引数はすべて無視されます。これを正常に動かすためには ``?echo " +"\"a b c\"`` のようにしてコマンドを実行するか、コマンドの引数を下記の例のようにしてみましょう" -#: ../../faq.rst:336 +#: ../../faq.rst:372 msgid "This will allow you to use ``?echo a b c`` without needing the quotes." msgstr "これにより、クォーテーションなしで ``?echo a b c`` を使用することができます。" -#: ../../faq.rst:339 +#: ../../faq.rst:375 msgid "How do I get the original ``message``\\?" msgstr "元の ``message`` を取得するにはどうすればよいですか。" -#: ../../faq.rst:341 -msgid "The :class:`~ext.commands.Context` contains an attribute, :attr:`~.Context.message` to get the original message." -msgstr ":class:`~ext.commands.Context` は元のメッセージを取得するための属性である :attr:`~.Context.message` を持っています。" +#: ../../faq.rst:377 +msgid "" +"The :class:`~ext.commands.Context` contains an attribute, " +":attr:`~.Context.message` to get the original message." +msgstr "" +":class:`~ext.commands.Context` は元のメッセージを取得するための属性である " +":attr:`~.Context.message` を持っています。" -#: ../../faq.rst:344 -#: ../../faq.rst:356 +#: ../../faq.rst:380 ../../faq.rst:392 msgid "Example: ::" msgstr "例:" -#: ../../faq.rst:351 +#: ../../faq.rst:387 msgid "How do I make a subcommand?" msgstr "サブコマンドを作るにはどうすればいいですか。" -#: ../../faq.rst:353 -msgid "Use the ``group`` decorator. This will transform the callback into a ``Group`` which will allow you to add commands into the group operating as \"subcommands\". These groups can be arbitrarily nested as well." -msgstr "``group`` デコレータを使います。これにより、コールバックが ``Group`` に変換され、groupに「サブコマンド」として動作するコマンドを追加できます。これらのグループは、ネストすることもできます。" +#: ../../faq.rst:389 +msgid "" +"Use the ``group`` decorator. This will transform the callback into a " +"``Group`` which will allow you to add commands into the group operating " +"as \"subcommands\". These groups can be arbitrarily nested as well." +msgstr "" +"``group`` デコレータを使います。これにより、コールバックが ``Group`` " +"に変換され、groupに「サブコマンド」として動作するコマンドを追加できます。これらのグループは、ネストすることもできます。" -#: ../../faq.rst:367 +#: ../../faq.rst:403 msgid "This could then be used as ``?git push origin master``." msgstr "これは ``?git push origin master`` のように使うことができます。" diff --git a/docs/locale/ja/LC_MESSAGES/index.po b/docs/locale/ja/LC_MESSAGES/index.po index c25b6ef39..45e368fb6 100644 --- a/docs/locale/ja/LC_MESSAGES/index.po +++ b/docs/locale/ja/LC_MESSAGES/index.po @@ -1,27 +1,27 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: index.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../index.rst:7 msgid "Welcome to discord.py" msgstr "discord.py へようこそ。" #: ../../index.rst:11 -msgid "discord.py is a modern, easy to use, feature-rich, and async ready API wrapper for Discord." +msgid "" +"discord.py is a modern, easy to use, feature-rich, and async ready API " +"wrapper for Discord." msgstr "discord.py は機能豊富かつモダンで使いやすい、非同期処理にも対応したDiscord用のAPIラッパーです。" #: ../../index.rst:14 @@ -64,19 +64,20 @@ msgstr "拡張機能" msgid "Additional Information" msgstr "追加情報" -#: ../../index.rst:56 -msgid "If you still can't find what you're looking for, try in one of the following pages:" +#: ../../index.rst:57 +msgid "" +"If you still can't find what you're looking for, try in one of the " +"following pages:" msgstr "探しているものが見つからない場合は、以下のページを試してください。" -#: ../../index.rst:58 +#: ../../index.rst:59 msgid ":ref:`genindex`" msgstr ":ref:`genindex`" -#: ../../index.rst:59 -msgid ":ref:`modindex`" -msgstr ":ref:`modindex`" - #: ../../index.rst:60 msgid ":ref:`search`" msgstr ":ref:`search`" +#~ msgid ":ref:`modindex`" +#~ msgstr ":ref:`modindex`" + diff --git a/docs/locale/ja/LC_MESSAGES/intents.po b/docs/locale/ja/LC_MESSAGES/intents.po new file mode 100644 index 000000000..5a4cbd7a3 --- /dev/null +++ b/docs/locale/ja/LC_MESSAGES/intents.po @@ -0,0 +1,430 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2015-2020, Rapptz +# This file is distributed under the same license as the discord.py package. +# FIRST AUTHOR , 2020. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: discord.py 1.5.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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" + +#: ../../intents.rst:6 +msgid "A Primer to Gateway Intents" +msgstr "" + +#: ../../intents.rst:8 +msgid "" +"In version 1.5 comes the introduction of :class:`Intents`. This is a " +"radical change in how bots are written. An intent basically allows a bot " +"to subscribe into specific buckets of events. The events that correspond " +"to each intent is documented in the individual attribute of the " +":class:`Intents` documentation." +msgstr "" + +#: ../../intents.rst:10 +msgid "" +"These intents are passed to the constructor of :class:`Client` or its " +"subclasses (:class:`AutoShardedClient`, :class:`~.AutoShardedBot`, " +":class:`~.Bot`) with the ``intents`` argument." +msgstr "" + +#: ../../intents.rst:12 +msgid "" +"If intents are not passed, then the library defaults to every intent " +"being enabled except the privileged intents, currently " +":attr:`Intents.members` and :attr:`Intents.presences`." +msgstr "" + +#: ../../intents.rst:15 +msgid "What intents are needed?" +msgstr "" + +#: ../../intents.rst:17 +msgid "" +"The intents that are necessary for your bot can only be dictated by " +"yourself. Each attribute in the :class:`Intents` class documents what " +":ref:`events ` it corresponds to and what kind of " +"cache it enables." +msgstr "" + +#: ../../intents.rst:19 +msgid "" +"For example, if you want a bot that functions without spammy events like " +"presences or typing then we could do the following:" +msgstr "" + +#: ../../intents.rst:34 +msgid "" +"Note that this doesn't enable :attr:`Intents.members` since it's a " +"privileged intent." +msgstr "" + +#: ../../intents.rst:36 +msgid "" +"Another example showing a bot that only deals with messages and guild " +"information:" +msgstr "" + +#: ../../intents.rst:54 +msgid "Privileged Intents" +msgstr "" + +#: ../../intents.rst:56 +msgid "" +"With the API change requiring bot authors to specify intents, some " +"intents were restricted further and require more manual steps. These " +"intents are called **privileged intents**." +msgstr "" + +#: ../../intents.rst:58 +msgid "" +"A privileged intent is one that requires you to go to the developer " +"portal and manually enable it. To enable privileged intents do the " +"following:" +msgstr "" + +#: ../../intents.rst:60 +msgid "" +"Make sure you're logged on to the `Discord website " +"`_." +msgstr "" + +#: ../../intents.rst:61 +msgid "" +"Navigate to the `application page " +"`_" +msgstr "" + +#: ../../intents.rst:62 +msgid "Click on the bot you want to enable privileged intents for." +msgstr "" + +#: ../../intents.rst:63 +msgid "Navigate to the bot tab on the left side of the screen." +msgstr "" + +#: ../../intents.rst:68 +msgid "" +"Scroll down to the \"Privileged Gateway Intents\" section and enable the " +"ones you want." +msgstr "" + +#: ../../intents.rst:75 +msgid "" +"Enabling privileged intents when your bot is in over 100 guilds requires " +"going through `bot verification `_. If your bot is already verified and you " +"would like to enable a privileged intent you must go through `discord " +"support `_ and talk to them about it." +msgstr "" + +#: ../../intents.rst:79 +msgid "" +"Even if you enable intents through the developer portal, you still have " +"to enable the intents through code as well." +msgstr "" + +#: ../../intents.rst:83 +msgid "Do I need privileged intents?" +msgstr "" + +#: ../../intents.rst:85 +msgid "This is a quick checklist to see if you need specific privileged intents." +msgstr "" + +#: ../../intents.rst:90 +msgid "Presence Intent" +msgstr "" + +#: ../../intents.rst:92 +msgid "Whether you use :attr:`Member.status` at all to track member statuses." +msgstr "" + +#: ../../intents.rst:93 +msgid "" +"Whether you use :attr:`Member.activity` or :attr:`Member.activities` to " +"check member's activities." +msgstr "" + +#: ../../intents.rst:98 +msgid "Member Intent" +msgstr "" + +#: ../../intents.rst:100 +msgid "" +"Whether you track member joins or member leaves, corresponds to " +":func:`on_member_join` and :func:`on_member_remove` events." +msgstr "" + +#: ../../intents.rst:101 +msgid "Whether you want to track member updates such as nickname or role changes." +msgstr "" + +#: ../../intents.rst:102 +msgid "" +"Whether you want to track user updates such as usernames, avatars, " +"discriminators, etc." +msgstr "" + +#: ../../intents.rst:103 +msgid "" +"Whether you want to request the guild member list through " +":meth:`Guild.chunk` or :meth:`Guild.fetch_members`." +msgstr "" + +#: ../../intents.rst:104 +msgid "Whether you want high accuracy member cache under :attr:`Guild.members`." +msgstr "" + +#: ../../intents.rst:109 +msgid "Member Cache" +msgstr "" + +#: ../../intents.rst:111 +msgid "" +"Along with intents, Discord now further restricts the ability to cache " +"members and expects bot authors to cache as little as is necessary. " +"However, to properly maintain a cache the :attr:`Intents.members` intent " +"is required in order to track the members who left and properly evict " +"them." +msgstr "" + +#: ../../intents.rst:113 +msgid "" +"To aid with member cache where we don't need members to be cached, the " +"library now has a :class:`MemberCacheFlags` flag to control the member " +"cache. The documentation page for the class goes over the specific " +"policies that are possible." +msgstr "" + +#: ../../intents.rst:115 +msgid "" +"It should be noted that certain things do not need a member cache since " +"Discord will provide full member information if possible. For example:" +msgstr "" + +#: ../../intents.rst:117 +msgid "" +":func:`on_message` will have :attr:`Message.author` be a member even if " +"cache is disabled." +msgstr "" + +#: ../../intents.rst:118 +msgid "" +":func:`on_voice_state_update` will have the ``member`` parameter be a " +"member even if cache is disabled." +msgstr "" + +#: ../../intents.rst:119 +msgid "" +":func:`on_reaction_add` will have the ``user`` parameter be a member even" +" if cache is disabled." +msgstr "" + +#: ../../intents.rst:120 +msgid "" +":func:`on_raw_reaction_add` will have " +":attr:`RawReactionActionEvent.member` be a member even if cache is " +"disabled." +msgstr "" + +#: ../../intents.rst:121 +msgid "" +"The reaction removal events do not have the member information. This is a" +" Discord limitation." +msgstr "" + +#: ../../intents.rst:123 +msgid "" +"Other events that take a :class:`Member` will require the use of the " +"member cache. If absolute accuracy over the member cache is desirable, " +"then it is advisable to have the :attr:`Intents.members` intent enabled." +msgstr "" + +#: ../../intents.rst:128 +msgid "Retrieving Members" +msgstr "" + +#: ../../intents.rst:130 +msgid "" +"If cache is disabled or you disable chunking guilds at startup, we might " +"still need a way to load members. The library offers a few ways to do " +"this:" +msgstr "" + +#: ../../intents.rst:134 +msgid ":meth:`Guild.query_members`" +msgstr "" + +#: ../../intents.rst:133 +msgid "Used to query members by a prefix matching nickname or username." +msgstr "" + +#: ../../intents.rst:134 +msgid "This can also be used to query members by their user ID." +msgstr "" + +#: ../../intents.rst:135 +msgid "This uses the gateway and not the HTTP." +msgstr "" + +#: ../../intents.rst:136 +msgid ":meth:`Guild.chunk`" +msgstr "" + +#: ../../intents.rst:137 +msgid "This can be used to fetch the entire member list through the gateway." +msgstr "" + +#: ../../intents.rst:138 +msgid ":meth:`Guild.fetch_member`" +msgstr "" + +#: ../../intents.rst:139 +msgid "Used to fetch a member by ID through the HTTP API." +msgstr "" + +#: ../../intents.rst:141 +msgid ":meth:`Guild.fetch_members`" +msgstr "" + +#: ../../intents.rst:141 +msgid "used to fetch a large number of members through the HTTP API." +msgstr "" + +#: ../../intents.rst:143 +msgid "" +"It should be noted that the gateway has a strict rate limit of 120 " +"requests per 60 seconds." +msgstr "" + +#: ../../intents.rst:146 +msgid "Troubleshooting" +msgstr "" + +#: ../../intents.rst:148 +msgid "Some common issues relating to the mandatory intent change." +msgstr "" + +#: ../../intents.rst:151 +msgid "Where'd my members go?" +msgstr "" + +#: ../../intents.rst:153 +msgid "" +"Due to an :ref:`API change ` Discord is now forcing" +" developers who want member caching to explicitly opt-in to it. This is a" +" Discord mandated change and there is no way to bypass it. In order to " +"get members back you have to explicitly enable the :ref:`members " +"privileged intent ` and change the " +":attr:`Intents.members` attribute to true." +msgstr "" + +#: ../../intents.rst:155 +msgid "For example:" +msgstr "" + +#: ../../intents.rst:170 +msgid "Why does ``on_ready`` take so long to fire?" +msgstr "" + +#: ../../intents.rst:172 +msgid "" +"As part of the API change regarding intents, Discord also changed how " +"members are loaded in the beginning. Originally the library could request" +" 75 guilds at once and only request members from guilds that have the " +":attr:`Guild.large` attribute set to ``True``. With the new intent " +"changes, Discord mandates that we can only send 1 guild per request. This" +" causes a 75x slowdown which is further compounded by the fact that *all*" +" guilds, not just large guilds are being requested." +msgstr "" + +#: ../../intents.rst:174 +msgid "There are a few solutions to fix this." +msgstr "" + +#: ../../intents.rst:176 +msgid "" +"The first solution is to request the privileged presences intent along " +"with the privileged members intent and enable both of them. This allows " +"the initial member list to contain online members just like the old " +"gateway. Note that we're still limited to 1 guild per request but the " +"number of guilds we request is significantly reduced." +msgstr "" + +#: ../../intents.rst:178 +msgid "" +"The second solution is to disable member chunking by setting " +"``chunk_guilds_at_startup`` to ``False`` when constructing a client. " +"Then, when chunking for a guild is necessary you can use the various " +"techniques to :ref:`retrieve members `." +msgstr "" + +#: ../../intents.rst:180 +msgid "" +"To illustrate the slowdown caused the API change, take a bot who is in " +"840 guilds and 95 of these guilds are \"large\" (over 250 members)." +msgstr "" + +#: ../../intents.rst:182 +msgid "" +"Under the original system this would result in 2 requests to fetch the " +"member list (75 guilds, 20 guilds) roughly taking 60 seconds. With " +":attr:`Intents.members` but not :attr:`Intents.presences` this requires " +"840 requests, with a rate limit of 120 requests per 60 seconds means that" +" due to waiting for the rate limit it totals to around 7 minutes of " +"waiting for the rate limit to fetch all the members. With both " +":attr:`Intents.members` and :attr:`Intents.presences` we mostly get the " +"old behaviour so we're only required to request for the 95 guilds that " +"are large, this is slightly less than our rate limit so it's close to the" +" original timing to fetch the member list." +msgstr "" + +#: ../../intents.rst:184 +msgid "" +"Unfortunately due to this change being required from Discord there is " +"nothing that the library can do to mitigate this." +msgstr "" + +#: ../../intents.rst:187 +msgid "I don't like this, can I go back?" +msgstr "" + +#: ../../intents.rst:189 +msgid "" +"For now, the old gateway will still work so downgrading to discord.py " +"v1.4 is still possible and will continue to be supported until Discord " +"officially kills the v6 gateway, which is imminent. However it is " +"paramount that for the future of your bot that you upgrade your code to " +"the new way things are done." +msgstr "" + +#: ../../intents.rst:191 +msgid "To downgrade you can do the following:" +msgstr "" + +#: ../../intents.rst:197 +msgid "On Windows use ``py -3`` instead of ``python3``." +msgstr "" + +#: ../../intents.rst:201 +msgid "" +"There is no currently set date in which the old gateway will stop working" +" so it is recommended to update your code instead." +msgstr "" + +#: ../../intents.rst:203 +msgid "" +"If you truly dislike the direction Discord is going with their API, you " +"can contact them via `support `_" +msgstr "" + diff --git a/docs/locale/ja/LC_MESSAGES/intro.po b/docs/locale/ja/LC_MESSAGES/intro.po index e8399bd3f..d41af2bdd 100644 --- a/docs/locale/ja/LC_MESSAGES/intro.po +++ b/docs/locale/ja/LC_MESSAGES/intro.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: intro.pot\n" +"X-Crowdin-File-ID: 80\n" "Language: ja_JP\n" #: ../../intro.rst:6 diff --git a/docs/locale/ja/LC_MESSAGES/logging.po b/docs/locale/ja/LC_MESSAGES/logging.po index e23fa2c85..85cc2f89f 100644 --- a/docs/locale/ja/LC_MESSAGES/logging.po +++ b/docs/locale/ja/LC_MESSAGES/logging.po @@ -1,46 +1,77 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: logging.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../logging.rst:5 msgid "Setting Up Logging" msgstr "ログの設定" #: ../../logging.rst:7 -msgid "*discord.py* logs errors and debug information via the :mod:`logging` python module. It is strongly recommended that the logging module is configured, as no errors or warnings will be output if it is not set up. Configuration of the ``logging`` module can be as simple as::" -msgstr "*discord.py* はPythonの :mod:`logging` モジュールを介してエラーやデバッグの情報を記録します。loggingモジュールが設定されていない場合は、エラーや警告が出力されないため、設定するとを強くおすすめします。loggingモジュールの設定は下記手順で簡単に実装が可能です。" +msgid "" +"*discord.py* logs errors and debug information via the :mod:`logging` " +"python module. It is strongly recommended that the logging module is " +"configured, as no errors or warnings will be output if it is not set up. " +"Configuration of the ``logging`` module can be as simple as::" +msgstr "" +"*discord.py* はPythonの :mod:`logging` " +"モジュールを介してエラーやデバッグの情報を記録します。loggingモジュールが設定されていない場合は、エラーや警告が出力されないため、設定するとを強くおすすめします。loggingモジュールの設定は下記手順で簡単に実装が可能です。" #: ../../logging.rst:16 -msgid "Placed at the start of the application. This will output the logs from discord as well as other libraries that uses the ``logging`` module directly to the console." -msgstr "アプリケーションの始めにこれを書き加えるだけです。これはdiscordからのログを ``logging`` モジュールを用いた他のライブラリ同様、コンソールに出力します。" +#, fuzzy +msgid "" +"Placed at the start of the application. This will output the logs from " +"discord as well as other libraries that use the ``logging`` module " +"directly to the console." +msgstr "" +"アプリケーションの始めにこれを書き加えるだけです。これはdiscordからのログを ``logging`` " +"モジュールを用いた他のライブラリ同様、コンソールに出力します。" #: ../../logging.rst:20 -msgid "The optional ``level`` argument specifies what level of events to log out and can any of ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, and ``DEBUG`` and if not specified defaults to ``WARNING``." -msgstr "オプションである ``level`` の引数は出力するイベントのレベルを指定するためのもので、 ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO`` そして ``DEBUG`` を指定することが可能です。指定されていない場合はデフォルトである ``WARNING`` に設定されます。" +#, fuzzy +msgid "" +"The optional ``level`` argument specifies what level of events to log out" +" and can be any of ``CRITICAL``, ``ERROR``, ``WARNING``, ``INFO``, and " +"``DEBUG`` and if not specified defaults to ``WARNING``." +msgstr "" +"オプションである ``level`` の引数は出力するイベントのレベルを指定するためのもので、 ``CRITICAL``, ``ERROR``, " +"``WARNING``, ``INFO`` そして ``DEBUG`` を指定することが可能です。指定されていない場合はデフォルトである " +"``WARNING`` に設定されます。" #: ../../logging.rst:24 -msgid "More advance setups are possible with the :mod:`logging` module. To for example write the logs to a file called ``discord.log`` instead of outputting them to to the console the following snippet can be used::" -msgstr "また、 :mod:`logging` モジュールでは更に高度な設定が可能です。たとえば、コンソールへ出力するのではなく、 ``discord.log`` というファイルにログを出力するには、以下のスニペットが利用できます。" +#, fuzzy +msgid "" +"More advanced setups are possible with the :mod:`logging` module. For " +"example to write the logs to a file called ``discord.log`` instead of " +"outputting them to the console the following snippet can be used::" +msgstr "" +"また、 :mod:`logging` モジュールでは更に高度な設定が可能です。たとえば、コンソールへ出力するのではなく、 " +"``discord.log`` というファイルにログを出力するには、以下のスニペットが利用できます。" #: ../../logging.rst:37 -msgid "This is recommended, especially at verbose levels such as ``INFO``, and ``DEBUG`` as there are a lot of events logged and it would clog the stdout of your program." -msgstr "特に、 ``INFO`` や ``DEBUG`` といった冗長なイベントレベルを設定している場合、プログラムの標準出力をつまらせてしまう原因になるため、ファイルへの出力が推奨されます。" +#, fuzzy +msgid "" +"This is recommended, especially at verbose levels such as ``INFO`` and " +"``DEBUG``, as there are a lot of events logged and it would clog the " +"stdout of your program." +msgstr "" +"特に、 ``INFO`` や ``DEBUG`` " +"といった冗長なイベントレベルを設定している場合、プログラムの標準出力をつまらせてしまう原因になるため、ファイルへの出力が推奨されます。" #: ../../logging.rst:43 -msgid "For more information, check the documentation and tutorial of the :mod:`logging` module." +msgid "" +"For more information, check the documentation and tutorial of the " +":mod:`logging` module." msgstr "詳細は、:mod:`logging` モジュールのドキュメントを参照してください。" diff --git a/docs/locale/ja/LC_MESSAGES/migrating.po b/docs/locale/ja/LC_MESSAGES/migrating.po index d447452b7..0327ce5e9 100644 --- a/docs/locale/ja/LC_MESSAGES/migrating.po +++ b/docs/locale/ja/LC_MESSAGES/migrating.po @@ -1,44 +1,60 @@ + msgid "" msgstr "" -"Project-Id-Version: discordpy\n" +"Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" +"Language: ja_JP\n" "Language-Team: Japanese\n" +"Plural-Forms: nplurals=1; plural=0\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" -"X-Crowdin-Project: discordpy\n" -"X-Crowdin-Language: ja\n" -"X-Crowdin-File: migrating.pot\n" -"Language: ja_JP\n" +"Generated-By: Babel 2.5.3\n" #: ../../migrating.rst:6 msgid "Migrating to v1.0" msgstr "v1.0への移行" #: ../../migrating.rst:8 -msgid "v1.0 is one of the biggest breaking changes in the library due to a complete redesign." +msgid "" +"v1.0 is one of the biggest breaking changes in the library due to a " +"complete redesign." msgstr "v1.0 では完全な書き直しが行われたため,このライブラリにおけるもっとも大きな更新のひとつといえます。" #: ../../migrating.rst:11 -msgid "The amount of changes are so massive and long that for all intents and purposes, it is a completely new library." +msgid "" +"The amount of changes are so massive and long that for all intents and " +"purposes, it is a completely new library." 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 requiring a :class:`Client` instance to do any work." -msgstr "一部の書き換えは,より使いやすく自然に物事を表現するために行われています。あらゆる仕事をするのに :class:`Client` インスタンスを要求するのではなく,代わりに :ref:`models ` を用いることができるようになりました。" +msgid "" +"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 ` " +"を用いることができるようになりました。" #: ../../migrating.rst:18 msgid "Python Version Change" 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**." -msgstr "discord.py の開発をより簡単にし,またその依存関係にあるライブラリをアップグレードして Python 3.7 以上を使えるようにするために,discord.py は Python 3.5.3 より古いバージョンに対するサポートを諦めざるを得ませんでした。これはつまり **Python 3.4 に対するサポートは打ち切られた** ということです。" +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**." +msgstr "" +"discord.py の開発をより簡単にし,またその依存関係にあるライブラリをアップグレードして Python 3.7 " +"以上を使えるようにするために,discord.py は Python 3.5.3 " +"より古いバージョンに対するサポートを諦めざるを得ませんでした。これはつまり **Python 3.4 に対するサポートは打ち切られた** " +"ということです。" #: ../../migrating.rst:25 msgid "Major Model Changes" @@ -53,138 +69,153 @@ msgid "Snowflakes are int" msgstr "Snowflakeのint型への変更" #: ../../migrating.rst:32 -msgid "Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has been changed to :class:`int`." -msgstr "v1.0以前は、全てのsnowflake (``id`` 属性) が文字列として扱われていましたが、これは :class:`int` 型に変更されました。" +msgid "" +"Before v1.0, all snowflakes (the ``id`` attribute) were strings. This has" +" been changed to :class:`int`." +msgstr "" +"v1.0以前は、全てのsnowflake (``id`` 属性) が文字列として扱われていましたが、これは :class:`int` " +"型に変更されました。" -#: ../../migrating.rst:34 -#: ../../migrating.rst:254 +#: ../../migrating.rst:34 ../../migrating.rst:254 msgid "Quick example: ::" 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." -msgstr "この変更により,公式クライアントの「 ID をコピー」機能を使用した際に間違いがより起こりにくくなりました。もはや取得した ID をクォーテーションマークで囲う必要はありませんし,内部で JSON の代わりに ETF を用いることで最適化の機会を得ることにもなります。" +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." +msgstr "" +"この変更により,公式クライアントの「 ID をコピー」機能を使用した際に間違いがより起こりにくくなりました。もはや取得した ID " +"をクォーテーションマークで囲う必要はありませんし,内部で JSON の代わりに ETF を用いることで最適化の機会を得ることにもなります。" #: ../../migrating.rst:50 msgid "Server is now Guild" msgstr "Server から Guild に変更" #: ../../migrating.rst:52 -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." -msgstr "公式のAPIドキュメントでは、「Server」は「Guild」と呼ばれています。APIドキュメントとの一貫性を保つため、モデルの名称が :class:`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." +msgstr "" +"公式のAPIドキュメントでは、「Server」は「Guild」と呼ばれています。APIドキュメントとの一貫性を保つため、モデルの名称が " +":class:`Guild` へ変更されました。同時にこのモデルを参照するすべてのインスタンスも変更されています。" #: ../../migrating.rst:56 msgid "A list of changes is as follows:" msgstr "変更点の一覧" -#: ../../migrating.rst:59 -#: ../../migrating.rst:95 -#: ../../migrating.rst:869 +#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:869 msgid "Before" msgstr "変更前" -#: ../../migrating.rst:59 -#: ../../migrating.rst:95 -#: ../../migrating.rst:869 +#: ../../migrating.rst:59 ../../migrating.rst:95 ../../migrating.rst:869 msgid "After" msgstr "変更後" #: ../../migrating.rst:61 msgid "``Message.server``" -msgstr "" +msgstr "``Message.server``" #: ../../migrating.rst:61 msgid ":attr:`Message.guild`" -msgstr "" +msgstr ":attr:`Message.guild`" #: ../../migrating.rst:63 msgid "``Channel.server``" -msgstr "" +msgstr "``Channel.server``" #: ../../migrating.rst:63 msgid ":attr:`.GuildChannel.guild`" -msgstr "" +msgstr ":attr:`.GuildChannel.guild`" #: ../../migrating.rst:65 msgid "``Client.servers``" -msgstr "" +msgstr "``Client.servers``" -#: ../../migrating.rst:65 -#: ../../migrating.rst:233 +#: ../../migrating.rst:65 ../../migrating.rst:233 msgid ":attr:`Client.guilds`" -msgstr "" +msgstr ":attr:`Client.guilds`" #: ../../migrating.rst:67 msgid "``Client.get_server``" -msgstr "" +msgstr "``Client.get_server``" #: ../../migrating.rst:67 msgid ":meth:`Client.get_guild`" -msgstr "" +msgstr ":meth:`Client.get_guild`" #: ../../migrating.rst:69 msgid "``Emoji.server``" -msgstr "" +msgstr "``Emoji.server``" #: ../../migrating.rst:69 msgid ":attr:`Emoji.guild`" -msgstr "" +msgstr ":attr:`Emoji.guild`" #: ../../migrating.rst:71 msgid "``Role.server``" -msgstr "" +msgstr "``Role.server``" #: ../../migrating.rst:71 msgid ":attr:`Role.guild`" -msgstr "" +msgstr ":attr:`Role.guild`" #: ../../migrating.rst:73 msgid "``Invite.server``" -msgstr "" +msgstr "``Invite.server``" #: ../../migrating.rst:73 msgid ":attr:`Invite.guild`" -msgstr "" +msgstr ":attr:`Invite.guild`" #: ../../migrating.rst:75 msgid "``Member.server``" -msgstr "" +msgstr "``Member.server``" #: ../../migrating.rst:75 msgid ":attr:`Member.guild`" -msgstr "" +msgstr ":attr:`Member.guild`" #: ../../migrating.rst:77 msgid "``Permissions.manage_server``" -msgstr "" +msgstr "``Permissions.manage_server``" #: ../../migrating.rst:77 msgid ":attr:`Permissions.manage_guild`" -msgstr "" +msgstr ":attr:`Permissions.manage_guild`" #: ../../migrating.rst:79 msgid "``VoiceClient.server``" -msgstr "" +msgstr "``VoiceClient.server``" #: ../../migrating.rst:79 msgid ":attr:`VoiceClient.guild`" -msgstr "" +msgstr ":attr:`VoiceClient.guild`" #: ../../migrating.rst:81 msgid "``Client.create_server``" -msgstr "" +msgstr "``Client.create_server``" #: ../../migrating.rst:81 msgid ":meth:`Client.create_guild`" -msgstr "" +msgstr ":meth:`Client.create_guild`" #: ../../migrating.rst:87 msgid "Models are Stateful" msgstr "モデルのステートフル化" #: ../../migrating.rst:89 -msgid "As mentioned earlier, a lot of functionality was moved out of :class:`Client` and put into their respective :ref:`model `." -msgstr "前述したように、多くの機能が :class:`Client` から各々の :ref:`model ` へと移されました。" +msgid "" +"As mentioned earlier, a lot of functionality was moved out of " +":class:`Client` and put into their respective :ref:`model " +"`." +msgstr "" +"前述したように、多くの機能が :class:`Client` から各々の :ref:`model ` " +"へと移されました。" #: ../../migrating.rst:92 msgid "A list of these changes is enumerated below." @@ -192,23 +223,23 @@ msgstr "以下が、これによる変更点の一覧です。" #: ../../migrating.rst:97 msgid "``Client.add_reaction``" -msgstr "" +msgstr "``Client.add_reaction``" #: ../../migrating.rst:97 msgid ":meth:`Message.add_reaction`" -msgstr "" +msgstr ":meth:`Message.add_reaction`" #: ../../migrating.rst:99 msgid "``Client.add_roles``" -msgstr "" +msgstr "``Client.add_roles``" #: ../../migrating.rst:99 msgid ":meth:`Member.add_roles`" -msgstr "" +msgstr ":meth:`Member.add_roles`" #: ../../migrating.rst:101 msgid "``Client.ban``" -msgstr "" +msgstr "``Client.ban``" #: ../../migrating.rst:101 msgid ":meth:`Member.ban` or :meth:`Guild.ban`" @@ -216,26 +247,24 @@ msgstr ":meth:`Member.ban` または :meth:`Guild.ban`" #: ../../migrating.rst:103 msgid "``Client.change_nickname``" -msgstr "" +msgstr "``Client.change_nickname``" -#: ../../migrating.rst:103 -#: ../../migrating.rst:171 -#: ../../migrating.rst:187 +#: ../../migrating.rst:103 ../../migrating.rst:171 ../../migrating.rst:187 #: ../../migrating.rst:195 msgid ":meth:`Member.edit`" -msgstr "" +msgstr ":meth:`Member.edit`" #: ../../migrating.rst:105 msgid "``Client.clear_reactions``" -msgstr "" +msgstr "``Client.clear_reactions``" #: ../../migrating.rst:105 msgid ":meth:`Message.clear_reactions`" -msgstr "" +msgstr ":meth:`Message.clear_reactions`" #: ../../migrating.rst:107 msgid "``Client.create_channel``" -msgstr "" +msgstr "``Client.create_channel``" #: ../../migrating.rst:107 msgid ":meth:`Guild.create_text_channel` and :meth:`Guild.create_voice_channel`" @@ -243,55 +272,59 @@ msgstr ":meth:`Guild.create_text_channel` および :meth:`Guild.create_voice_ch #: ../../migrating.rst:109 msgid "``Client.create_custom_emoji``" -msgstr "" +msgstr "``Client.create_custom_emoji``" #: ../../migrating.rst:109 msgid ":meth:`Guild.create_custom_emoji`" -msgstr "" +msgstr ":meth:`Guild.create_custom_emoji`" #: ../../migrating.rst:111 msgid "``Client.create_invite``" -msgstr "" +msgstr "``Client.create_invite``" #: ../../migrating.rst:111 msgid ":meth:`abc.GuildChannel.create_invite`" -msgstr "" +msgstr ":meth:`abc.GuildChannel.create_invite`" #: ../../migrating.rst:113 msgid "``Client.create_role``" -msgstr "" +msgstr "``Client.create_role``" #: ../../migrating.rst:113 msgid ":meth:`Guild.create_role`" -msgstr "" +msgstr ":meth:`Guild.create_role`" #: ../../migrating.rst:115 msgid "``Client.delete_channel``" -msgstr "" +msgstr "``Client.delete_channel``" #: ../../migrating.rst:115 msgid ":meth:`abc.GuildChannel.delete`" -msgstr "" +msgstr ":meth:`abc.GuildChannel.delete`" #: ../../migrating.rst:117 msgid "``Client.delete_channel_permissions``" -msgstr "" +msgstr "``Client.delete_channel_permissions``" #: ../../migrating.rst:117 -msgid ":meth:`abc.GuildChannel.set_permissions` with ``overwrite`` set to ``None``" -msgstr ":meth:`abc.GuildChannel.set_permissions` の ``overwrite`` を ``None`` に設定しました" +msgid "" +":meth:`abc.GuildChannel.set_permissions` with ``overwrite`` set to " +"``None``" +msgstr "" +":meth:`abc.GuildChannel.set_permissions` の ``overwrite`` を ``None`` " +"に設定しました" #: ../../migrating.rst:119 msgid "``Client.delete_custom_emoji``" -msgstr "" +msgstr "``Client.delete_custom_emoji``" #: ../../migrating.rst:119 msgid ":meth:`Emoji.delete`" -msgstr "" +msgstr ":meth:`Emoji.delete`" #: ../../migrating.rst:121 msgid "``Client.delete_invite``" -msgstr "" +msgstr "``Client.delete_invite``" #: ../../migrating.rst:121 msgid ":meth:`Invite.delete` or :meth:`Client.delete_invite`" @@ -299,72 +332,71 @@ msgstr ":meth:`Invite.delete` または :meth:`Client.delete_invite`" #: ../../migrating.rst:123 msgid "``Client.delete_message``" -msgstr "" +msgstr "``Client.delete_message``" #: ../../migrating.rst:123 msgid ":meth:`Message.delete`" -msgstr "" +msgstr ":meth:`Message.delete`" #: ../../migrating.rst:125 msgid "``Client.delete_messages``" -msgstr "" +msgstr "``Client.delete_messages``" #: ../../migrating.rst:125 msgid ":meth:`TextChannel.delete_messages`" -msgstr "" +msgstr ":meth:`TextChannel.delete_messages`" #: ../../migrating.rst:127 msgid "``Client.delete_role``" -msgstr "" +msgstr "``Client.delete_role``" #: ../../migrating.rst:127 msgid ":meth:`Role.delete`" -msgstr "" +msgstr ":meth:`Role.delete`" #: ../../migrating.rst:129 msgid "``Client.delete_server``" -msgstr "" +msgstr "``Client.delete_server``" #: ../../migrating.rst:129 msgid ":meth:`Guild.delete`" -msgstr "" +msgstr ":meth:`Guild.delete`" #: ../../migrating.rst:131 msgid "``Client.edit_channel``" -msgstr "" +msgstr "``Client.edit_channel``" -#: ../../migrating.rst:131 -#: ../../migrating.rst:169 +#: ../../migrating.rst:131 ../../migrating.rst:169 msgid ":meth:`TextChannel.edit` or :meth:`VoiceChannel.edit`" msgstr ":meth:`TextChannel.edit` または :meth:`VoiceChannel.edit`" #: ../../migrating.rst:133 msgid "``Client.edit_channel_permissions``" -msgstr "" +msgstr "``Client.edit_channel_permissions``" #: ../../migrating.rst:133 msgid ":meth:`abc.GuildChannel.set_permissions`" -msgstr "" +msgstr ":meth:`abc.GuildChannel.set_permissions`" #: ../../migrating.rst:135 msgid "``Client.edit_custom_emoji``" -msgstr "" +msgstr "``Client.edit_custom_emoji``" #: ../../migrating.rst:135 msgid ":meth:`Emoji.edit`" -msgstr "" +msgstr ":meth:`Emoji.edit`" #: ../../migrating.rst:137 msgid "``Client.edit_message``" -msgstr "" +msgstr "``Client.edit_message``" #: ../../migrating.rst:137 msgid ":meth:`Message.edit`" -msgstr "" +msgstr ":meth:`Message.edit`" #: ../../migrating.rst:139 msgid "``Client.edit_profile``" -msgstr "" +msgstr "``Client.edit_profile``" #: ../../migrating.rst:139 msgid ":meth:`ClientUser.edit` (you get this from :attr:`Client.user`)" @@ -372,82 +404,79 @@ msgstr ":meth:`ClientUser.edit` ( :attr:`Client.user` から取得可能)" #: ../../migrating.rst:141 msgid "``Client.edit_role``" -msgstr "" +msgstr "``Client.edit_role``" -#: ../../migrating.rst:141 -#: ../../migrating.rst:173 +#: ../../migrating.rst:141 ../../migrating.rst:173 msgid ":meth:`Role.edit`" -msgstr "" +msgstr ":meth:`Role.edit`" #: ../../migrating.rst:143 msgid "``Client.edit_server``" -msgstr "" +msgstr "``Client.edit_server``" #: ../../migrating.rst:143 msgid ":meth:`Guild.edit`" -msgstr "" +msgstr ":meth:`Guild.edit`" #: ../../migrating.rst:145 msgid "``Client.estimate_pruned_members``" -msgstr "" +msgstr "``Client.estimate_pruned_members``" #: ../../migrating.rst:145 msgid ":meth:`Guild.estimate_pruned_members`" -msgstr "" +msgstr ":meth:`Guild.estimate_pruned_members`" -#: ../../migrating.rst:147 -#: ../../migrating.rst:327 +#: ../../migrating.rst:147 ../../migrating.rst:327 msgid "``Client.get_all_emojis``" -msgstr "" +msgstr "``Client.get_all_emojis``" #: ../../migrating.rst:147 msgid ":attr:`Client.emojis`" -msgstr "" +msgstr ":attr:`Client.emojis`" #: ../../migrating.rst:149 msgid "``Client.get_bans``" -msgstr "" +msgstr "``Client.get_bans``" #: ../../migrating.rst:149 msgid ":meth:`Guild.bans`" -msgstr "" +msgstr ":meth:`Guild.bans`" #: ../../migrating.rst:151 msgid "``Client.get_invite``" -msgstr "" +msgstr "``Client.get_invite``" #: ../../migrating.rst:151 msgid ":meth:`Client.fetch_invite`" -msgstr "" +msgstr ":meth:`Client.fetch_invite`" #: ../../migrating.rst:153 msgid "``Client.get_message``" -msgstr "" +msgstr "``Client.get_message``" #: ../../migrating.rst:153 msgid ":meth:`abc.Messageable.fetch_message`" -msgstr "" +msgstr ":meth:`abc.Messageable.fetch_message`" #: ../../migrating.rst:155 msgid "``Client.get_reaction_users``" -msgstr "" +msgstr "``Client.get_reaction_users``" -#: ../../migrating.rst:155 -#: ../../migrating.rst:493 +#: ../../migrating.rst:155 ../../migrating.rst:493 msgid ":meth:`Reaction.users`" -msgstr "" +msgstr ":meth:`Reaction.users`" #: ../../migrating.rst:157 msgid "``Client.get_user_info``" -msgstr "" +msgstr "``Client.get_user_info``" #: ../../migrating.rst:157 msgid ":meth:`Client.fetch_user`" -msgstr "" +msgstr ":meth:`Client.fetch_user`" #: ../../migrating.rst:159 msgid "``Client.invites_from``" -msgstr "" +msgstr "``Client.invites_from``" #: ../../migrating.rst:159 msgid ":meth:`abc.GuildChannel.invites` or :meth:`Guild.invites`" @@ -455,7 +484,7 @@ msgstr ":meth:`abc.GuildChannel.invites` または :meth:`Guild.invites`" #: ../../migrating.rst:161 msgid "``Client.join_voice_channel``" -msgstr "" +msgstr "``Client.join_voice_channel``" #: ../../migrating.rst:161 msgid ":meth:`VoiceChannel.connect` (see :ref:`migrating_1_0_voice`)" @@ -463,7 +492,7 @@ msgstr ":meth:`VoiceChannel.connect` ( :ref:`migrating_1_0_voice` を参照)" #: ../../migrating.rst:163 msgid "``Client.kick``" -msgstr "" +msgstr "``Client.kick``" #: ../../migrating.rst:163 msgid ":meth:`Guild.kick` or :meth:`Member.kick`" @@ -471,15 +500,15 @@ msgstr ":meth:`Guild.kick` または :meth:`Member.kick`" #: ../../migrating.rst:165 msgid "``Client.leave_server``" -msgstr "" +msgstr "``Client.leave_server``" #: ../../migrating.rst:165 msgid ":meth:`Guild.leave`" -msgstr "" +msgstr ":meth:`Guild.leave`" #: ../../migrating.rst:167 msgid "``Client.logs_from``" -msgstr "" +msgstr "``Client.logs_from``" #: ../../migrating.rst:167 msgid ":meth:`abc.Messageable.history` (see :ref:`migrating_1_0_async_iter`)" @@ -487,104 +516,107 @@ msgstr ":meth:`abc.Messageable.history` ( :ref:`migrating_1_0_async_iter` を参 #: ../../migrating.rst:169 msgid "``Client.move_channel``" -msgstr "" +msgstr "``Client.move_channel``" #: ../../migrating.rst:171 msgid "``Client.move_member``" -msgstr "" +msgstr "``Client.move_member``" #: ../../migrating.rst:173 msgid "``Client.move_role``" -msgstr "" +msgstr "``Client.move_role``" #: ../../migrating.rst:175 msgid "``Client.pin_message``" -msgstr "" +msgstr "``Client.pin_message``" #: ../../migrating.rst:175 msgid ":meth:`Message.pin`" -msgstr "" +msgstr ":meth:`Message.pin`" #: ../../migrating.rst:177 msgid "``Client.pins_from``" -msgstr "" +msgstr "``Client.pins_from``" #: ../../migrating.rst:177 msgid ":meth:`abc.Messageable.pins`" -msgstr "" +msgstr ":meth:`abc.Messageable.pins`" #: ../../migrating.rst:179 msgid "``Client.prune_members``" -msgstr "" +msgstr "``Client.prune_members``" #: ../../migrating.rst:179 msgid ":meth:`Guild.prune_members`" -msgstr "" +msgstr ":meth:`Guild.prune_members`" #: ../../migrating.rst:181 msgid "``Client.purge_from``" -msgstr "" +msgstr "``Client.purge_from``" #: ../../migrating.rst:181 msgid ":meth:`TextChannel.purge`" -msgstr "" +msgstr ":meth:`TextChannel.purge`" #: ../../migrating.rst:183 msgid "``Client.remove_reaction``" -msgstr "" +msgstr "``Client.remove_reaction``" #: ../../migrating.rst:183 msgid ":meth:`Message.remove_reaction`" -msgstr "" +msgstr ":meth:`Message.remove_reaction`" #: ../../migrating.rst:185 msgid "``Client.remove_roles``" -msgstr "" +msgstr "``Client.remove_roles``" #: ../../migrating.rst:185 msgid ":meth:`Member.remove_roles`" -msgstr "" +msgstr ":meth:`Member.remove_roles`" #: ../../migrating.rst:187 msgid "``Client.replace_roles``" -msgstr "" +msgstr "``Client.replace_roles``" #: ../../migrating.rst:189 msgid "``Client.send_file``" -msgstr "" +msgstr "``Client.send_file``" -#: ../../migrating.rst:189 -#: ../../migrating.rst:191 +#: ../../migrating.rst:189 ../../migrating.rst:191 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:191 msgid "``Client.send_message``" -msgstr "" +msgstr "``Client.send_message``" #: ../../migrating.rst:193 msgid "``Client.send_typing``" -msgstr "" +msgstr "``Client.send_typing``" #: ../../migrating.rst:193 -msgid ":meth:`abc.Messageable.trigger_typing` (use :meth:`abc.Messageable.typing`)" -msgstr ":meth:`abc.Messageable.trigger_typing` (:meth:`abc.Messageable.typing` を使用してください)" +msgid "" +":meth:`abc.Messageable.trigger_typing` (use " +":meth:`abc.Messageable.typing`)" +msgstr "" +":meth:`abc.Messageable.trigger_typing` (:meth:`abc.Messageable.typing` " +"を使用してください)" #: ../../migrating.rst:195 msgid "``Client.server_voice_state``" -msgstr "" +msgstr "``Client.server_voice_state``" #: ../../migrating.rst:197 msgid "``Client.start_private_message``" -msgstr "" +msgstr "``Client.start_private_message``" #: ../../migrating.rst:197 msgid ":meth:`User.create_dm`" -msgstr "" +msgstr ":meth:`User.create_dm`" #: ../../migrating.rst:199 msgid "``Client.unban``" -msgstr "" +msgstr "``Client.unban``" #: ../../migrating.rst:199 msgid ":meth:`Guild.unban` or :meth:`Member.unban`" @@ -592,28 +624,27 @@ msgstr ":meth:`Guild.unban` または :meth:`Member.unban`" #: ../../migrating.rst:201 msgid "``Client.unpin_message``" -msgstr "" +msgstr "``Client.unpin_message``" #: ../../migrating.rst:201 msgid ":meth:`Message.unpin`" -msgstr "" +msgstr ":meth:`Message.unpin`" #: ../../migrating.rst:203 msgid "``Client.wait_for_message``" -msgstr "" +msgstr "``Client.wait_for_message``" -#: ../../migrating.rst:203 -#: ../../migrating.rst:205 +#: ../../migrating.rst:203 ../../migrating.rst:205 msgid ":meth:`Client.wait_for` (see :ref:`migrating_1_0_wait_for`)" msgstr ":meth:`Client.wait_for` ( :ref:`migrating_1_0_wait_for` を参照)" #: ../../migrating.rst:205 msgid "``Client.wait_for_reaction``" -msgstr "" +msgstr "``Client.wait_for_reaction``" #: ../../migrating.rst:207 msgid "``Client.wait_until_login``" -msgstr "" +msgstr "``Client.wait_until_login``" #: ../../migrating.rst:207 msgid "Removed" @@ -621,7 +652,7 @@ msgstr "削除されました" #: ../../migrating.rst:209 msgid "``Client.wait_until_ready``" -msgstr "" +msgstr "``Client.wait_until_ready``" #: ../../migrating.rst:209 msgid "No change" @@ -632,35 +663,44 @@ msgid "Property Changes" msgstr "プロパティの変更" #: ../../migrating.rst:215 -msgid "In order to be a bit more consistent, certain things that were properties were changed to methods instead." +msgid "" +"In order to be a bit more consistent, certain things that were properties" +" were changed to methods instead." msgstr "一貫性を持たせるために、いくつかのプロパティがメソッドに変更されました。" #: ../../migrating.rst:217 -msgid "The following are now methods instead of properties (requires parentheses):" +msgid "" +"The following are now methods instead of properties (requires " +"parentheses):" msgstr "プロパティの代わりに追加されたメソッドは以下のとおりです。(使用の際にはカッコが必要です)" #: ../../migrating.rst:219 msgid ":meth:`Role.is_default`" -msgstr "" +msgstr ":meth:`Role.is_default`" #: ../../migrating.rst:220 msgid ":meth:`Client.is_ready`" -msgstr "" +msgstr ":meth:`Client.is_ready`" #: ../../migrating.rst:221 msgid ":meth:`Client.is_closed`" -msgstr "" +msgstr ":meth:`Client.is_closed`" #: ../../migrating.rst:224 msgid "Dict Value Change" msgstr "辞書の値の変更" #: ../../migrating.rst:226 -msgid "Prior to v1.0 some aggregating properties that retrieved models would return \"dict view\" objects." +msgid "" +"Prior to v1.0 some aggregating properties that retrieved models would " +"return \"dict view\" objects." msgstr "v1.0以前では、複数のモデルを集約して取得するプロパティは「辞書ビュー」オブジェクトで結果を返していました。" #: ../../migrating.rst:228 -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." +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を発生させてタスクをクラッシュさせていました。これを軽減させるため「辞書ビュー」オブジェクトはリストに変更されました。" #: ../../migrating.rst:231 @@ -677,7 +717,7 @@ msgstr ":attr:`Client.emojis` (v1.0にて追加)" #: ../../migrating.rst:236 msgid ":attr:`Guild.channels`" -msgstr "" +msgstr ":attr:`Guild.channels`" #: ../../migrating.rst:237 msgid ":attr:`Guild.text_channels` (new in v1.0)" @@ -689,50 +729,86 @@ msgstr ":attr:`Guild.voice_channels` (v1.0にて追加)" #: ../../migrating.rst:239 msgid ":attr:`Guild.emojis`" -msgstr "" +msgstr ":attr:`Guild.emojis`" #: ../../migrating.rst:240 msgid ":attr:`Guild.members`" -msgstr "" +msgstr ":attr:`Guild.members`" #: ../../migrating.rst:243 msgid "Voice State Changes" msgstr "ボイスステートの変更" #: ../../migrating.rst:245 -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." -msgstr "v0.11.0では、ボイスステートを参照するために :class:`VoiceState` が追加され、このクラスを参照するために :attr:`Member.voice` が使われていました。" +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." +msgstr "" +"v0.11.0では、ボイスステートを参照するために :class:`VoiceState` が追加され、このクラスを参照するために " +":attr:`Member.voice` が使われていました。" #: ../../migrating.rst:248 -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." +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." msgstr "これはユーザーにとって透過的なものでしたが、ライブラリがメモリを節約できるようボイスステートの変化が可視的になりました。" #: ../../migrating.rst:251 -msgid "The only way to access voice attributes is via the :attr:`Member.voice` attribute. Note that if the member does not have a voice state this attribute can be ``None``." -msgstr "ボイスの属性にアクセスするには :attr:`Member.voice` を用いる方法しか存在しません。メンバーがボイスステートを持たない場合は ``None`` が返ることに注意してください。" +msgid "" +"The only way to access voice attributes is via the :attr:`Member.voice` " +"attribute. Note that if the member does not have a voice state this " +"attribute can be ``None``." +msgstr "" +"ボイスの属性にアクセスするには :attr:`Member.voice` を用いる方法しか存在しません。メンバーがボイスステートを持たない場合は " +"``None`` が返ることに注意してください。" #: ../../migrating.rst:267 msgid "User and Member Type Split" msgstr "ユーザーとメンバーの分離" #: ../../migrating.rst:269 -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 :func:`isinstance` checks and thus is something to keep in mind." +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 " +":func:`isinstance` checks and thus is something to keep in mind." msgstr "" +"v1.0では、メモリの節約のため、 :class:`Member` は :class:`User` のサブクラスではなくなりました。代わりに、 " +":class:`User` " +"に記述されたものと同等のプロパティを実装することで、この二つのクラスはフラット化されています。そのため、使用方法に機能的変更はありません。ただし、" +" :func:`isinstance` が使えなくなってしまったことは留意しておくべきです。" #: ../../migrating.rst:273 -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 :attr:`Client.users`." -msgstr "メモリの節約は、グローバルな :class:`User` のキャッシュを持つことで実現しました。これによって :meth:`Client.get_user` を使ってIDから簡単に :class:`User` を取得できます。また、あなたのクライアントが見ることができるユーザーを :attr:`Client.users` ですべて取得できるようにもなりました。" +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 " +":attr:`Client.users`." +msgstr "" +"メモリの節約は、グローバルな :class:`User` のキャッシュを持つことで実現しました。これによって " +":meth:`Client.get_user` を使ってIDから簡単に :class:`User` " +"を取得できます。また、あなたのクライアントが見ることができるユーザーを :attr:`Client.users` " +"ですべて取得できるようにもなりました。" #: ../../migrating.rst:280 msgid "Channel Type Split" msgstr "チャンネルタイプの分割" #: ../../migrating.rst:282 -msgid "Prior to v1.0, channels were two different types, ``Channel`` and ``PrivateChannel`` with a ``is_private`` property to help differentiate between them." -msgstr "v1.0以前のバージョンでは、チャンネルは ``is_private`` で判別する ``Channel`` と ``PrivateChannel`` の二通りしかありませんでした。" +msgid "" +"Prior to v1.0, channels were two different types, ``Channel`` and " +"``PrivateChannel`` with a ``is_private`` property to help differentiate " +"between them." +msgstr "" +"v1.0以前のバージョンでは、チャンネルは ``is_private`` で判別する ``Channel`` と " +"``PrivateChannel`` の二通りしかありませんでした。" #: ../../migrating.rst:285 -msgid "In order to save memory the channels have been split into 4 different types:" +msgid "" +"In order to save memory the channels have been split into 4 different " +"types:" msgstr "メモリ使用量を削減するため、チャンネルを4つのタイプへ分割しました。" #: ../../migrating.rst:287 @@ -752,8 +828,12 @@ msgid ":class:`GroupChannel` for Group DM channels with members." msgstr "メンバーが参加するグループDMチャンネル用である :class:`GroupChannel` 。" #: ../../migrating.rst:292 -msgid "With this split came the removal of the ``is_private`` attribute. You should now use :func:`isinstance`." +msgid "" +"With this split came the removal of the ``is_private`` attribute. You " +"should now use :func:`isinstance`." msgstr "" +"これらに分割されたことにより、 ``is_private`` は削除されました。v1.0では :func:`isinstance` " +"を使うべきでしょう。" #: ../../migrating.rst:294 msgid "The types are split into two different :ref:`discord_api_abcs`:" @@ -776,12 +856,18 @@ msgid "And to check if it's a private channel you would do: ::" msgstr "チャンネルがプライベートチャンネルであるかをチェックしたい場合:" #: ../../migrating.rst:307 -msgid "Of course, if you're looking for only a specific type you can pass that too, e.g. ::" +msgid "" +"Of course, if you're looking for only a specific type you can pass that " +"too, e.g. ::" msgstr "もちろん、特定のチャンネルタイプを探したい場合、そのチャンネルタイプを渡すことも可能です。" #: ../../migrating.rst:311 -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` に詳細があります。" +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` " +"に詳細があります。" #: ../../migrating.rst:315 msgid "Miscellaneous Model Changes" @@ -812,8 +898,9 @@ msgid "Use :attr:`Client.emojis` instead." msgstr "代わりに :attr:`Client.emojis` を使用してください。" #: ../../migrating.rst:331 -msgid "` ``Client.messages``" -msgstr "" +#, fuzzy +msgid "``Client.messages``" +msgstr "` ``Client.messages``" #: ../../migrating.rst:333 msgid "Use read-only :attr:`Client.cached_messages` instead." @@ -829,7 +916,7 @@ msgstr "代わりに :meth:`Client.wait_for` を使用してください。" #: ../../migrating.rst:339 msgid "``Channel.voice_members``" -msgstr "" +msgstr "``Channel.voice_members``" #: ../../migrating.rst:341 msgid "Use :attr:`VoiceChannel.members` instead." @@ -837,35 +924,52 @@ msgstr "代わりに :attr:`VoiceChannel.members` を使用してください。 #: ../../migrating.rst:343 msgid "``Channel.is_private``" -msgstr "" +msgstr "``Channel.is_private``" #: ../../migrating.rst:345 -msgid "Use ``isinstance`` instead with one of the :ref:`discord_api_abcs` instead." +msgid "" +"Use ``isinstance`` instead with one of the :ref:`discord_api_abcs` " +"instead." msgstr "代わりに ``isinstance`` と :ref:`discord_api_abcs` を使用してください。" #: ../../migrating.rst:346 -msgid "e.g. ``isinstance(channel, discord.abc.GuildChannel)`` will check if it isn't a private channel." -msgstr "例を挙げると ``isinstance(channel, discord.abc.GuildChannel)`` でプライベートチャンネルであるかを確認できます。" +msgid "" +"e.g. ``isinstance(channel, discord.abc.GuildChannel)`` will check if it " +"isn't a private channel." +msgstr "" +"例を挙げると ``isinstance(channel, discord.abc.GuildChannel)`` " +"でプライベートチャンネルであるかを確認できます。" #: ../../migrating.rst:348 msgid "``Client.accept_invite``" -msgstr "" +msgstr "``Client.accept_invite``" #: ../../migrating.rst:350 -msgid "There is no replacement for this one. This functionality is deprecated API wise." +msgid "" +"There is no replacement for this one. This functionality is deprecated " +"API wise." msgstr "これに代わるものはありません。これは非推奨のAPIです。" #: ../../migrating.rst:352 -msgid "``Guild.default_channel`` / ``Server.default_channel`` and ``Channel.is_default``" -msgstr "``Guild.default_channel`` / ``Server.default_channel`` および ``Channel.is_default``" +msgid "" +"``Guild.default_channel`` / ``Server.default_channel`` and " +"``Channel.is_default``" +msgstr "" +"``Guild.default_channel`` / ``Server.default_channel`` および " +"``Channel.is_default``" #: ../../migrating.rst:354 -msgid "The concept of a default channel was removed from Discord. See `#329 `_." -msgstr "デフォルトチャンネルの概念は、Discordから削除されました。 `#329 `_ を参照してください。" +msgid "" +"The concept of a default channel was removed from Discord. See `#329 " +"`_." +msgstr "" +"デフォルトチャンネルの概念は、Discordから削除されました。 `#329 " +"`_ " +"を参照してください。" #: ../../migrating.rst:357 msgid "``Message.edited_timestamp``" -msgstr "" +msgstr "``Message.edited_timestamp``" #: ../../migrating.rst:359 msgid "Use :attr:`Message.edited_at` instead." @@ -873,7 +977,7 @@ msgstr "代わりに :attr:`Message.edited_at` を使用してください。" #: ../../migrating.rst:361 msgid "``Message.timestamp``" -msgstr "" +msgstr "``Message.timestamp``" #: ../../migrating.rst:363 msgid "Use :attr:`Message.created_at` instead." @@ -881,7 +985,7 @@ msgstr "代わりに :attr:`Message.created_at` を使用してください。" #: ../../migrating.rst:365 msgid "``Colour.to_tuple()``" -msgstr "" +msgstr "``Colour.to_tuple()``" #: ../../migrating.rst:367 msgid "Use :meth:`Colour.to_rgb` instead." @@ -889,7 +993,7 @@ msgstr "代わりに :meth:`Colour.to_rgb` を使用してください。" #: ../../migrating.rst:369 msgid "``Permissions.view_audit_logs``" -msgstr "" +msgstr "``Permissions.view_audit_logs``" #: ../../migrating.rst:371 msgid "Use :attr:`Permissions.view_audit_log` instead." @@ -897,7 +1001,7 @@ msgstr "代わりに :attr:`Permissions.view_audit_log` を使用してくださ #: ../../migrating.rst:373 msgid "``Member.game``" -msgstr "" +msgstr "``Member.game``" #: ../../migrating.rst:375 msgid "Use :attr:`Member.activities` instead." @@ -905,30 +1009,48 @@ msgstr "代わりに :attr:`Member.activities` 使用してください。" #: ../../migrating.rst:377 msgid "``Guild.role_hierarchy`` / ``Server.role_hierarchy``" -msgstr "" +msgstr "``Guild.role_hierarchy`` / ``Server.role_hierarchy``" #: ../../migrating.rst:379 -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 "代わりに :attr:`Guild.roles` を使用してください。ソート順が以前の ``Guild.role_hierarchy`` とは逆になっていることに注意してください。" +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 "" +"代わりに :attr:`Guild.roles` を使用してください。ソート順が以前の ``Guild.role_hierarchy`` " +"とは逆になっていることに注意してください。" #: ../../migrating.rst:382 msgid "**Changed**" msgstr "**変更**" #: ../../migrating.rst:384 -msgid ":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` はアバターが設定されていなければ、デフォルトアバターが返るようになりました。" +msgid "" +":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:385 -msgid ":attr:`Message.embeds` is now a list of :class:`Embed` instead of :class:`dict` objects." +msgid "" +":attr:`Message.embeds` is now a list of :class:`Embed` instead of " +":class:`dict` objects." msgstr "" +":attr:`Message.embeds` は :class:`dict` オブジェクトから :class:`Embed` " +"のリストに変更されました。" #: ../../migrating.rst:386 -msgid ":attr:`Message.attachments` is now a list of :class:`Attachment` instead of :class:`dict` object." +msgid "" +":attr:`Message.attachments` is now a list of :class:`Attachment` instead " +"of :class:`dict` object." msgstr "" +":attr:`Message.attachments` は :class:`dict` オブジェクトから :class:`Attachment` " +"のリストに変更されました。" #: ../../migrating.rst:387 -msgid ":attr:`Guild.roles` is now sorted through hierarchy. The first element is always the ``@everyone`` role." +msgid "" +":attr:`Guild.roles` is now sorted through hierarchy. The first element is" +" always the ``@everyone`` role." msgstr ":attr:`Guild.roles` はヒエラルキー順にソートされるようになりました。先頭には必ず ``@everyone`` が格納されます。" #: ../../migrating.rst:389 @@ -944,7 +1066,9 @@ msgid ":class:`CategoryChannel` to represent a channel category." msgstr "チャンネルのカテゴリを表す :class:`CategoryChannel` 。" #: ../../migrating.rst:393 -msgid ":attr:`VoiceChannel.members` for fetching members connected to a voice channel." +msgid "" +":attr:`VoiceChannel.members` for fetching members connected to a voice " +"channel." msgstr "ボイスチャンネルに接続しているメンバーを取得する :attr:`VoiceChannel.members` 。" #: ../../migrating.rst:394 @@ -968,8 +1092,12 @@ msgid ":attr:`Guild.categories` for fetching channel categories only." msgstr "チャンネルのカテゴリのみを取得する :attr:`Guild.categories` 。" #: ../../migrating.rst:399 -msgid ":attr:`TextChannel.category` and :attr:`VoiceChannel.category` to get the category a channel belongs to." -msgstr "チャンネルが属するカテゴリを取得する :attr:`TextChannel.category` と :attr:`VoiceChannel.category` 。" +msgid "" +":attr:`TextChannel.category` and :attr:`VoiceChannel.category` to get the" +" category a channel belongs to." +msgstr "" +"チャンネルが属するカテゴリを取得する :attr:`TextChannel.category` と " +":attr:`VoiceChannel.category` 。" #: ../../migrating.rst:400 msgid ":meth:`Guild.by_category` to get channels grouped by their category." @@ -1012,8 +1140,12 @@ msgid ":attr:`Message.webhook_id` to fetch the message's webhook ID." msgstr "メッセージのWebhook IDを取得する :attr:`Message.webhook_id` 。" #: ../../migrating.rst:410 -msgid ":attr:`Message.activity` and :attr:`Message.application` for Rich Presence related information." -msgstr "リッチプレゼンスに関する情報を取得する :attr:`Message.activity` および :attr:`Message.application` 。" +msgid "" +":attr:`Message.activity` and :attr:`Message.application` for Rich " +"Presence related information." +msgstr "" +"リッチプレゼンスに関する情報を取得する :attr:`Message.activity` および " +":attr:`Message.application` 。" #: ../../migrating.rst:411 msgid ":meth:`TextChannel.is_nsfw` to check if a text channel is NSFW." @@ -1032,21 +1164,32 @@ msgid "Sending Messages" msgstr "メッセージの送信" #: ../../migrating.rst:420 -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`." -msgstr "変更点の一つは、以前の ``Client.send_message`` と ``Client.send_file`` の機能を単一のメソッド :meth:`~abc.Messageable.send` に統合したことです。" +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`." +msgstr "" +"変更点の一つは、以前の ``Client.send_message`` と ``Client.send_file`` の機能を単一のメソッド " +":meth:`~abc.Messageable.send` に統合したことです。" -#: ../../migrating.rst:423 -#: ../../migrating.rst:1077 +#: ../../migrating.rst:423 ../../migrating.rst:1077 msgid "Basically: ::" msgstr "基本形" #: ../../migrating.rst:431 -msgid "This supports everything that the old ``send_message`` supported such as embeds: ::" +msgid "" +"This supports everything that the old ``send_message`` supported such as " +"embeds: ::" msgstr "これは埋め込みメッセージなどといった、従来の ``send_message`` が持っていた機能を全てサポートしています。" #: ../../migrating.rst:436 -msgid "There is a caveat with sending files however, as this functionality was expanded to support multiple file attachments, you must now use a :class:`File` pseudo-namedtuple to upload a single file. ::" -msgstr "これはファイルの送信に対応できるように拡張されましたが、複数のファイルを送信する際には、 :class:`File` の擬似的な名前付きタプルでファイルを渡す必要があります。" +msgid "" +"There is a caveat with sending files however, as this functionality was " +"expanded to support multiple file attachments, you must now use a " +":class:`File` pseudo-namedtuple to upload a single file. ::" +msgstr "" +"これはファイルの送信に対応できるように拡張されましたが、複数のファイルを送信する際には、 :class:`File` " +"の擬似的な名前付きタプルでファイルを渡す必要があります。" #: ../../migrating.rst:445 msgid "This change was to facilitate multiple file uploads: ::" @@ -1057,11 +1200,17 @@ msgid "Asynchronous Iterators" msgstr "非同期のイテレータ" #: ../../migrating.rst:459 -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+." -msgstr "v1.0以前のバージョンは、Python 3.4 または 3.5以上の環境において ``Client.logs_from`` のような特定の関数で、処理終了時に異なった型を返していました。" +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+." +msgstr "" +"v1.0以前のバージョンは、Python 3.4 または 3.5以上の環境において ``Client.logs_from`` " +"のような特定の関数で、処理終了時に異なった型を返していました。" #: ../../migrating.rst:461 -msgid "In v1.0, this change has been reverted and will now return a singular type meeting an abstract concept called :class:`AsyncIterator`." +msgid "" +"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:464 @@ -1073,16 +1222,32 @@ msgid "Or turn it into a list: ::" msgstr "またはリストにできます。" #: ../../migrating.rst:475 -msgid "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 ":class:`AsyncIterator` を返すことで便利な点は :meth:`AsyncIterator.map` や :meth:`AsyncIterator.filter` といった関数をチェーンできることです: ::" +msgid "" +"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 "" +":class:`AsyncIterator` を返すことで便利な点は :meth:`AsyncIterator.map` や " +":meth:`AsyncIterator.filter` といった関数をチェーンできることです: ::" #: ../../migrating.rst:481 -msgid "The functions passed to :meth:`AsyncIterator.map` or :meth:`AsyncIterator.filter` can be either coroutines or regular functions." -msgstr ":meth:`AsyncIterator.map` または :meth:`AsyncIterator.filter` に渡される関数はコルーチンか通常の関数です。" +msgid "" +"The functions passed to :meth:`AsyncIterator.map` or " +":meth:`AsyncIterator.filter` can be either coroutines or regular " +"functions." +msgstr "" +":meth:`AsyncIterator.map` または :meth:`AsyncIterator.filter` " +"に渡される関数はコルーチンか通常の関数です。" #: ../../migrating.rst:484 -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 ":meth:`AsyncIterator.get` または :meth:`AsyncIterator.find` を介して :func:`discord.utils.get` または :func:`discord.utils.find` で単一の要素を取得することもできます。" +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 "" +":meth:`AsyncIterator.get` または :meth:`AsyncIterator.find` を介して " +":func:`discord.utils.get` または :func:`discord.utils.find` " +"で単一の要素を取得することもできます。" #: ../../migrating.rst:489 msgid "The following return :class:`AsyncIterator`:" @@ -1090,14 +1255,13 @@ msgstr ":class:`AsyncIterator` を返すのは以下のとおりです:" #: ../../migrating.rst:491 msgid ":meth:`abc.Messageable.history`" -msgstr "" +msgstr ":meth:`abc.Messageable.history`" #: ../../migrating.rst:492 msgid ":meth:`Guild.audit_logs`" -msgstr "" +msgstr ":meth:`Guild.audit_logs`" -#: ../../migrating.rst:498 -#: ../../migrating.rst:924 +#: ../../migrating.rst:498 ../../migrating.rst:924 msgid "Event Changes" msgstr "イベントの変更" @@ -1106,122 +1270,121 @@ msgid "A lot of events have gone through some changes." msgstr "多くのイベントに変更がありました。" #: ../../migrating.rst:502 -msgid "Many events with ``server`` in the name were changed to use ``guild`` instead." +msgid "" +"Many events with ``server`` in the name were changed to use ``guild`` " +"instead." msgstr "名前に ``server`` が含まれていたイベントのほとんどが、 ``guild`` を使った名前に変更されました。" -#: ../../migrating.rst:504 -#: ../../migrating.rst:568 +#: ../../migrating.rst:504 ../../migrating.rst:568 msgid "Before:" msgstr "変更前" #: ../../migrating.rst:506 msgid "``on_server_join``" -msgstr "" +msgstr "``on_server_join``" #: ../../migrating.rst:507 msgid "``on_server_remove``" -msgstr "" +msgstr "``on_server_remove``" #: ../../migrating.rst:508 msgid "``on_server_update``" -msgstr "" +msgstr "``on_server_update``" #: ../../migrating.rst:509 msgid "``on_server_role_create``" -msgstr "" +msgstr "``on_server_role_create``" #: ../../migrating.rst:510 msgid "``on_server_role_delete``" -msgstr "" +msgstr "``on_server_role_delete``" #: ../../migrating.rst:511 msgid "``on_server_role_update``" -msgstr "" +msgstr "``on_server_role_update``" #: ../../migrating.rst:512 msgid "``on_server_emojis_update``" -msgstr "" +msgstr "``on_server_emojis_update``" #: ../../migrating.rst:513 msgid "``on_server_available``" -msgstr "" +msgstr "``on_server_available``" #: ../../migrating.rst:514 msgid "``on_server_unavailable``" -msgstr "" +msgstr "``on_server_unavailable``" -#: ../../migrating.rst:516 -#: ../../migrating.rst:574 +#: ../../migrating.rst:516 ../../migrating.rst:574 msgid "After:" msgstr "変更後" #: ../../migrating.rst:518 msgid ":func:`on_guild_join`" -msgstr "" +msgstr ":func:`on_guild_join`" #: ../../migrating.rst:519 msgid ":func:`on_guild_remove`" -msgstr "" +msgstr ":func:`on_guild_remove`" #: ../../migrating.rst:520 msgid ":func:`on_guild_update`" -msgstr "" +msgstr ":func:`on_guild_update`" #: ../../migrating.rst:521 msgid ":func:`on_guild_role_create`" -msgstr "" +msgstr ":func:`on_guild_role_create`" #: ../../migrating.rst:522 msgid ":func:`on_guild_role_delete`" -msgstr "" +msgstr ":func:`on_guild_role_delete`" #: ../../migrating.rst:523 msgid ":func:`on_guild_role_update`" -msgstr "" +msgstr ":func:`on_guild_role_update`" #: ../../migrating.rst:524 msgid ":func:`on_guild_emojis_update`" -msgstr "" +msgstr ":func:`on_guild_emojis_update`" #: ../../migrating.rst:525 msgid ":func:`on_guild_available`" -msgstr "" +msgstr ":func:`on_guild_available`" #: ../../migrating.rst:526 msgid ":func:`on_guild_unavailable`" -msgstr "" +msgstr ":func:`on_guild_unavailable`" #: ../../migrating.rst:529 msgid "The :func:`on_voice_state_update` event has received an argument change." msgstr ":func:`on_voice_state_update` イベントの引数が変更されました。" -#: ../../migrating.rst:531 -#: ../../migrating.rst:543 -#: ../../migrating.rst:555 -#: ../../migrating.rst:615 -#: ../../migrating.rst:928 +#: ../../migrating.rst:531 ../../migrating.rst:543 ../../migrating.rst:555 +#: ../../migrating.rst:615 ../../migrating.rst:928 msgid "Before: ::" msgstr "更新前" -#: ../../migrating.rst:535 -#: ../../migrating.rst:547 -#: ../../migrating.rst:559 -#: ../../migrating.rst:627 -#: ../../migrating.rst:934 -#: ../../migrating.rst:1159 +#: ../../migrating.rst:535 ../../migrating.rst:547 ../../migrating.rst:559 +#: ../../migrating.rst:627 ../../migrating.rst:934 ../../migrating.rst:1159 msgid "After: ::" msgstr "更新後" #: ../../migrating.rst:539 -msgid "Instead of two :class:`Member` objects, the new event takes one :class:`Member` object and two :class:`VoiceState` objects." -msgstr "新しくなったイベントは、二つの :class:`Member` の代わりに、 一つの :class:`Member` と二つの :class:`VoiceState` を受け取るようになりました。" +msgid "" +"Instead of two :class:`Member` objects, the new event takes one " +":class:`Member` object and two :class:`VoiceState` objects." +msgstr "" +"新しくなったイベントは、二つの :class:`Member` の代わりに、 一つの :class:`Member` と二つの " +":class:`VoiceState` を受け取るようになりました。" #: ../../migrating.rst:541 msgid "The :func:`on_guild_emojis_update` event has received an argument change." msgstr ":func:`on_guild_emojis_update` イベントの引数が変更されました。" #: ../../migrating.rst:551 -msgid "The first argument is now the :class:`Guild` that the emojis were updated from." +msgid "" +"The first argument is now the :class:`Guild` that the emojis were updated" +" from." msgstr "最初の引数は絵文字の更新が行われた :class:`Guild` です。" #: ../../migrating.rst:553 @@ -1229,52 +1392,70 @@ msgid "The :func:`on_member_ban` event has received an argument change as well:" msgstr ":func:`on_member_ban` も引数が変更されました。" #: ../../migrating.rst:563 -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 :class:`Guild` is provided as the first parameter." -msgstr "変更の一つは、イベントが :class:`Member` または :class:`User` のどちらかを受け取れるようになったことです。 :class:`User` で受け取る場合には第一引数として :class:`Guild` が渡されます。" +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 " +":class:`Guild` is provided as the first parameter." +msgstr "" +"変更の一つは、イベントが :class:`Member` または :class:`User` のどちらかを受け取れるようになったことです。 " +":class:`User` で受け取る場合には第一引数として :class:`Guild` が渡されます。" #: ../../migrating.rst:566 -msgid "The ``on_channel_`` events have received a type level split (see :ref:`migrating_1_0_channel_split`)." -msgstr "``on_channel_`` のようなイベントは、チャンネルタイプにより分割されました ( :ref:`migrating_1_0_channel_split` を参照)。" +msgid "" +"The ``on_channel_`` events have received a type level split (see " +":ref:`migrating_1_0_channel_split`)." +msgstr "" +"``on_channel_`` のようなイベントは、チャンネルタイプにより分割されました ( " +":ref:`migrating_1_0_channel_split` を参照)。" #: ../../migrating.rst:570 msgid "``on_channel_delete``" -msgstr "" +msgstr "``on_channel_delete``" #: ../../migrating.rst:571 msgid "``on_channel_create``" -msgstr "" +msgstr "``on_channel_create``" #: ../../migrating.rst:572 msgid "``on_channel_update``" -msgstr "" +msgstr "``on_channel_update``" #: ../../migrating.rst:576 msgid ":func:`on_guild_channel_delete`" -msgstr "" +msgstr ":func:`on_guild_channel_delete`" #: ../../migrating.rst:577 msgid ":func:`on_guild_channel_create`" -msgstr "" +msgstr ":func:`on_guild_channel_create`" #: ../../migrating.rst:578 msgid ":func:`on_guild_channel_update`" -msgstr "" +msgstr ":func:`on_guild_channel_update`" #: ../../migrating.rst:579 msgid ":func:`on_private_channel_delete`" -msgstr "" +msgstr ":func:`on_private_channel_delete`" #: ../../migrating.rst:580 msgid ":func:`on_private_channel_create`" -msgstr "" +msgstr ":func:`on_private_channel_create`" #: ../../migrating.rst:581 msgid ":func:`on_private_channel_update`" -msgstr "" +msgstr ":func:`on_private_channel_update`" #: ../../migrating.rst:583 -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`)." -msgstr "``on_guild_channel_`` イベントは更新される :class:`abc.GuildChannel` (:class:`TextChannel` および :class:`VoiceChannel`)に対応しており、 ``on_private_channel_`` イベントは更新される :class:`abc.PrivateChannel` (:class:`DMChannel` および :class:`GroupChannel`)に対応しています。" +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`)." +msgstr "" +"``on_guild_channel_`` イベントは更新される :class:`abc.GuildChannel` " +"(:class:`TextChannel` および :class:`VoiceChannel`)に対応しており、 " +"``on_private_channel_`` イベントは更新される :class:`abc.PrivateChannel` " +"(:class:`DMChannel` および :class:`GroupChannel`)に対応しています。" #: ../../migrating.rst:590 msgid "Voice Changes" @@ -1289,16 +1470,26 @@ msgid "In particular:" msgstr "主な変更点は以下のとおりです。" #: ../../migrating.rst:596 -msgid "Connection is done through :meth:`VoiceChannel.connect` instead of ``Client.join_voice_channel``." -msgstr "ボイスチャンネルへの接続は ``Client.join_voice_channel`` に代わって :meth:`VoiceChannel.connect` になりました。" +msgid "" +"Connection is done through :meth:`VoiceChannel.connect` instead of " +"``Client.join_voice_channel``." +msgstr "" +"ボイスチャンネルへの接続は ``Client.join_voice_channel`` に代わって " +":meth:`VoiceChannel.connect` になりました。" #: ../../migrating.rst:597 -msgid "You no longer create players and operate on them (you no longer store them)." +msgid "" +"You no longer create players and operate on them (you no longer store " +"them)." msgstr "プレイヤーを作成せずに操作が可能になりました。(プレイヤーの保存の必要もありません)" #: ../../migrating.rst:598 -msgid "You instead request :class:`VoiceClient` to play an :class:`AudioSource` via :meth:`VoiceClient.play`." -msgstr "代わりに :class:`VoiceClient` の :meth:`VoiceClient.play` を介して :class:`AudioSource` の再生を要求します。" +msgid "" +"You instead request :class:`VoiceClient` to play an :class:`AudioSource` " +"via :meth:`VoiceClient.play`." +msgstr "" +"代わりに :class:`VoiceClient` の :meth:`VoiceClient.play` を介して " +":class:`AudioSource` の再生を要求します。" #: ../../migrating.rst:599 msgid "There are different built-in :class:`AudioSource`\\s." @@ -1309,7 +1500,9 @@ msgid ":class:`FFmpegPCMAudio` is the equivalent of ``create_ffmpeg_player``" msgstr ":class:`FFmpegPCMAudio` は ``create_ffmpeg_player`` と同等です。" #: ../../migrating.rst:603 -msgid "create_ffmpeg_player/create_stream_player/create_ytdl_player have all been removed." +msgid "" +"create_ffmpeg_player/create_stream_player/create_ytdl_player have all " +"been removed." msgstr "create_ffmpeg_player/create_stream_player/create_ytdl_player はすべて削除されました。" #: ../../migrating.rst:605 @@ -1333,24 +1526,39 @@ msgid "Basically:" msgstr "基本的には以下のとおりです:" #: ../../migrating.rst:637 -msgid "With the changed :class:`AudioSource` design, you can now change the source that the :class:`VoiceClient` is playing at runtime via :attr:`VoiceClient.source`." -msgstr ":class:`AudioSource` の再設計により、 :attr:`VoiceClient.source` を介して実行中の :class:`VoiceClient` のソースを変更できるようになりました。" +msgid "" +"With the changed :class:`AudioSource` design, you can now change the " +"source that the :class:`VoiceClient` is playing at runtime via " +":attr:`VoiceClient.source`." +msgstr "" +":class:`AudioSource` の再設計により、 :attr:`VoiceClient.source` を介して実行中の " +":class:`VoiceClient` のソースを変更できるようになりました。" #: ../../migrating.rst:640 -msgid "For example, you can add a :class:`PCMVolumeTransformer` to allow changing the volume: ::" +msgid "" +"For example, you can add a :class:`PCMVolumeTransformer` to allow " +"changing the volume: ::" msgstr "例えば、 :class:`PCMVolumeTransformer` を追加すると、ボリュームの変更ができるようになります。" #: ../../migrating.rst:645 -msgid "An added benefit of the redesign is that it will be much more resilient towards reconnections:" +msgid "" +"An added benefit of the redesign is that it will be much more resilient " +"towards reconnections:" msgstr "再設計によるさらなる利点は、再接続において遥かに柔軟性を持ったことです。" #: ../../migrating.rst:647 -msgid "The voice websocket will now automatically re-connect and re-do the handshake when disconnected." +msgid "" +"The voice websocket will now automatically re-connect and re-do the " +"handshake when disconnected." msgstr "音声ウェブソケットは、切断された際に自動的に再接続し、ハンドシェイクを再実行します。" #: ../../migrating.rst:648 -msgid "The initial connect handshake will now retry up to 5 times so you no longer get as many ``asyncio.TimeoutError``." -msgstr "初期接続のハンドシェイクは、最大5回までの再試行となったので、大量の ``asyncio.TimeoutError`` に悩まされることはなくなりました。" +msgid "" +"The initial connect handshake will now retry up to 5 times so you no " +"longer get as many ``asyncio.TimeoutError``." +msgstr "" +"初期接続のハンドシェイクは、最大5回までの再試行となったので、大量の ``asyncio.TimeoutError`` " +"に悩まされることはなくなりました。" #: ../../migrating.rst:649 msgid "Audio will now stop and resume when a disconnect is found." @@ -1365,11 +1573,21 @@ msgid "Waiting For Events" msgstr "イベントの待機" #: ../../migrating.rst:659 -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." -msgstr "v1.0以前のバージョンでは、イベントの発生を待つ方法として ``Client.wait_for_message`` と ``Client.wait_for_reaction`` の二つの関数が用意されていました。このアプローチの欠点はライブラリが提供するイベント以外の発生を待つことが出来ない点です。" +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." +msgstr "" +"v1.0以前のバージョンでは、イベントの発生を待つ方法として ``Client.wait_for_message`` と " +"``Client.wait_for_reaction`` " +"の二つの関数が用意されていました。このアプローチの欠点はライブラリが提供するイベント以外の発生を待つことが出来ない点です。" #: ../../migrating.rst:663 -msgid "In v1.0 the concept of waiting for another event has been generalised to work with any event as :meth:`Client.wait_for`." +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 "v1.0では別のイベント待機の概念が :meth:`Client.wait_for` イベントのように一般化されました。" #: ../../migrating.rst:665 @@ -1377,7 +1595,9 @@ msgid "For example, to wait for a message: ::" msgstr "例えば、メッセージを待つ処理は以下のようになります。" #: ../../migrating.rst:676 -msgid "To facilitate multiple returns, :meth:`Client.wait_for` returns either a single argument, no arguments, or a tuple of arguments." +msgid "" +"To facilitate multiple returns, :meth:`Client.wait_for` returns either a " +"single argument, no arguments, or a tuple of arguments." msgstr "複数の返り値に対応するため、 :meth:`Client.wait_for` は単一の引数、引数なし、あるいは引数のタプルを返すようになっています。" #: ../../migrating.rst:679 @@ -1385,79 +1605,112 @@ msgid "For example, to wait for a reaction: ::" msgstr "例えば、リアクションを待つ処理は以下のようになります。" #: ../../migrating.rst:685 -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:" -msgstr "この関数は複数の引数を返すため、 ``timeout`` に設定した時間経過すると、 ``None`` を返すのではなく、 :exc:`asyncio.TimeoutError` を発生させるようになりました。以下はその例になります。" +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:" +msgstr "" +"この関数は複数の引数を返すため、 ``timeout`` に設定した時間経過すると、 ``None`` を返すのではなく、 " +":exc:`asyncio.TimeoutError` を発生させるようになりました。以下はその例になります。" #: ../../migrating.rst:702 msgid "Upgraded Dependencies" msgstr "依存関係のアップグレード" #: ../../migrating.rst:704 -msgid "Following v1.0 of the library, we've updated our requirements to :doc:`aiohttp ` v2.0 or higher." -msgstr "" +msgid "" +"Following v1.0 of the library, we've updated our requirements to " +":doc:`aiohttp ` v2.0 or higher." +msgstr "ライブラリのv1.0への更新に伴い、要件が :doc:`aiohttp ` v2.0以上へと変更されました。" #: ../../migrating.rst:706 -msgid "Since this is a backwards incompatible change, it is recommended that you see the `changes `_ and the :doc:`aio:migration_to_2xx` pages for details on the breaking changes in :doc:`aiohttp `." +msgid "" +"Since this is a backwards incompatible change, it is recommended that you" +" see the `changes " +"`_ " +"and the :doc:`aio:migration_to_2xx` pages for details on the breaking " +"changes in :doc:`aiohttp `." msgstr "" +"これは後方互換性のない変更となるため、 :doc:`aiohttp ` の変更点の詳細については `changes " +"`_ と" +" :doc:`aio:migration_to_2xx` ページを参照してください。" #: ../../migrating.rst:711 -msgid "Of the most significant for common users is the removal of helper functions such as:" +msgid "" +"Of the most significant for common users is the removal of helper " +"functions such as:" msgstr "ユーザーにとって最も重要な変更点は、以下のヘルパー関数の削除です。" #: ../../migrating.rst:713 msgid "``aiohttp.get``" -msgstr "" +msgstr "``aiohttp.get``" #: ../../migrating.rst:714 msgid "``aiohttp.post``" -msgstr "" +msgstr "``aiohttp.post``" #: ../../migrating.rst:715 msgid "``aiohttp.delete``" -msgstr "" +msgstr "``aiohttp.delete``" #: ../../migrating.rst:716 msgid "``aiohttp.patch``" -msgstr "" +msgstr "``aiohttp.patch``" #: ../../migrating.rst:717 msgid "``aiohttp.head``" -msgstr "" +msgstr "``aiohttp.head``" #: ../../migrating.rst:718 msgid "``aiohttp.put``" -msgstr "" +msgstr "``aiohttp.put``" #: ../../migrating.rst:719 msgid "``aiohttp.request``" -msgstr "" +msgstr "``aiohttp.request``" #: ../../migrating.rst:721 msgid "It is recommended that you create a session instead: ::" msgstr "代わりにセッションを作成することをお勧めします。" #: ../../migrating.rst:727 -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." -msgstr "リクエストごとにセッションを作成するのは良いとは言えないため、変数に格納しておき、破棄しなければならない時に ``session.close`` を呼び出すのが良いでしょう。" +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." +msgstr "" +"リクエストごとにセッションを作成するのは良いとは言えないため、変数に格納しておき、破棄しなければならない時に ``session.close`` " +"を呼び出すのが良いでしょう。" #: ../../migrating.rst:731 msgid "Sharding" msgstr "シャーディング" #: ../../migrating.rst:733 -msgid "The library has received significant changes on how it handles sharding and now has sharding as a first-class citizen." +msgid "" +"The library has received significant changes on how it handles sharding " +"and now has sharding as a first-class citizen." msgstr "シャーディングの扱いに対して大きな変更があり、現在、シャーディングは第一級オブジェクトとして扱われています。" #: ../../migrating.rst:735 -msgid "If using a Bot account and you want to shard your bot in a single process then you can use the :class:`AutoShardedClient`." -msgstr "Botアカウントを使用していて、かつ一つのプロセスでBotをシャーディングしたい場合は、 :class:`AutoShardedClient` を使用してください。" +msgid "" +"If using a Bot account and you want to shard your bot in a single process" +" then you can use the :class:`AutoShardedClient`." +msgstr "" +"Botアカウントを使用していて、かつ一つのプロセスでBotをシャーディングしたい場合は、 :class:`AutoShardedClient` " +"を使用してください。" #: ../../migrating.rst:737 -msgid "This class allows you to use sharding without having to launch multiple processes or deal with complicated IPC." +msgid "" +"This class allows you to use sharding without having to launch multiple " +"processes or deal with complicated IPC." msgstr "このクラスは複数のプロセスを起動したり、IPCを処理することなくシャーディングが行えます。" #: ../../migrating.rst:739 -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." +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:742 @@ -1469,16 +1722,26 @@ msgid "instead of using :class:`Client`." msgstr ":class:`Client` の代わりに上記のようにしてください。" #: ../../migrating.rst:748 -msgid "This will launch as many shards as your bot needs using the ``/gateway/bot`` endpoint, which allocates about 1000 guilds per shard." -msgstr "これは ``/gateway/bot`` エンドポイントを使って、あなたのBotに必要な数のシャードを起動します。このエンドポイントはシャードごとに1000ギルドを割り当てます。" +msgid "" +"This will launch as many shards as your bot needs using the " +"``/gateway/bot`` endpoint, which allocates about 1000 guilds per shard." +msgstr "" +"これは ``/gateway/bot`` " +"エンドポイントを使って、あなたのBotに必要な数のシャードを起動します。このエンドポイントはシャードごとに1000ギルドを割り当てます。" #: ../../migrating.rst:751 -msgid "If you want more control over the sharding you can specify ``shard_count`` and ``shard_ids``. ::" +msgid "" +"If you want more control over the sharding you can specify " +"``shard_count`` and ``shard_ids``. ::" msgstr "シャードをより詳細に制御したい場合は、 ``shard_count`` と ``shard_ids`` を利用してください。" #: ../../migrating.rst:759 -msgid "For users of the command extension, there is also :class:`~ext.commands.AutoShardedBot` which behaves similarly." -msgstr "コマンド拡張を利用しているユーザーのために、同様に動作する :class:`~ext.commands.AutoShardedBot` が用意されています。" +msgid "" +"For users of the command extension, there is also " +":class:`~ext.commands.AutoShardedBot` which behaves similarly." +msgstr "" +"コマンド拡張を利用しているユーザーのために、同様に動作する :class:`~ext.commands.AutoShardedBot` " +"が用意されています。" #: ../../migrating.rst:762 msgid "Connection Improvements" @@ -1489,19 +1752,34 @@ msgid "In v1.0, the auto reconnection logic has been powered up significantly." msgstr "v1.0では、自動再接続機能が大幅に強化されました。" #: ../../migrating.rst:766 -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." -msgstr ":meth:`Client.connect` には新しいキーワード引数が追加されました。再接続機能の設定を行う ``reconnect`` はデフォルトで ``True`` に設定されています。有効にすると、クライアントは全インターネットのインスタンスがオフラインになった際や、Discordが指数関数的後退によってオフラインになった際に自動で再接続を試みます。" +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." +msgstr "" +":meth:`Client.connect` には新しいキーワード引数が追加されました。再接続機能の設定を行う ``reconnect`` " +"はデフォルトで ``True`` " +"に設定されています。有効にすると、クライアントは全インターネットのインスタンスがオフラインになった際や、Discordが指数関数的後退によってオフラインになった際に自動で再接続を試みます。" #: ../../migrating.rst:770 -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." -msgstr ":meth:`Client.run` や :meth:`Client.start` にも同様のキーワード引数が追加されていますが、このさい接続機能をオフにする場合以外は指定する必要はありません。" +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." +msgstr "" +":meth:`Client.run` や :meth:`Client.start` " +"にも同様のキーワード引数が追加されていますが、このさい接続機能をオフにする場合以外は指定する必要はありません。" #: ../../migrating.rst:776 msgid "Command Extension Changes" msgstr "コマンド拡張の変更" #: ../../migrating.rst:778 -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." +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." msgstr ":ref:`migrating_1_0_model_state` により、拡張モジュールの設計にもいくつかの変更があります。" #: ../../migrating.rst:782 @@ -1509,19 +1787,41 @@ msgid "Context Changes" msgstr "コンテキストの変更" #: ../../migrating.rst:784 -msgid "In v1.0, the :class:`.Context` has received a lot of changes with how it's retrieved and used." +msgid "" +"In v1.0, the :class:`.Context` has received a lot of changes with how " +"it's retrieved and used." msgstr "v1.0において、 :class:`.Context` は取得と利用の面において、多くの変更があります。" #: ../../migrating.rst:786 -msgid "The biggest change is that ``pass_context=True`` no longer exists, :class:`.Context` is always passed. Ergo:" -msgstr "最も大きな変更点は ``pass_context=True`` が廃止され、常に :class:`.Context` が渡されるようになったことです。そのため以下のようになります。" +msgid "" +"The biggest change is that ``pass_context=True`` no longer exists, " +":class:`.Context` is always passed. Ergo:" +msgstr "" +"最も大きな変更点は ``pass_context=True`` が廃止され、常に :class:`.Context` " +"が渡されるようになったことです。そのため以下のようになります。" #: ../../migrating.rst:800 -msgid "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." -msgstr "その理由として、 :class:`~ext.commands.Context` が :class:`abc.Messageable` の要件を満たしていることが挙げられます。 これは :class:`TextChannel` や :class:`DMChannel` と同等の機能を持っており、 :meth:`~.Context.send` を用いることで、従来の ``bot.say`` のようにDMまたはテキストチャンネルにメッセージを送信することが出来ます。古いヘルパー関数は新しい :class:`abc.Messageable` インタフェースの実装に伴い削除されました。詳細は :ref:`migrating_1_0_removed_helpers` を参照してください。" +msgid "" +"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." +msgstr "" +"その理由として、 :class:`~ext.commands.Context` が :class:`abc.Messageable` " +"の要件を満たしていることが挙げられます。 これは :class:`TextChannel` や :class:`DMChannel` " +"と同等の機能を持っており、 :meth:`~.Context.send` を用いることで、従来の ``bot.say`` " +"のようにDMまたはテキストチャンネルにメッセージを送信することが出来ます。古いヘルパー関数は新しい " +":class:`abc.Messageable` インタフェースの実装に伴い削除されました。詳細は " +":ref:`migrating_1_0_removed_helpers` を参照してください。" #: ../../migrating.rst:806 -msgid "Since the :class:`~ext.commands.Context` is now passed by default, several shortcuts have been added:" +msgid "" +"Since the :class:`~ext.commands.Context` is now passed by default, " +"several shortcuts have been added:" msgstr ":class:`~ext.commands.Context`がデフォルトで渡されるので、ショートカットが追加されました:" #: ../../migrating.rst:808 @@ -1529,24 +1829,44 @@ msgid "**New Shortcuts**" msgstr "**新しいショートカット**" #: ../../migrating.rst:810 -msgid ":attr:`ctx.author ` is a shortcut for ``ctx.message.author``." -msgstr ":attr:`ctx.author ` は ``ctx.message.author``のショートカットです。" +msgid "" +":attr:`ctx.author ` is a shortcut for " +"``ctx.message.author``." +msgstr "" +":attr:`ctx.author ` は " +"``ctx.message.author``のショートカットです。" #: ../../migrating.rst:811 -msgid ":attr:`ctx.guild ` is a shortcut for ``ctx.message.guild``." -msgstr ":attr:`ctx.guild ` は ``ctx.message.guild``のショートカットです。" +msgid "" +":attr:`ctx.guild ` is a shortcut for " +"``ctx.message.guild``." +msgstr "" +":attr:`ctx.guild ` は " +"``ctx.message.guild``のショートカットです。" #: ../../migrating.rst:812 -msgid ":attr:`ctx.channel ` is a shortcut for ``ctx.message.channel``." -msgstr ":attr:`ctx.channel ` は ``ctx.message.channel``のショートカットです。" +msgid "" +":attr:`ctx.channel ` is a shortcut for " +"``ctx.message.channel``." +msgstr "" +":attr:`ctx.channel ` は " +"``ctx.message.channel``のショートカットです。" #: ../../migrating.rst:813 -msgid ":attr:`ctx.me ` is a shortcut for ``ctx.message.guild.me`` or ``ctx.bot.user``." -msgstr ":attr:`ctx.me ` は ``ctx.message.guild.me``のショートカットです。" +msgid "" +":attr:`ctx.me ` is a shortcut for " +"``ctx.message.guild.me`` or ``ctx.bot.user``." +msgstr "" +":attr:`ctx.me ` は " +"``ctx.message.guild.me``のショートカットです。" #: ../../migrating.rst:814 -msgid ":attr:`ctx.voice_client ` is a shortcut for ``ctx.message.guild.voice_client``." -msgstr ":attr:`ctx.voice_client ` は ``ctx.message.guild.voice_client``のショートカットです。" +msgid "" +":attr:`ctx.voice_client ` is a " +"shortcut for ``ctx.message.guild.voice_client``." +msgstr "" +":attr:`ctx.voice_client ` は " +"``ctx.message.guild.voice_client``のショートカットです。" #: ../../migrating.rst:816 msgid "**New Functionality**" @@ -1561,15 +1881,21 @@ msgid "This is useful for bypassing cooldowns." msgstr "クールダウンの回避に利用できます。" #: ../../migrating.rst:821 -msgid ":attr:`.Context.valid` to check if a context can be invoked with :meth:`.Bot.invoke`." +msgid "" +":attr:`.Context.valid` to check if a context can be invoked with " +":meth:`.Bot.invoke`." msgstr ":attr:`.Context.valid`で、:meth:`.Bot.invoke`で呼びだせるか確認します。" #: ../../migrating.rst:822 -msgid ":meth:`.Context.send_help` to show the help command for an entity using the new :class:`~.ext.commands.HelpCommand` system." +msgid "" +":meth:`.Context.send_help` to show the help command for an entity using " +"the new :class:`~.ext.commands.HelpCommand` system." msgstr ":meth:`.Context.send_help`を使うと、新しい:class:`~.ext.commands.HelpCommand`システムである項目のヘルプを出力できます。" #: ../../migrating.rst:824 -msgid "This is useful if you want to show the user help if they misused a command." +msgid "" +"This is useful if you want to show the user help if they misused a " +"command." msgstr "コマンドの使用法を誤ったときにヘルプを表示させたい場合に便利です。" #: ../../migrating.rst:827 @@ -1577,16 +1903,26 @@ msgid "Subclassing Context" msgstr "コンテキストのサブクラス" #: ../../migrating.rst:829 -msgid "In v1.0, there is now the ability to subclass :class:`~ext.commands.Context` and use it instead of the default provided one." -msgstr "v1.0では、 :class:`~ext.commands.Context` を継承したサブクラスを作成し、デフォルトで実装されているものの代わりに使うことが出来ます。" +msgid "" +"In v1.0, there is now the ability to subclass " +":class:`~ext.commands.Context` and use it instead of the default provided" +" one." +msgstr "" +"v1.0では、 :class:`~ext.commands.Context` " +"を継承したサブクラスを作成し、デフォルトで実装されているものの代わりに使うことが出来ます。" #: ../../migrating.rst:832 msgid "For example, if you want to add some functionality to the context:" msgstr "例えば、コンテキストに機能の追加を行いたい場合は以下のように実装が出来ます。" #: ../../migrating.rst:841 -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:" -msgstr "また、 :func:`on_message` 内で :meth:`~ext.commands.Bot.get_context` と :meth:`~ext.commands.Bot.invoke` を組み合わせることであなたのカスタムコンテキストを使用できます。" +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:" +msgstr "" +"また、 :func:`on_message` 内で :meth:`~ext.commands.Bot.get_context` と " +":meth:`~ext.commands.Bot.invoke` を組み合わせることであなたのカスタムコンテキストを使用できます。" #: ../../migrating.rst:851 msgid "Now inside your commands you will have access to your custom context:" @@ -1597,7 +1933,9 @@ msgid "Removed Helpers" msgstr "ヘルパー関数の削除" #: ../../migrating.rst:864 -msgid "With the new :class:`.Context` changes, a lot of message sending helpers have been removed." +msgid "" +"With the new :class:`.Context` changes, a lot of message sending helpers " +"have been removed." msgstr "新しい :class:`.Context` の変更によって、たくさんのメッセージ送信用のヘルパー関数が削除されました。" #: ../../migrating.rst:866 @@ -1606,28 +1944,27 @@ msgstr "以下が削除された関数のリストです。" #: ../../migrating.rst:871 msgid "``Bot.say``" -msgstr "" +msgstr "``Bot.say``" -#: ../../migrating.rst:871 -#: ../../migrating.rst:873 +#: ../../migrating.rst:871 ../../migrating.rst:873 msgid ":meth:`.Context.send`" -msgstr "" +msgstr ":meth:`.Context.send`" #: ../../migrating.rst:873 msgid "``Bot.upload``" -msgstr "" +msgstr "``Bot.upload``" #: ../../migrating.rst:875 msgid "``Bot.whisper``" -msgstr "" +msgstr "``Bot.whisper``" #: ../../migrating.rst:875 msgid "``ctx.author.send``" -msgstr "" +msgstr "``ctx.author.send``" #: ../../migrating.rst:877 msgid "``Bot.type``" -msgstr "" +msgstr "``Bot.type``" #: ../../migrating.rst:877 msgid ":meth:`.Context.typing` or :meth:`.Context.trigger_typing`" @@ -1635,7 +1972,7 @@ msgstr ":meth:`.Context.typing` または :meth:`.Context.trigger_typing`" #: ../../migrating.rst:879 msgid "``Bot.reply``" -msgstr "" +msgstr "``Bot.reply``" #: ../../migrating.rst:879 msgid "No replacement." @@ -1646,23 +1983,38 @@ msgid "Command Changes" msgstr "コマンドの変更" #: ../../migrating.rst:885 -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." +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." msgstr "前述の通り、 ``pass_context=True`` は削除されたため、これをパラメータとして渡す必要はありません。" #: ../../migrating.rst:888 -msgid "Another change is the removal of ``no_pm=True``. Instead, use the new :func:`~ext.commands.guild_only` built-in check." -msgstr "他に ``no_pm=True`` も削除されました。代わりに新しい組み込みチェックである :func:`~ext.commands.guild_only` を使用してください。" +msgid "" +"Another change is the removal of ``no_pm=True``. Instead, use the new " +":func:`~ext.commands.guild_only` built-in check." +msgstr "" +"他に ``no_pm=True`` も削除されました。代わりに新しい組み込みチェックである " +":func:`~ext.commands.guild_only` を使用してください。" #: ../../migrating.rst:891 -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." -msgstr ":class:`~ext.commands.Bot` と :class:`~ext.commands.Group` の ``commands`` 属性は辞書からエイリアスを持たないsetに変更されました。以前のような辞書を取得するには ``all_commands`` を使用してください。" +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." +msgstr "" +":class:`~ext.commands.Bot` と :class:`~ext.commands.Group` の ``commands`` " +"属性は辞書からエイリアスを持たないsetに変更されました。以前のような辞書を取得するには ``all_commands`` を使用してください。" #: ../../migrating.rst:894 msgid "Command instances have gained new attributes and properties:" msgstr "コマンドインスタンスには新たな属性とプロパティが追加されました。" #: ../../migrating.rst:896 -msgid ":attr:`~ext.commands.Command.signature` to get the signature of the command." +msgid "" +":attr:`~ext.commands.Command.signature` to get the signature of the " +"command." msgstr "コマンドのシグネチャを取得する :attr:`~ext.commands.Command.signature` 。" #: ../../migrating.rst:897 @@ -1670,43 +2022,65 @@ msgid ":attr:`~.Command.usage`, an attribute to override the default signature." msgstr "デフォルトのシグネチャをオーバーライドする属性 :attr:`~.Command.usage` 。" #: ../../migrating.rst:898 -msgid ":attr:`~.Command.root_parent` to get the root parent group of a subcommand." +msgid "" +":attr:`~.Command.root_parent` to get the root parent group of a " +"subcommand." msgstr "サブコマンドのルートである親グループを取得する :attr:`~.Command.root_parent` 。" #: ../../migrating.rst:900 -msgid "For :class:`~ext.commands.Group` and :class:`~ext.commands.Bot` the following changed:" +msgid "" +"For :class:`~ext.commands.Group` and :class:`~ext.commands.Bot` the " +"following changed:" msgstr ":class:`~ext.commands.Group` と :class:`~ext.commands.Bot` は次のように変更されました。" #: ../../migrating.rst:902 -msgid "Changed :attr:`~.GroupMixin.commands` to be a :class:`set` without aliases." -msgstr "" +msgid "" +"Changed :attr:`~.GroupMixin.commands` to be a :class:`set` without " +"aliases." +msgstr ":attr:`~.GroupMixin.commands` は エイリアスなしの :class:`set` に変更されました。" #: ../../migrating.rst:904 -msgid "Use :attr:`~.GroupMixin.all_commands` to get the old :class:`dict` with all commands." +msgid "" +"Use :attr:`~.GroupMixin.all_commands` to get the old :class:`dict` with " +"all commands." msgstr "" +"すべてのコマンドを従来の :class:`dict` で取得するには :attr:`~.GroupMixin.all_commands` " +"を使用してください。" #: ../../migrating.rst:907 msgid "Check Changes" msgstr "チェックの変更" #: ../../migrating.rst:909 -msgid "Prior to v1.0, :func:`~ext.commands.check`\\s could only be synchronous. As of v1.0 checks can now be coroutines." -msgstr "v1.0以前のバージョンでは :func:`~ext.commands.check` は同期関数でしたが、 v1.0のチェックはコルーチンになりました。" +msgid "" +"Prior to v1.0, :func:`~ext.commands.check`\\s could only be synchronous. " +"As of v1.0 checks can now be coroutines." +msgstr "" +"v1.0以前のバージョンでは :func:`~ext.commands.check` は同期関数でしたが、 " +"v1.0のチェックはコルーチンになりました。" #: ../../migrating.rst:911 msgid "Along with this change, a couple new checks were added." msgstr "この変更に加え、新たなチェックが二つ追加されました。" #: ../../migrating.rst:913 -msgid ":func:`~ext.commands.guild_only` replaces the old ``no_pm=True`` functionality." +msgid "" +":func:`~ext.commands.guild_only` replaces the old ``no_pm=True`` " +"functionality." msgstr "``no_pm=True`` の代わりとなる :func:`~ext.commands.guild_only` 。" #: ../../migrating.rst:914 -msgid ":func:`~ext.commands.is_owner` uses the :meth:`Client.application_info` endpoint by default to fetch owner ID." -msgstr ":func:`~ext.commands.is_owner` は :meth:`Client.application_info` のエンドポイントを使用してオーナーIDを取得します。" +msgid "" +":func:`~ext.commands.is_owner` uses the :meth:`Client.application_info` " +"endpoint by default to fetch owner ID." +msgstr "" +":func:`~ext.commands.is_owner` は :meth:`Client.application_info` " +"のエンドポイントを使用してオーナーIDを取得します。" #: ../../migrating.rst:916 -msgid "This is actually powered by a different function, :meth:`~ext.commands.Bot.is_owner`." +msgid "" +"This is actually powered by a different function, " +":meth:`~ext.commands.Bot.is_owner`." msgstr "実際には :meth:`~ext.commands.Bot.is_owner` という別の関数を使用して実行されます。" #: ../../migrating.rst:917 @@ -1714,7 +2088,9 @@ msgid "You can set the owner ID yourself by setting :attr:`.Bot.owner_id`." msgstr ":attr:`.Bot.owner_id` に値を指定することで自分でオーナーIDの設定ができます。" #: ../../migrating.rst:919 -msgid ":func:`~ext.commands.is_nsfw` checks if the channel the command is in is a NSFW channel." +msgid "" +":func:`~ext.commands.is_nsfw` checks if the channel the command is in is " +"a NSFW channel." msgstr ":func:`~ext.commands.is_nsfw` はコマンドが実行されたチャンネルがNSFWチャンネルかどうかをチェックします。" #: ../../migrating.rst:921 @@ -1726,32 +2102,62 @@ msgid "All command extension events have changed." msgstr "すべてのコマンド拡張のイベントが変更されました。" #: ../../migrating.rst:940 -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." -msgstr ":func:`.on_command` と :func:`.on_command_completion` の ``command`` パラメータが削除されました。 :class:`~ext.commands.Command` インスタンスは更新されておらず、正しいものではありませんでした。最新の :class:`~ext.commands.Command` インスタンスを取得するには :attr:`.Context.command` 属性を使用してください。" +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." +msgstr "" +":func:`.on_command` と :func:`.on_command_completion` の ``command`` " +"パラメータが削除されました。 :class:`~ext.commands.Command` " +"インスタンスは更新されておらず、正しいものではありませんでした。最新の :class:`~ext.commands.Command` " +"インスタンスを取得するには :attr:`.Context.command` 属性を使用してください。" #: ../../migrating.rst:945 -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." -msgstr ":meth:`.Command.error` や :func:`.on_command_error` のようなエラーハンドラは他のイベント及びコマンドとの一貫性を保つため、最初のパラメータとして :class:`~ext.commands.Context` を使用するよう変更されました。" +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." +msgstr "" +":meth:`.Command.error` や :func:`.on_command_error` " +"のようなエラーハンドラは他のイベント及びコマンドとの一貫性を保つため、最初のパラメータとして " +":class:`~ext.commands.Context` を使用するよう変更されました。" #: ../../migrating.rst:950 msgid "HelpFormatter and Help Command Changes" msgstr "HelpFormatter および Help Command の変更" #: ../../migrating.rst:952 -msgid "The ``HelpFormatter`` class has been removed. It has been replaced with a :class:`~.commands.HelpCommand` class. This class now stores all the command handling and processing of the help command." +msgid "" +"The ``HelpFormatter`` class has been removed. It has been replaced with a" +" :class:`~.commands.HelpCommand` class. This class now stores all the " +"command handling and processing of the help command." msgstr "" +"``HelpFormatter`` クラスは削除され、 :class:`~.commands.HelpCommand` " +"に置き換えられました。このクラスはヘルプコマンドのコマンドハンドリングや処理などといったすべてが格納されています。" #: ../../migrating.rst:954 -msgid "The help command is now stored in the :attr:`.Bot.help_command` attribute. As an added extension, you can disable the help command completely by assigning the attribute to ``None`` or passing it at ``__init__`` as ``help_command=None``." -msgstr "ヘルプコマンドは属性である :attr:`.Bot.help_command` に格納されています。追加の機能として、この属性に ``None`` を代入するか、 ``help_command=None`` のようにして ``__init__`` にわたすことでヘルプコマンドを完全に無効化できます。" +msgid "" +"The help command is now stored in the :attr:`.Bot.help_command` " +"attribute. As an added extension, you can disable the help command " +"completely by assigning the attribute to ``None`` or passing it at " +"``__init__`` as ``help_command=None``." +msgstr "" +"ヘルプコマンドは属性である :attr:`.Bot.help_command` に格納されています。追加の機能として、この属性に ``None``" +" を代入するか、 ``help_command=None`` のようにして ``__init__`` " +"にわたすことでヘルプコマンドを完全に無効化できます。" #: ../../migrating.rst:956 -msgid "The new interface allows the help command to be customised through special methods that can be overridden." +msgid "" +"The new interface allows the help command to be customised through " +"special methods that can be overridden." msgstr "新しいインタフェースでは特殊なメソッドをオーバーライドすることでヘルプコマンドをカスタマイズすることができます。" #: ../../migrating.rst:958 msgid ":meth:`.HelpCommand.send_bot_help`" -msgstr "" +msgstr ":meth:`.HelpCommand.send_bot_help`" #: ../../migrating.rst:959 msgid "Called when the user requested for help with the entire bot." @@ -1759,7 +2165,7 @@ msgstr "ユーザーがBot全体のヘルプを要求した際に呼び出され #: ../../migrating.rst:960 msgid ":meth:`.HelpCommand.send_cog_help`" -msgstr "" +msgstr ":meth:`.HelpCommand.send_cog_help`" #: ../../migrating.rst:961 msgid "Called when the user requested for help with a specific cog." @@ -1767,7 +2173,7 @@ msgstr "ユーザーが特定のコグについてのヘルプを要求した際 #: ../../migrating.rst:962 msgid ":meth:`.HelpCommand.send_group_help`" -msgstr "" +msgstr ":meth:`.HelpCommand.send_group_help`" #: ../../migrating.rst:963 msgid "Called when the user requested for help with a :class:`~.commands.Group`" @@ -1775,7 +2181,7 @@ msgstr "ユーザーが :class:`~.commands.Group` についてのヘルプを要 #: ../../migrating.rst:964 msgid ":meth:`.HelpCommand.send_command_help`" -msgstr "" +msgstr ":meth:`.HelpCommand.send_command_help`" #: ../../migrating.rst:965 msgid "Called when the user requested for help with a :class:`~.commands.Command`" @@ -1783,54 +2189,71 @@ msgstr "ユーザーが :class:`~.commands.Command` についてのヘルプを #: ../../migrating.rst:966 msgid ":meth:`.HelpCommand.get_destination`" -msgstr "" +msgstr ":meth:`.HelpCommand.get_destination`" #: ../../migrating.rst:967 -msgid "Called to know where to send the help messages. Useful for deciding whether to DM or not." +msgid "" +"Called to know where to send the help messages. Useful for deciding " +"whether to DM or not." msgstr "ヘルプメッセージの送信先を知るために呼び出されます。DMとして送るかどうかを決める際に役立ちます。" #: ../../migrating.rst:968 msgid ":meth:`.HelpCommand.command_not_found`" -msgstr "" +msgstr ":meth:`.HelpCommand.command_not_found`" #: ../../migrating.rst:969 -msgid "A function (or coroutine) that returns a presentable no command found string." +msgid "" +"A function (or coroutine) that returns a presentable no command found " +"string." msgstr "表示可能なコマンドが見つからなかった旨の文字列を返す関数(またはコルーチン)。" #: ../../migrating.rst:970 msgid ":meth:`.HelpCommand.subcommand_not_found`" -msgstr "" +msgstr ":meth:`.HelpCommand.subcommand_not_found`" #: ../../migrating.rst:971 -msgid "A function (or coroutine) that returns a string when a subcommand is not found." +msgid "" +"A function (or coroutine) that returns a string when a subcommand is not " +"found." msgstr "表示可能なサブコマンドが見つからなかった旨の文字列を返す関数(またはコルーチン)。" #: ../../migrating.rst:973 msgid ":meth:`.HelpCommand.send_error_message`" -msgstr "" +msgstr ":meth:`.HelpCommand.send_error_message`" #: ../../migrating.rst:973 -msgid "A coroutine that gets passed the result of :meth:`.HelpCommand.command_not_found` and :meth:`.HelpCommand.subcommand_not_found`." -msgstr ":meth:`.HelpCommand.command_not_found` および :meth:`.HelpCommand.subcommand_not_found` の結果が渡されるコルーチン。" +msgid "" +"A coroutine that gets passed the result of " +":meth:`.HelpCommand.command_not_found` and " +":meth:`.HelpCommand.subcommand_not_found`." +msgstr "" +":meth:`.HelpCommand.command_not_found` および " +":meth:`.HelpCommand.subcommand_not_found` の結果が渡されるコルーチン。" #: ../../migrating.rst:974 -msgid "By default it just sends the message. But you can, for example, override it to put it in an embed." +msgid "" +"By default it just sends the message. But you can, for example, override " +"it to put it in an embed." msgstr "デフォルトではメッセージの送信のみを行いますが、たとえば、そのメッセージを埋め込み化したい場合などにオーバーライドして使うことができます。" #: ../../migrating.rst:975 msgid ":meth:`.HelpCommand.on_help_command_error`" -msgstr "" +msgstr ":meth:`.HelpCommand.on_help_command_error`" #: ../../migrating.rst:976 -msgid "The :ref:`error handler ` for the help command if you want to add one." +msgid "" +"The :ref:`error handler ` for the help " +"command if you want to add one." msgstr "ヘルプコマンドの :ref:`エラーハンドラ ` 。追加したい場合のみ使用してください。" #: ../../migrating.rst:978 msgid ":meth:`.HelpCommand.prepare_help_command`" -msgstr "" +msgstr ":meth:`.HelpCommand.prepare_help_command`" #: ../../migrating.rst:978 -msgid "A coroutine that is called right before the help command processing is done." +msgid "" +"A coroutine that is called right before the help command processing is " +"done." msgstr "ヘルプコマンドの処理が行われる前に呼び出されるコルーチン。" #: ../../migrating.rst:980 @@ -1838,23 +2261,49 @@ msgid "Certain subclasses can implement more customisable methods." msgstr "特定のサブクラスはさらにカスタマイズ可能なメソッドを実装できます。" #: ../../migrating.rst:982 -msgid "The old ``HelpFormatter`` was replaced with :class:`~.commands.DefaultHelpCommand`\\, which implements all of the logic of the old help command. The customisable methods can be found in the accompanying documentation." -msgstr "以前の ``HelpFormatter`` はその機能を全て実装した :class:`~.commands.DefaultHelpCommand` に置き換えられました。カスタマイズメソッドは添付のドキュメントで確認することができます。" +msgid "" +"The old ``HelpFormatter`` was replaced with " +":class:`~.commands.DefaultHelpCommand`\\, which implements all of the " +"logic of the old help command. The customisable methods can be found in " +"the accompanying documentation." +msgstr "" +"以前の ``HelpFormatter`` はその機能を全て実装した :class:`~.commands.DefaultHelpCommand`" +" に置き換えられました。カスタマイズメソッドは添付のドキュメントで確認することができます。" #: ../../migrating.rst:984 -msgid "The library now provides a new more minimalistic :class:`~.commands.HelpCommand` implementation that doesn't take as much space, :class:`~.commands.MinimalHelpCommand`. The customisable methods can also be found in the accompanying documentation." -msgstr "このライブラリは多くのスペースをとらない、より小規模化した :class:`~.commands.HelpCommand` の実装である :class:`~.commands.MinimalHelpCommand` を提供します。カスタマイズ可能なメソッドは付随のドキュメントから確認することが可能です。" +msgid "" +"The library now provides a new more minimalistic " +":class:`~.commands.HelpCommand` implementation that doesn't take as much " +"space, :class:`~.commands.MinimalHelpCommand`. The customisable methods " +"can also be found in the accompanying documentation." +msgstr "" +"このライブラリは多くのスペースをとらない、より小規模化した :class:`~.commands.HelpCommand` の実装である " +":class:`~.commands.MinimalHelpCommand` " +"を提供します。カスタマイズ可能なメソッドは付随のドキュメントから確認することが可能です。" #: ../../migrating.rst:986 -msgid "A frequent request was if you could associate a help command with a cog. The new design allows for dynamically changing of cog through binding it to the :attr:`.HelpCommand.cog` attribute. After this assignment the help command will pretend to be part of the cog and everything should work as expected. When the cog is unloaded then the help command will be \"unbound\" from the cog." -msgstr "ヘルプコマンドをコグに関連付けることはできないのかという要望が多くありました。この新しい設計では :attr:`.HelpCommand.cog` にバインドすることでコグを動的に変更することが可能です。この割当をおこなった後、ヘルプコマンドはコグの一部として、期待通りの動きをするでしょう。コグがアンロードされると、ヘルプコマンドはコグから「バインド解除」されます。" +msgid "" +"A frequent request was if you could associate a help command with a cog. " +"The new design allows for dynamically changing of cog through binding it " +"to the :attr:`.HelpCommand.cog` attribute. After this assignment the help" +" command will pretend to be part of the cog and everything should work as" +" expected. When the cog is unloaded then the help command will be " +"\"unbound\" from the cog." +msgstr "" +"ヘルプコマンドをコグに関連付けることはできないのかという要望が多くありました。この新しい設計では :attr:`.HelpCommand.cog`" +" " +"にバインドすることでコグを動的に変更することが可能です。この割当をおこなった後、ヘルプコマンドはコグの一部として、期待通りの動きをするでしょう。コグがアンロードされると、ヘルプコマンドはコグから「バインド解除」されます。" #: ../../migrating.rst:988 -msgid "For example, to implement a :class:`~.commands.HelpCommand` in a cog, the following snippet can be used." +msgid "" +"For example, to implement a :class:`~.commands.HelpCommand` in a cog, the" +" following snippet can be used." msgstr "例えば、 :class:`~.commands.HelpCommand` をコグに実装するには、次のコードが役立つでしょう。" #: ../../migrating.rst:1005 -msgid "For more information, check out the relevant :ref:`documentation `." +msgid "" +"For more information, check out the relevant :ref:`documentation " +"`." msgstr "詳しくは、:ref:`こちらの説明 `をご覧ください。" #: ../../migrating.rst:1008 @@ -1862,24 +2311,33 @@ msgid "Cog Changes" msgstr "コグの変更" #: ../../migrating.rst:1010 -msgid "Cogs have completely been revamped. They are documented in :ref:`ext_commands_cogs` as well." +msgid "" +"Cogs have completely been revamped. They are documented in " +":ref:`ext_commands_cogs` as well." msgstr "コグは完全に刷新されました。これは :ref:`ext_commands_cogs` としてドキュメント化されています。" #: ../../migrating.rst:1012 -msgid "Cogs are now required to have a base class, :class:`~.commands.Cog` for future proofing purposes. This comes with special methods to customise some behaviour." -msgstr "コグは将来的な校正のためのクラスである :class:`~.commands.Cog` を基底クラスとして持つ必要があります。このクラスには動作のカスタマイズのために、特別なメソッドが用意されています。" +msgid "" +"Cogs are now required to have a base class, :class:`~.commands.Cog` for " +"future proofing purposes. This comes with special methods to customise " +"some behaviour." +msgstr "" +"コグは将来的な校正のためのクラスである :class:`~.commands.Cog` " +"を基底クラスとして持つ必要があります。このクラスには動作のカスタマイズのために、特別なメソッドが用意されています。" #: ../../migrating.rst:1014 msgid ":meth:`.Cog.cog_unload`" -msgstr "" +msgstr ":meth:`.Cog.cog_unload`" #: ../../migrating.rst:1015 -msgid "This is called when a cog needs to do some cleanup, such as cancelling a task." +msgid "" +"This is called when a cog needs to do some cleanup, such as cancelling a " +"task." msgstr "これはタスクのキャンセルのような、コグに何らかのクリーンアップが必要なときに呼び出されます。" #: ../../migrating.rst:1016 msgid ":meth:`.Cog.bot_check_once`" -msgstr "" +msgstr ":meth:`.Cog.bot_check_once`" #: ../../migrating.rst:1017 msgid "This registers a :meth:`.Bot.check_once` check." @@ -1887,7 +2345,7 @@ msgstr "これは :meth:`.Bot.check_once` チェックを登録します。" #: ../../migrating.rst:1018 msgid ":meth:`.Cog.bot_check`" -msgstr "" +msgstr ":meth:`.Cog.bot_check`" #: ../../migrating.rst:1019 msgid "This registers a regular :meth:`.Bot.check` check." @@ -1895,7 +2353,7 @@ msgstr "これは普通の :meth:`.Bot.check` チェックを登録します。" #: ../../migrating.rst:1020 msgid ":meth:`.Cog.cog_check`" -msgstr "" +msgstr ":meth:`.Cog.cog_check`" #: ../../migrating.rst:1021 msgid "This registers a check that applies to every command in the cog." @@ -1903,10 +2361,12 @@ msgstr "これはコグのすべてのコマンドに適用されるチェック #: ../../migrating.rst:1022 msgid ":meth:`.Cog.cog_command_error`" -msgstr "" +msgstr ":meth:`.Cog.cog_command_error`" #: ../../migrating.rst:1023 -msgid "This is a special error handler that is called whenever an error happens inside the cog." +msgid "" +"This is a special error handler that is called whenever an error happens " +"inside the cog." msgstr "これは特別なエラーハンドラで、コグ内でエラーが発生するたびに呼び出されます。" #: ../../migrating.rst:1025 @@ -1914,19 +2374,34 @@ msgid ":meth:`.Cog.cog_before_invoke` and :meth:`.Cog.cog_after_invoke`" msgstr ":meth:`.Cog.cog_before_invoke` と :meth:`.Cog.cog_after_invoke`" #: ../../migrating.rst:1025 -msgid "A special method that registers a cog before and after invoke hook. More information can be found in :ref:`migrating_1_0_before_after_hook`." -msgstr "コグの前後に呼び出されるフックを登録する特別なメソッド。詳細は :ref:`migrating_1_0_before_after_hook` に記載されています。" +msgid "" +"A special method that registers a cog before and after invoke hook. More " +"information can be found in :ref:`migrating_1_0_before_after_hook`." +msgstr "" +"コグの前後に呼び出されるフックを登録する特別なメソッド。詳細は :ref:`migrating_1_0_before_after_hook` " +"に記載されています。" #: ../../migrating.rst:1027 -msgid "Those that were using listeners, such as ``on_message`` inside a cog will now have to explicitly mark them as such using the :meth:`.commands.Cog.listener` decorator." -msgstr "コグ内で ``on_message`` のようなリスナーを使用していた人は、 :meth:`.commands.Cog.listener` デコレータを用いて、リスナーを明示する必要があります。" +msgid "" +"Those that were using listeners, such as ``on_message`` inside a cog will" +" now have to explicitly mark them as such using the " +":meth:`.commands.Cog.listener` decorator." +msgstr "" +"コグ内で ``on_message`` のようなリスナーを使用していた人は、 :meth:`.commands.Cog.listener` " +"デコレータを用いて、リスナーを明示する必要があります。" #: ../../migrating.rst:1029 -msgid "Along with that, cogs have gained the ability to have custom names through specifying it in the class definition line. More options can be found in the metaclass that facilitates all this, :class:`.commands.CogMeta`." +msgid "" +"Along with that, cogs have gained the ability to have custom names " +"through specifying it in the class definition line. More options can be " +"found in the metaclass that facilitates all this, " +":class:`.commands.CogMeta`." msgstr "それによって、コグはクラス定義の行で指定することによって、独自の名前を持てるようになりました。オプションはこれらを容易にするメタクラス、:class:`.commands.CogMeta`で見つかります。" #: ../../migrating.rst:1031 -msgid "An example cog with every special method registered and a custom name is as follows:" +msgid "" +"An example cog with every special method registered and a custom name is " +"as follows:" msgstr "すべての特別なメソッドを使用し、そして名前を指定したコグの例が以下のようになります:" #: ../../migrating.rst:1068 @@ -1934,11 +2409,15 @@ msgid "Before and After Invocation Hooks" msgstr "前後処理のフック" #: ../../migrating.rst:1070 -msgid "Commands have gained new before and after invocation hooks that allow you to do an action before and after a command is run." +msgid "" +"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:1073 -msgid "They take a single parameter, :class:`~ext.commands.Context` and they must be a coroutine." +msgid "" +"They take a single parameter, :class:`~ext.commands.Context` and they " +"must be a coroutine." msgstr "これは単一のパラメータとして :class:`~ext.commands.Context` を受け取り、かつコルーチンである必要があります。" #: ../../migrating.rst:1075 @@ -1946,19 +2425,30 @@ msgid "They are on a global, per-cog, or per-command basis." msgstr "また、このフックは全体、コグごと、あるいはコマンドごとに設定することが可能です。" #: ../../migrating.rst:1092 -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." -msgstr "後処理のフックは **コマンドのエラー発生に関わらず** 必ず呼び出されます。そのため、データベース接続のようなリソースのクリーンアップやエラー処理に最適です。" +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." +msgstr "" +"後処理のフックは **コマンドのエラー発生に関わらず** " +"必ず呼び出されます。そのため、データベース接続のようなリソースのクリーンアップやエラー処理に最適です。" #: ../../migrating.rst:1095 msgid "The per-command registration is as follows: ::" msgstr "コマンドごとに設定する方法は以下のとおりです。" #: ../../migrating.rst:1111 -msgid "The special cog method for these is :meth:`.Cog.cog_before_invoke` and :meth:`.Cog.cog_after_invoke`, e.g.:" -msgstr "これらのコグ用の特別なメソッドは:meth:`.Cog.cog_before_invoke` と :meth:`.Cog.cog_after_invoke`です。例:" +msgid "" +"The special cog method for these is :meth:`.Cog.cog_before_invoke` and " +":meth:`.Cog.cog_after_invoke`, e.g.:" +msgstr "" +"これらのコグ用の特別なメソッドは:meth:`.Cog.cog_before_invoke` と " +":meth:`.Cog.cog_after_invoke`です。例:" #: ../../migrating.rst:1126 -msgid "To check if a command failed in the after invocation hook, you can use :attr:`.Context.command_failed`." +msgid "" +"To check if a command failed in the after invocation hook, you can use " +":attr:`.Context.command_failed`." msgstr ":attr:`.Context.command_failed` を使うことで、後処理でコマンドがエラーになったかを確認する事ができます。" #: ../../migrating.rst:1129 @@ -1998,32 +2488,51 @@ msgid "Converter Changes" msgstr "コンバーターの変更" #: ../../migrating.rst:1142 -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." +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." msgstr "v1.0以前では、コンバーターはユーザーにより渡された引数を、文字列の単独引数として呼び出す型ヒントでした。" #: ../../migrating.rst:1145 -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." +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." msgstr "" #: ../../migrating.rst:1149 -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." +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." msgstr "" +"v1.0ではこのコンバーターシステムは :class:`~ext.commands.Converter` " +"派生のクラスを用いることができるよう変更されました。一貫性を保つため、 " +":meth:`~ext.commands.Converter.convert` は常にコルーチンとるよう変更され、二つのパラメータを受け取ります。" #: ../../migrating.rst:1153 msgid "Essentially, before: ::" -msgstr "" +msgstr "更新前: ::" #: ../../migrating.rst:1165 msgid "The command framework also got a couple new converters:" msgstr "コマンドフレームワークにも二つのコンバーターが追加されました。" #: ../../migrating.rst:1167 -msgid ":class:`~ext.commands.clean_content` this is akin to :attr:`Message.clean_content` which scrubs mentions." +msgid "" +":class:`~ext.commands.clean_content` this is akin to " +":attr:`Message.clean_content` which scrubs mentions." msgstr "" #: ../../migrating.rst:1168 -msgid ":class:`~ext.commands.UserConverter` will now appropriately convert :class:`User` only." -msgstr "" +msgid "" +":class:`~ext.commands.UserConverter` will now appropriately convert " +":class:`User` only." +msgstr ":class:`~ext.commands.UserConverter` は :class:`User` だけを適切に変換します。" #: ../../migrating.rst:1169 msgid "``ChannelConverter`` is now split into two different converters." diff --git a/docs/locale/ja/LC_MESSAGES/migrating_to_async.po b/docs/locale/ja/LC_MESSAGES/migrating_to_async.po index a0704d17c..3321f5074 100644 --- a/docs/locale/ja/LC_MESSAGES/migrating_to_async.po +++ b/docs/locale/ja/LC_MESSAGES/migrating_to_async.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: migrating_to_async.pot\n" +"X-Crowdin-File-ID: 48\n" "Language: ja_JP\n" #: ../../migrating_to_async.rst:8 diff --git a/docs/locale/ja/LC_MESSAGES/quickstart.po b/docs/locale/ja/LC_MESSAGES/quickstart.po index 1673f9cd1..e6b93758b 100644 --- a/docs/locale/ja/LC_MESSAGES/quickstart.po +++ b/docs/locale/ja/LC_MESSAGES/quickstart.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: quickstart.pot\n" +"X-Crowdin-File-ID: 50\n" "Language: ja_JP\n" #: ../../quickstart.rst:6 diff --git a/docs/locale/ja/LC_MESSAGES/sphinx.po b/docs/locale/ja/LC_MESSAGES/sphinx.po index 72156b000..cdf43dd4b 100644 --- a/docs/locale/ja/LC_MESSAGES/sphinx.po +++ b/docs/locale/ja/LC_MESSAGES/sphinx.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: sphinx.pot\n" +"X-Crowdin-File-ID: 70\n" "Language: ja_JP\n" #: ../../_templates/layout.html:24 diff --git a/docs/locale/ja/LC_MESSAGES/version_guarantees.po b/docs/locale/ja/LC_MESSAGES/version_guarantees.po index 28ed413c6..d66cd38be 100644 --- a/docs/locale/ja/LC_MESSAGES/version_guarantees.po +++ b/docs/locale/ja/LC_MESSAGES/version_guarantees.po @@ -3,17 +3,18 @@ msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-06-22 09:35-0400\n" -"PO-Revision-Date: 2019-06-28 11:14\n" -"Last-Translator: Danny Y (rapptz)\n" +"PO-Revision-Date: 2020-10-24 02:41\n" +"Last-Translator: \n" "Language-Team: Japanese\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: crowdin.com\n" "X-Crowdin-Project: discordpy\n" +"X-Crowdin-Project-ID: 362783\n" "X-Crowdin-Language: ja\n" "X-Crowdin-File: version_guarantees.pot\n" +"X-Crowdin-File-ID: 46\n" "Language: ja_JP\n" #: ../../version_guarantees.rst:4 diff --git a/docs/locale/ja/LC_MESSAGES/whats_new.po b/docs/locale/ja/LC_MESSAGES/whats_new.po index 2d5fba1d1..ebcc0cd47 100644 --- a/docs/locale/ja/LC_MESSAGES/whats_new.po +++ b/docs/locale/ja/LC_MESSAGES/whats_new.po @@ -3,9 +3,9 @@ msgid "" msgstr "" "Project-Id-Version: discordpy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-06-28 07:15-0400\n" -"PO-Revision-Date: 2019-06-28 11:14+0000\n" -"Last-Translator: Danny Y (rapptz)\n" +"POT-Creation-Date: 2020-10-23 22:41-0400\n" +"PO-Revision-Date: 2020-10-24 02:41+0000\n" +"Last-Translator: \n" "Language: ja_JP\n" "Language-Team: Japanese\n" "Plural-Forms: nplurals=1; plural=0\n" @@ -26,508 +26,2011 @@ msgstr "このページでは、特定のバージョンの新機能や変更さ #: ../../whats_new.rst:17 #, fuzzy -msgid "v1.2.3" +msgid "v1.5.1" +msgstr "v1.2.1" + +#: ../../whats_new.rst:20 ../../whats_new.rst:73 ../../whats_new.rst:107 +#: ../../whats_new.rst:133 ../../whats_new.rst:204 ../../whats_new.rst:255 +#: ../../whats_new.rst:265 ../../whats_new.rst:280 ../../whats_new.rst:298 +#: ../../whats_new.rst:383 ../../whats_new.rst:434 ../../whats_new.rst:444 +#: ../../whats_new.rst:459 ../../whats_new.rst:473 ../../whats_new.rst:483 +#: ../../whats_new.rst:519 ../../whats_new.rst:549 ../../whats_new.rst:591 +#: ../../whats_new.rst:631 ../../whats_new.rst:652 ../../whats_new.rst:668 +#: ../../whats_new.rst:688 ../../whats_new.rst:736 ../../whats_new.rst:753 +#: ../../whats_new.rst:790 ../../whats_new.rst:826 ../../whats_new.rst:878 +#: ../../whats_new.rst:922 ../../whats_new.rst:988 +msgid "Bug Fixes" +msgstr "バグ修正" + +#: ../../whats_new.rst:22 +msgid "" +"Fix :func:`utils.escape_markdown` not escaping quotes properly " +"(:issue:`5897`)" +msgstr "" + +#: ../../whats_new.rst:23 +msgid "Fix :class:`Message` not being hashable (:issue:`5901`, :issue:`5866`)" +msgstr "" + +#: ../../whats_new.rst:24 +msgid "Fix moving channels to the end of the channel list (:issue:`5923`)" +msgstr "" + +#: ../../whats_new.rst:25 +msgid "" +"Fix seemingly strange behaviour in ``__eq__`` for " +":class:`PermissionOverwrite` (:issue:`5929`)" +msgstr "" + +#: ../../whats_new.rst:26 +msgid "" +"Fix aliases showing up in ``__iter__`` for :class:`Intents` " +"(:issue:`5945`)" +msgstr "" + +#: ../../whats_new.rst:27 +msgid "" +"Fix the bot disconnecting from voice when moving them to another channel " +"(:issue:`5904`)" +msgstr "" + +#: ../../whats_new.rst:28 +msgid "" +"Fix attribute errors when chunking times out sometimes during delayed " +"on_ready dispatching." +msgstr "" + +#: ../../whats_new.rst:29 +msgid "" +"Ensure that the bot's own member is not evicted from the cache " +"(:issue:`5949`)" +msgstr "" + +#: ../../whats_new.rst:32 ../../whats_new.rst:88 ../../whats_new.rst:122 +#: ../../whats_new.rst:232 ../../whats_new.rst:304 ../../whats_new.rst:407 +#: ../../whats_new.rst:527 ../../whats_new.rst:554 ../../whats_new.rst:612 +msgid "Miscellaneous" +msgstr "" + +#: ../../whats_new.rst:34 +msgid "" +"Members are now loaded during ``GUILD_MEMBER_UPDATE`` events if " +":attr:`MemberCacheFlags.joined` is set. (:issue:`5930`)" +msgstr "" + +#: ../../whats_new.rst:35 +msgid "" +"|commands| :class:`MemberConverter ` now " +"properly lazily fetches members if not available from cache." +msgstr "" + +#: ../../whats_new.rst:36 +msgid "This is the same as having ``discord.Member`` as the type-hint." +msgstr "" + +#: ../../whats_new.rst:37 +msgid "" +":meth:`Guild.chunk` now allows concurrent calls without spamming the " +"gateway with requests." +msgstr "" + +#: ../../whats_new.rst:42 +#, fuzzy +msgid "v1.5.0" +msgstr "v1.2.0" + +#: ../../whats_new.rst:44 +msgid "" +"This version came with forced breaking changes that Discord is requiring " +"all bots to go through on October 7th. It is highly recommended to read " +"the documentation on intents, :ref:`intents_primer`." +msgstr "" + +#: ../../whats_new.rst:47 +#, fuzzy +msgid "API Changes" +msgstr "破壊的変更" + +#: ../../whats_new.rst:49 +msgid "" +"Members and presences will no longer be retrieved due to an API change. " +"See :ref:`privileged_intents` for more info." +msgstr "" + +#: ../../whats_new.rst:50 +msgid "" +"As a consequence, fetching offline members is disabled if the members " +"intent is not enabled." +msgstr "" + +#: ../../whats_new.rst:53 ../../whats_new.rst:147 ../../whats_new.rst:317 +#: ../../whats_new.rst:496 ../../whats_new.rst:564 ../../whats_new.rst:682 +#: ../../whats_new.rst:714 ../../whats_new.rst:747 ../../whats_new.rst:776 +#: ../../whats_new.rst:803 ../../whats_new.rst:839 ../../whats_new.rst:899 +#: ../../whats_new.rst:945 +msgid "New Features" +msgstr "新機能" + +#: ../../whats_new.rst:55 +msgid "" +"Support for gateway intents, passed via ``intents`` in :class:`Client` " +"using :class:`Intents`." +msgstr "" + +#: ../../whats_new.rst:56 +msgid "Add :attr:`VoiceRegion.south_korea` (:issue:`5233`)" +msgstr "" + +#: ../../whats_new.rst:57 +msgid "Add support for ``__eq__`` for :class:`Message` (:issue:`5789`)" +msgstr "" + +#: ../../whats_new.rst:58 +msgid "Add :meth:`Colour.dark_theme` factory method (:issue:`1584`)" +msgstr "" + +#: ../../whats_new.rst:59 +msgid "" +"Add :meth:`AllowedMentions.none` and :meth:`AllowedMentions.all` " +"(:issue:`5785`)" +msgstr "" + +#: ../../whats_new.rst:60 +msgid "" +"Add more concrete exceptions for 500 class errors under " +":class:`DiscordServerError` (:issue:`5797`)" +msgstr "" + +#: ../../whats_new.rst:61 +msgid "Implement :class:`VoiceProtocol` to better intersect the voice flow." +msgstr "" + +#: ../../whats_new.rst:62 +msgid "Add :meth:`Guild.chunk` to fully chunk a guild." +msgstr "" + +#: ../../whats_new.rst:63 +msgid "" +"Add :class:`MemberCacheFlags` to better control member cache. See " +":ref:`intents_member_cache` for more info." +msgstr "" + +#: ../../whats_new.rst:65 +msgid "Add support for :attr:`ActivityType.competing` (:issue:`5823`)" +msgstr "" + +#: ../../whats_new.rst:65 +msgid "This seems currently unused API wise." +msgstr "" + +#: ../../whats_new.rst:67 +msgid "" +"Add support for message references, :attr:`Message.reference` " +"(:issue:`5754`, :issue:`5832`)" +msgstr "" + +#: ../../whats_new.rst:68 +msgid "" +"Add alias for :class:`ColourConverter` under ``ColorConverter`` " +"(:issue:`5773`)" +msgstr "" + +#: ../../whats_new.rst:69 +msgid "" +"Add alias for :attr:`PublicUserFlags.verified_bot_developer` under " +":attr:`PublicUserFlags.early_verified_bot_developer` (:issue:`5849`)" +msgstr "" + +#: ../../whats_new.rst:70 +msgid "" +"|commands| Add support for ``require_var_positional`` for " +":class:`Command` (:issue:`5793`)" +msgstr "" + +#: ../../whats_new.rst:75 ../../whats_new.rst:109 +msgid "Fix issue with :meth:`Guild.by_category` not showing certain channels." +msgstr "" + +#: ../../whats_new.rst:76 ../../whats_new.rst:110 +msgid "" +"Fix :attr:`abc.GuildChannel.permissions_synced` always being ``False`` " +"(:issue:`5772`)" +msgstr "" + +#: ../../whats_new.rst:77 ../../whats_new.rst:111 +msgid "" +"Fix handling of cloudflare bans on webhook related requests " +"(:issue:`5221`)" +msgstr "" + +#: ../../whats_new.rst:78 ../../whats_new.rst:112 +msgid "" +"Fix cases where a keep-alive thread would ack despite already dying " +"(:issue:`5800`)" +msgstr "" + +#: ../../whats_new.rst:79 ../../whats_new.rst:113 +msgid "" +"Fix cases where a :class:`Member` reference would be stale when cache is " +"disabled in message events (:issue:`5819`)" +msgstr "" + +#: ../../whats_new.rst:80 ../../whats_new.rst:114 +msgid "" +"Fix ``allowed_mentions`` not being sent when sending a single file " +"(:issue:`5835`)" +msgstr "" + +#: ../../whats_new.rst:81 ../../whats_new.rst:115 +msgid "" +"Fix ``overwrites`` being ignored in :meth:`abc.GuildChannel.edit` if " +"``{}`` is passed (:issue:`5756`, :issue:`5757`)" +msgstr "" + +#: ../../whats_new.rst:82 ../../whats_new.rst:116 +msgid "" +"|commands| Fix exceptions being raised improperly in command invoke hooks" +" (:issue:`5799`)" +msgstr "" + +#: ../../whats_new.rst:83 ../../whats_new.rst:117 +msgid "" +"|commands| Fix commands not being properly ejected during errors in a cog" +" injection (:issue:`5804`)" +msgstr "" + +#: ../../whats_new.rst:84 ../../whats_new.rst:118 +msgid "|commands| Fix cooldown timing ignoring edited timestamps." +msgstr "" + +#: ../../whats_new.rst:85 ../../whats_new.rst:119 +msgid "" +"|tasks| Fix tasks extending the next iteration on handled exceptions " +"(:issue:`5762`, :issue:`5763`)" +msgstr "" + +#: ../../whats_new.rst:90 +msgid "Webhook requests are now logged (:issue:`5798`)" +msgstr "" + +#: ../../whats_new.rst:91 ../../whats_new.rst:124 +msgid "" +"Remove caching layer from :attr:`AutoShardedClient.shards`. This was " +"causing issues if queried before launching shards." +msgstr "" + +#: ../../whats_new.rst:92 +msgid "Gateway rate limits are now handled." +msgstr "" + +#: ../../whats_new.rst:93 +msgid "Warnings logged due to missed caches are now changed to DEBUG log level." +msgstr "" + +#: ../../whats_new.rst:94 +msgid "Some strings are now explicitly interned to reduce memory usage." +msgstr "" + +#: ../../whats_new.rst:95 +msgid "" +"Usage of namedtuples has been reduced to avoid potential breaking changes" +" in the future (:issue:`5834`)" +msgstr "" + +#: ../../whats_new.rst:96 +msgid "" +"|commands| All :class:`BadArgument` exceptions from the built-in " +"converters now raise concrete exceptions to better tell them apart " +"(:issue:`5748`)" +msgstr "" + +#: ../../whats_new.rst:97 ../../whats_new.rst:125 +msgid "" +"|tasks| Lazily fetch the event loop to prevent surprises when changing " +"event loop policy (:issue:`5808`)" +msgstr "" + +#: ../../whats_new.rst:102 +#, fuzzy +msgid "v1.4.2" +msgstr "v1.2.2" + +#: ../../whats_new.rst:104 +msgid "This is a maintenance release with backports from :ref:`vp1p5p0`." +msgstr "" + +#: ../../whats_new.rst:130 +#, fuzzy +msgid "v1.4.1" +msgstr "v1.2.1" + +#: ../../whats_new.rst:135 +msgid "" +"Properly terminate the connection when :meth:`Client.close` is called " +"(:issue:`5207`)" +msgstr "" + +#: ../../whats_new.rst:136 +msgid "" +"Fix error being raised when clearing embed author or image when it was " +"already cleared (:issue:`5210`, :issue:`5212`)" +msgstr "" + +#: ../../whats_new.rst:137 +msgid "Fix ``__path__`` to allow editable extensions (:issue:`5213`)" +msgstr "" + +#: ../../whats_new.rst:142 +#, fuzzy +msgid "v1.4.0" +msgstr "v1.2.0" + +#: ../../whats_new.rst:144 +msgid "" +"Another version with a long development time. Features like Intents are " +"slated to be released in a v1.5 release. Thank you for your patience!" +msgstr "" + +#: ../../whats_new.rst:151 +msgid "" +"Add support for :class:`AllowedMentions` to have more control over what " +"gets mentioned." +msgstr "" + +#: ../../whats_new.rst:150 +msgid "This can be set globally through :attr:`Client.allowed_mentions`" +msgstr "" + +#: ../../whats_new.rst:151 +msgid "" +"This can also be set on a per message basis via " +":meth:`abc.Messageable.send`" +msgstr "" + +#: ../../whats_new.rst:159 +msgid "" +":class:`AutoShardedClient` has been completely redesigned from the ground" +" up to better suit multi-process clusters (:issue:`2654`)" +msgstr "" + +#: ../../whats_new.rst:154 +msgid "" +"Add :class:`ShardInfo` which allows fetching specific information about a" +" shard." +msgstr "" + +#: ../../whats_new.rst:155 +msgid "" +"The :class:`ShardInfo` allows for reconnecting and disconnecting of a " +"specific shard as well." +msgstr "" + +#: ../../whats_new.rst:156 +msgid "" +"Add :meth:`AutoShardedClient.get_shard` and " +":attr:`AutoShardedClient.shards` to get information about shards." +msgstr "" + +#: ../../whats_new.rst:157 +msgid "" +"Rework the entire connection flow to better facilitate the ``IDENTIFY`` " +"rate limits." +msgstr "" + +#: ../../whats_new.rst:158 +msgid "" +"Add a hook :meth:`Client.before_identify_hook` to have better control " +"over what happens before an ``IDENTIFY`` is done." +msgstr "" + +#: ../../whats_new.rst:159 +msgid "" +"Add more shard related events such as :func:`on_shard_connect`, " +":func:`on_shard_disconnect` and :func:`on_shard_resumed`." +msgstr "" + +#: ../../whats_new.rst:165 +msgid "Add support for guild templates (:issue:`2652`)" +msgstr "" + +#: ../../whats_new.rst:162 +msgid "This adds :class:`Template` to read a template's information." +msgstr "" + +#: ../../whats_new.rst:163 +msgid "" +":meth:`Client.fetch_template` can be used to fetch a template's " +"information from the API." +msgstr "" + +#: ../../whats_new.rst:164 +msgid "" +":meth:`Client.create_guild` can now take an optional template to base the" +" creation from." +msgstr "" + +#: ../../whats_new.rst:165 +msgid "" +"Note that fetching a guild's template is currently restricted for bot " +"accounts." +msgstr "" + +#: ../../whats_new.rst:175 +msgid "Add support for guild integrations (:issue:`2051`, :issue:`1083`)" +msgstr "" + +#: ../../whats_new.rst:168 +msgid ":class:`Integration` is used to read integration information." +msgstr "" + +#: ../../whats_new.rst:169 +msgid "" +":class:`IntegrationAccount` is used to read integration account " +"information." +msgstr "" + +#: ../../whats_new.rst:170 +msgid ":meth:`Guild.integrations` will fetch all integrations in a guild." +msgstr "" + +#: ../../whats_new.rst:171 +msgid ":meth:`Guild.create_integration` will create an integration." +msgstr "" + +#: ../../whats_new.rst:172 +msgid ":meth:`Integration.edit` will edit an existing integration." +msgstr "" + +#: ../../whats_new.rst:173 +msgid ":meth:`Integration.delete` will delete an integration." +msgstr "" + +#: ../../whats_new.rst:174 +msgid ":meth:`Integration.sync` will sync an integration." +msgstr "" + +#: ../../whats_new.rst:175 +msgid "There is currently no support in the audit log for this." +msgstr "" + +#: ../../whats_new.rst:177 +msgid "" +"Add an alias for :attr:`VerificationLevel.extreme` under " +":attr:`VerificationLevel.very_high` (:issue:`2650`)" +msgstr "" + +#: ../../whats_new.rst:178 +msgid "Add various grey to gray aliases for :class:`Colour` (:issue:`5130`)" +msgstr "" + +#: ../../whats_new.rst:179 +msgid "" +"Added :attr:`VoiceClient.latency` and :attr:`VoiceClient.average_latency`" +" (:issue:`2535`)" +msgstr "" + +#: ../../whats_new.rst:180 +msgid "" +"Add ``use_cached`` and ``spoiler`` parameters to " +":meth:`Attachment.to_file` (:issue:`2577`, :issue:`4095`)" +msgstr "" + +#: ../../whats_new.rst:181 +msgid "" +"Add ``position`` parameter support to :meth:`Guild.create_category` " +"(:issue:`2623`)" +msgstr "" + +#: ../../whats_new.rst:182 +msgid "Allow passing ``int`` for the colour in :meth:`Role.edit` (:issue:`4057`)" +msgstr "" + +#: ../../whats_new.rst:183 +msgid "" +"Add :meth:`Embed.remove_author` to clear author information from an embed" +" (:issue:`4068`)" +msgstr "" + +#: ../../whats_new.rst:184 +msgid "" +"Add the ability to clear images and thumbnails in embeds using " +":attr:`Embed.Empty` (:issue:`4053`)" +msgstr "" + +#: ../../whats_new.rst:185 +msgid "Add :attr:`Guild.max_video_channel_users` (:issue:`4120`)" +msgstr "" + +#: ../../whats_new.rst:186 +msgid "Add :attr:`Guild.public_updates_channel` (:issue:`4120`)" +msgstr "" + +#: ../../whats_new.rst:187 +msgid "" +"Add ``guild_ready_timeout`` parameter to :class:`Client` and subclasses " +"to control timeouts when the ``GUILD_CREATE`` stream takes too long " +"(:issue:`4112`)" +msgstr "" + +#: ../../whats_new.rst:188 +msgid "" +"Add support for public user flags via :attr:`User.public_flags` and " +":class:`PublicUserFlags` (:issue:`3999`)" +msgstr "" + +#: ../../whats_new.rst:189 +msgid "" +"Allow changing of channel types via :meth:`TextChannel.edit` to and from " +"a news channel (:issue:`4121`)" +msgstr "" + +#: ../../whats_new.rst:190 +msgid "" +"Add :meth:`Guild.edit_role_positions` to bulk edit role positions in a " +"single API call (:issue:`2501`, :issue:`2143`)" +msgstr "" + +#: ../../whats_new.rst:191 +msgid "" +"Add :meth:`Guild.change_voice_state` to change your voice state in a " +"guild (:issue:`5088`)" +msgstr "" + +#: ../../whats_new.rst:192 +msgid "" +"Add :meth:`PartialInviteGuild.is_icon_animated` for checking if the " +"invite guild has animated icon (:issue:`4180`, :issue:`4181`)" +msgstr "" + +#: ../../whats_new.rst:193 +msgid "" +"Add :meth:`PartialInviteGuild.icon_url_as` now supports ``static_format``" +" for consistency (:issue:`4180`, :issue:`4181`)" +msgstr "" + +#: ../../whats_new.rst:194 +msgid "Add support for ``user_ids`` in :meth:`Guild.query_members`" +msgstr "" + +#: ../../whats_new.rst:195 +msgid "" +"Add support for pruning members by roles in :meth:`Guild.prune_members` " +"(:issue:`4043`)" +msgstr "" + +#: ../../whats_new.rst:196 +msgid "" +"|commands| Implement :func:`~ext.commands.before_invoke` and " +":func:`~ext.commands.after_invoke` decorators (:issue:`1986`, " +":issue:`2502`)" +msgstr "" + +#: ../../whats_new.rst:197 +msgid "" +"|commands| Add a way to retrieve ``retry_after`` from a cooldown in a " +"command via :meth:`Command.get_cooldown_retry_after " +"<.ext.commands.Command.get_cooldown_retry_after>` (:issue:`5195`)" +msgstr "" + +#: ../../whats_new.rst:198 +msgid "" +"|commands| Add a way to dynamically add and remove checks from a " +":class:`HelpCommand <.ext.commands.HelpCommand>` (:issue:`5197`)" +msgstr "" + +#: ../../whats_new.rst:199 +msgid "" +"|tasks| Add :meth:`Loop.is_running <.ext.tasks.Loop.is_running>` method " +"to the task objects (:issue:`2540`)" +msgstr "" + +#: ../../whats_new.rst:200 +msgid "" +"|tasks| Allow usage of custom error handlers similar to the command " +"extensions to tasks using :meth:`Loop.error <.ext.tasks.Loop.error>` " +"decorator (:issue:`2621`)" +msgstr "" + +#: ../../whats_new.rst:206 +msgid "" +"Fix issue with :attr:`PartialEmoji.url` reads leading to a failure " +"(:issue:`4015`, :issue:`4016`)" +msgstr "" + +#: ../../whats_new.rst:207 +msgid "" +"Allow :meth:`abc.Messageable.history` to take a limit of ``1`` even if " +"``around`` is passed (:issue:`4019`)" +msgstr "" + +#: ../../whats_new.rst:208 +msgid "" +"Fix :attr:`Guild.member_count` not updating in certain cases when a " +"member has left the guild (:issue:`4021`)" +msgstr "" + +#: ../../whats_new.rst:209 +msgid "" +"Fix the type of :attr:`Object.id` not being validated. For backwards " +"compatibility ``str`` is still allowed but is converted to ``int`` " +"(:issue:`4002`)" +msgstr "" + +#: ../../whats_new.rst:210 +msgid "" +"Fix :meth:`Guild.edit` not allowing editing of notification settings " +"(:issue:`4074`, :issue:`4047`)" +msgstr "" + +#: ../../whats_new.rst:211 +msgid "" +"Fix crash when the guild widget contains channels that aren't in the " +"payload (:issue:`4114`, :issue:`4115`)" +msgstr "" + +#: ../../whats_new.rst:212 +msgid "" +"Close ffmpeg stdin handling from spawned processes with " +":class:`FFmpegOpusAudio` and :class:`FFmpegPCMAudio` (:issue:`4036`)" +msgstr "" + +#: ../../whats_new.rst:213 +msgid "" +"Fix :func:`utils.escape_markdown` not escaping masked links " +"(:issue:`4206`, :issue:`4207`)" +msgstr "" + +#: ../../whats_new.rst:214 +msgid "" +"Fix reconnect loop due to failed handshake on region change " +"(:issue:`4210`, :issue:`3996`)" +msgstr "" + +#: ../../whats_new.rst:215 +msgid "" +"Fix :meth:`Guild.by_category` not returning empty categories " +"(:issue:`4186`)" +msgstr "" + +#: ../../whats_new.rst:216 +msgid "Fix certain JPEG images not being identified as JPEG (:issue:`5143`)" +msgstr "" + +#: ../../whats_new.rst:217 +msgid "" +"Fix a crash when an incomplete guild object is used when fetching " +"reaction information (:issue:`5181`)" +msgstr "" + +#: ../../whats_new.rst:218 +msgid "" +"Fix a timeout issue when fetching members using " +":meth:`Guild.query_members`" +msgstr "" + +#: ../../whats_new.rst:219 +msgid "" +"Fix an issue with domain resolution in voice (:issue:`5188`, " +":issue:`5191`)" +msgstr "" + +#: ../../whats_new.rst:220 +msgid "" +"Fix an issue where :attr:`PartialEmoji.id` could be a string " +"(:issue:`4153`, :issue:`4152`)" +msgstr "" + +#: ../../whats_new.rst:221 +msgid "Fix regression where :attr:`Member.activities` would not clear." +msgstr "" + +#: ../../whats_new.rst:222 +msgid "" +"|commands| A :exc:`TypeError` is now raised when :obj:`typing.Optional` " +"is used within :data:`commands.Greedy <.ext.commands.Greedy>` " +"(:issue:`2253`, :issue:`5068`)" +msgstr "" + +#: ../../whats_new.rst:223 +msgid "" +"|commands| :meth:`Bot.walk_commands <.ext.commands.Bot.walk_commands>` no" +" longer yields duplicate commands due to aliases (:issue:`2591`)" +msgstr "" + +#: ../../whats_new.rst:224 +msgid "" +"|commands| Fix regex characters not being escaped in " +":attr:`HelpCommand.clean_prefix <.ext.commands.HelpCommand.clean_prefix>`" +" (:issue:`4058`, :issue:`4071`)" +msgstr "" + +#: ../../whats_new.rst:225 +msgid "" +"|commands| Fix :meth:`Bot.get_command <.ext.commands.Bot.get_command>` " +"from raising errors when a name only has whitespace (:issue:`5124`)" +msgstr "" + +#: ../../whats_new.rst:226 +msgid "" +"|commands| Fix issue with :attr:`Context.subcommand_passed " +"<.ext.commands.Context.subcommand_passed>` not functioning as expected " +"(:issue:`5198`)" +msgstr "" + +#: ../../whats_new.rst:227 +msgid "" +"|tasks| Task objects are no longer stored globally so two class instances" +" can now start two separate tasks (:issue:`2294`)" +msgstr "" + +#: ../../whats_new.rst:228 +msgid "" +"|tasks| Allow cancelling the loop within :meth:`before_loop " +"<.ext.tasks.Loop.before_loop>` (:issue:`4082`)" +msgstr "" + +#: ../../whats_new.rst:234 +msgid "" +"The :attr:`Member.roles` cache introduced in v1.3 was reverted due to " +"issues caused (:issue:`4087`, :issue:`4157`)" +msgstr "" + +#: ../../whats_new.rst:235 +msgid ":class:`Webhook` objects are now comparable and hashable (:issue:`4182`)" +msgstr "" + +#: ../../whats_new.rst:239 +msgid "" +"Some more API requests got a ``reason`` parameter for audit logs " +"(:issue:`5086`)" +msgstr "" + +#: ../../whats_new.rst:237 +msgid ":meth:`TextChannel.follow`" +msgstr "" + +#: ../../whats_new.rst:238 +msgid ":meth:`Message.pin` and :meth:`Message.unpin`" +msgstr "" + +#: ../../whats_new.rst:239 +msgid ":meth:`Webhook.delete` and :meth:`Webhook.edit`" +msgstr "" + +#: ../../whats_new.rst:241 +msgid "" +"For performance reasons ``websockets`` has been dropped in favour of " +"``aiohttp.ws``." +msgstr "" + +#: ../../whats_new.rst:242 +msgid "" +"The blocking logging message now shows the stack trace of where the main " +"thread was blocking" +msgstr "" + +#: ../../whats_new.rst:243 +msgid "" +"The domain name was changed from ``discordapp.com`` to ``discord.com`` to" +" prepare for the required domain migration" +msgstr "" + +#: ../../whats_new.rst:244 +msgid "" +"Reduce memory usage when reconnecting due to stale references being held " +"by the message cache (:issue:`5133`)" +msgstr "" + +#: ../../whats_new.rst:245 +#, python-format +msgid "" +"Optimize :meth:`abc.GuildChannel.permissions_for` by not creating as many" +" temporary objects (20-32% savings)." +msgstr "" + +#: ../../whats_new.rst:246 +msgid "" +"|commands| Raise :exc:`~ext.commands.CommandRegistrationError` instead of" +" :exc:`ClientException` when a duplicate error is registered " +"(:issue:`4217`)" +msgstr "" + +#: ../../whats_new.rst:247 +msgid "" +"|tasks| No longer handle :exc:`HTTPException` by default in the task " +"reconnect loop (:issue:`5193`)" +msgstr "" + +#: ../../whats_new.rst:252 +#, fuzzy +msgid "v1.3.4" +msgstr "v1.2.2" + +#: ../../whats_new.rst:257 +msgid "" +"Fix an issue with channel overwrites causing multiple issues including " +"crashes (:issue:`5109`)" +msgstr "" + +#: ../../whats_new.rst:262 +#, fuzzy +msgid "v1.3.3" +msgstr "v1.2.2" + +#: ../../whats_new.rst:268 +msgid "Change default WS close to 4000 instead of 1000." +msgstr "" + +#: ../../whats_new.rst:268 +msgid "" +"The previous close code caused sessions to be invalidated at a higher " +"frequency than desired." +msgstr "" + +#: ../../whats_new.rst:270 +msgid "Fix ``None`` appearing in ``Member.activities``. (:issue:`2619`)" +msgstr "" + +#: ../../whats_new.rst:275 +#, fuzzy +msgid "v1.3.2" +msgstr "v1.2.2" + +#: ../../whats_new.rst:277 +msgid "Another minor bug fix release." +msgstr "" + +#: ../../whats_new.rst:282 +msgid "" +"Higher the wait time during the ``GUILD_CREATE`` stream before " +"``on_ready`` is fired for :class:`AutoShardedClient`." +msgstr "" + +#: ../../whats_new.rst:283 +msgid "" +":func:`on_voice_state_update` now uses the inner ``member`` payload which" +" should make it more reliable." +msgstr "" + +#: ../../whats_new.rst:284 +msgid "Fix various Cloudflare handling errors (:issue:`2572`, :issue:`2544`)" +msgstr "" + +#: ../../whats_new.rst:285 +msgid "" +"Fix crashes if :attr:`Message.guild` is :class:`Object` instead of " +":class:`Guild`." +msgstr "" + +#: ../../whats_new.rst:286 +msgid "" +"Fix :meth:`Webhook.send` returning an empty string instead of ``None`` " +"when ``wait=False``." +msgstr "" + +#: ../../whats_new.rst:287 +msgid "Fix invalid format specifier in webhook state (:issue:`2570`)" +msgstr "" + +#: ../../whats_new.rst:288 +msgid "" +"|commands| Passing invalid permissions to permission related checks now " +"raises ``TypeError``." +msgstr "" + +#: ../../whats_new.rst:293 +#, fuzzy +msgid "v1.3.1" +msgstr "v1.2.1" + +#: ../../whats_new.rst:295 +msgid "Minor bug fix release." +msgstr "" + +#: ../../whats_new.rst:300 +msgid "Fix fetching invites in guilds that the user is not in." +msgstr "" + +#: ../../whats_new.rst:301 +msgid "" +"Fix the channel returned from :meth:`Client.fetch_channel` raising when " +"sending messages. (:issue:`2531`)" +msgstr "" + +#: ../../whats_new.rst:306 +msgid "Fix compatibility warnings when using the Python 3.9 alpha." +msgstr "" + +#: ../../whats_new.rst:307 +msgid "Change the unknown event logging from WARNING to DEBUG to reduce noise." +msgstr "" + +#: ../../whats_new.rst:312 +#, fuzzy +msgid "v1.3.0" +msgstr "v1.2.0" + +#: ../../whats_new.rst:314 +msgid "" +"This version comes with a lot of bug fixes and new features. It's been in" +" development for a lot longer than was anticipated!" +msgstr "" + +#: ../../whats_new.rst:319 +msgid "" +"Add :meth:`Guild.fetch_members` to fetch members from the HTTP API. " +"(:issue:`2204`)" +msgstr "" + +#: ../../whats_new.rst:320 +msgid "" +"Add :meth:`Guild.fetch_roles` to fetch roles from the HTTP API. " +"(:issue:`2208`)" +msgstr "" + +#: ../../whats_new.rst:321 +msgid "" +"Add support for teams via :class:`Team` when fetching with " +":meth:`Client.application_info`. (:issue:`2239`)" +msgstr "" + +#: ../../whats_new.rst:322 +msgid "Add support for suppressing embeds via :meth:`Message.edit`" +msgstr "" + +#: ../../whats_new.rst:323 +msgid "" +"Add support for guild subscriptions. See the :class:`Client` " +"documentation for more details." +msgstr "" + +#: ../../whats_new.rst:324 +msgid "" +"Add :attr:`VoiceChannel.voice_states` to get voice states without relying" +" on member cache." +msgstr "" + +#: ../../whats_new.rst:325 +msgid "Add :meth:`Guild.query_members` to request members from the gateway." +msgstr "" + +#: ../../whats_new.rst:326 +msgid "Add :class:`FFmpegOpusAudio` and other voice improvements. (:issue:`2258`)" +msgstr "" + +#: ../../whats_new.rst:327 +msgid "" +"Add :attr:`RawMessageUpdateEvent.channel_id` for retrieving channel IDs " +"during raw message updates. (:issue:`2301`)" +msgstr "" + +#: ../../whats_new.rst:328 +msgid "" +"Add :attr:`RawReactionActionEvent.event_type` to disambiguate between " +"reaction addition and removal in reaction events." +msgstr "" + +#: ../../whats_new.rst:329 +msgid "" +"Add :attr:`abc.GuildChannel.permissions_synced` to query whether " +"permissions are synced with the category. (:issue:`2300`, :issue:`2324`)" +msgstr "" + +#: ../../whats_new.rst:330 +msgid "" +"Add :attr:`MessageType.channel_follow_add` message type for announcement " +"channels being followed. (:issue:`2314`)" +msgstr "" + +#: ../../whats_new.rst:331 +msgid "" +"Add :meth:`Message.is_system` to allow for quickly filtering through " +"system messages." +msgstr "" + +#: ../../whats_new.rst:332 +msgid "" +"Add :attr:`VoiceState.self_stream` to indicate whether someone is " +"streaming via Go Live. (:issue:`2343`)" +msgstr "" + +#: ../../whats_new.rst:333 +msgid "" +"Add :meth:`Emoji.is_usable` to check if the client user can use an emoji." +" (:issue:`2349`)" +msgstr "" + +#: ../../whats_new.rst:334 +msgid "" +"Add :attr:`VoiceRegion.europe` and :attr:`VoiceRegion.dubai`. " +"(:issue:`2358`, :issue:`2490`)" +msgstr "" + +#: ../../whats_new.rst:335 +msgid "Add :meth:`TextChannel.follow` to follow a news channel. (:issue:`2367`)" +msgstr "" + +#: ../../whats_new.rst:336 +msgid "Add :attr:`Permissions.view_guild_insights` permission. (:issue:`2415`)" +msgstr "" + +#: ../../whats_new.rst:338 +msgid "" +"Add support for new audit log types. See :ref:`discord-api-audit-logs` " +"for more information. (:issue:`2427`)" +msgstr "" + +#: ../../whats_new.rst:338 +msgid "Note that integration support is not finalized." +msgstr "" + +#: ../../whats_new.rst:340 +msgid "" +"Add :attr:`Webhook.type` to query the type of webhook " +"(:class:`WebhookType`). (:issue:`2441`)" +msgstr "" + +#: ../../whats_new.rst:341 +msgid "" +"Allow bulk editing of channel overwrites through " +":meth:`abc.GuildChannel.edit`. (:issue:`2198`)" +msgstr "" + +#: ../../whats_new.rst:342 +msgid "" +"Add :class:`Activity.created_at` to see when an activity was started. " +"(:issue:`2446`)" +msgstr "" + +#: ../../whats_new.rst:343 +msgid "" +"Add support for ``xsalsa20_poly1305_lite`` encryption mode for voice. " +"(:issue:`2463`)" +msgstr "" + +#: ../../whats_new.rst:344 +msgid "" +"Add :attr:`RawReactionActionEvent.member` to get the member who did the " +"reaction. (:issue:`2443`)" +msgstr "" + +#: ../../whats_new.rst:345 +msgid "" +"Add support for new YouTube streaming via :attr:`Streaming.platform` and " +":attr:`Streaming.game`. (:issue:`2445`)" +msgstr "" + +#: ../../whats_new.rst:346 +msgid "" +"Add :attr:`Guild.discovery_splash_url` to get the discovery splash image " +"asset. (:issue:`2482`)" +msgstr "" + +#: ../../whats_new.rst:348 +msgid "" +"Add :attr:`Guild.rules_channel` to get the rules channel of public " +"guilds. (:issue:`2482`)" +msgstr "" + +#: ../../whats_new.rst:348 +msgid "" +"It should be noted that this feature is restricted to those who are " +"either in Server Discovery or planning to be there." +msgstr "" + +#: ../../whats_new.rst:350 +msgid "" +"Add support for message flags via :attr:`Message.flags` and " +":class:`MessageFlags`. (:issue:`2433`)" +msgstr "" + +#: ../../whats_new.rst:351 +msgid "" +"Add :attr:`User.system` and :attr:`Profile.system` to know whether a user" +" is an official Discord Trust and Safety account." +msgstr "" + +#: ../../whats_new.rst:352 +msgid "" +"Add :attr:`Profile.team_user` to check whether a user is a member of a " +"team." +msgstr "" + +#: ../../whats_new.rst:353 +msgid "" +"Add :meth:`Attachment.to_file` to easily convert attachments to " +":class:`File` for sending." +msgstr "" + +#: ../../whats_new.rst:357 +msgid "" +"Add certain aliases to :class:`Permissions` to match the UI better. " +"(:issue:`2496`)" +msgstr "" + +#: ../../whats_new.rst:355 +msgid ":attr:`Permissions.manage_permissions`" +msgstr "" + +#: ../../whats_new.rst:356 +msgid ":attr:`Permissions.view_channel`" +msgstr "" + +#: ../../whats_new.rst:357 +msgid ":attr:`Permissions.use_external_emojis`" +msgstr "" + +#: ../../whats_new.rst:359 +msgid "" +"Add support for passing keyword arguments when creating " +":class:`Permissions`." +msgstr "" + +#: ../../whats_new.rst:361 +msgid "" +"Add support for custom activities via :class:`CustomActivity`. " +"(:issue:`2400`)" +msgstr "" + +#: ../../whats_new.rst:361 +msgid "Note that as of now, bots cannot send custom activities yet." +msgstr "" + +#: ../../whats_new.rst:363 +msgid "" +"Add support for :func:`on_invite_create` and :func:`on_invite_delete` " +"events." +msgstr "" + +#: ../../whats_new.rst:366 +msgid "Add support for clearing a specific reaction emoji from a message." +msgstr "" + +#: ../../whats_new.rst:365 +msgid ":meth:`Message.clear_reaction` and :meth:`Reaction.clear` methods." +msgstr "" + +#: ../../whats_new.rst:366 +msgid "" +":func:`on_raw_reaction_clear_emoji` and :func:`on_reaction_clear_emoji` " +"events." +msgstr "" + +#: ../../whats_new.rst:368 +msgid "" +"Add :func:`utils.sleep_until` helper to sleep until a specific datetime. " +"(:issue:`2517`, :issue:`2519`)" +msgstr "" + +#: ../../whats_new.rst:369 +msgid "" +"|commands| Add support for teams and :attr:`Bot.owner_ids " +"<.ext.commands.Bot.owner_ids>` to have multiple bot owners. " +"(:issue:`2239`)" +msgstr "" + +#: ../../whats_new.rst:370 +msgid "" +"|commands| Add new :attr:`BucketType.role " +"<.ext.commands.BucketType.role>` bucket type. (:issue:`2201`)" +msgstr "" + +#: ../../whats_new.rst:371 +msgid "" +"|commands| Expose :attr:`Command.cog <.ext.commands.Command.cog>` " +"property publicly. (:issue:`2360`)" +msgstr "" + +#: ../../whats_new.rst:372 +msgid "" +"|commands| Add non-decorator interface for adding checks to commands via " +":meth:`Command.add_check <.ext.commands.Command.add_check>` and " +":meth:`Command.remove_check <.ext.commands.Command.remove_check>`. " +"(:issue:`2411`)" +msgstr "" + +#: ../../whats_new.rst:373 +msgid "" +"|commands| Add :func:`has_guild_permissions " +"<.ext.commands.has_guild_permissions>` check. (:issue:`2460`)" +msgstr "" + +#: ../../whats_new.rst:374 +msgid "" +"|commands| Add :func:`bot_has_guild_permissions " +"<.ext.commands.bot_has_guild_permissions>` check. (:issue:`2460`)" +msgstr "" + +#: ../../whats_new.rst:375 +msgid "" +"|commands| Add ``predicate`` attribute to checks decorated with " +":func:`~.ext.commands.check`." +msgstr "" + +#: ../../whats_new.rst:376 +msgid "" +"|commands| Add :func:`~.ext.commands.check_any` check to logical OR " +"multiple checks." +msgstr "" + +#: ../../whats_new.rst:377 +msgid "" +"|commands| Add :func:`~.ext.commands.max_concurrency` to allow only a " +"certain amount of users to use a command concurrently before waiting or " +"erroring." +msgstr "" + +#: ../../whats_new.rst:378 +msgid "" +"|commands| Add support for calling a :class:`~.ext.commands.Command` as a" +" regular function." +msgstr "" + +#: ../../whats_new.rst:379 +msgid "" +"|tasks| :meth:`Loop.add_exception_type " +"<.ext.tasks.Loop.add_exception_type>` now allows multiple exceptions to " +"be set. (:issue:`2333`)" +msgstr "" + +#: ../../whats_new.rst:380 +msgid "" +"|tasks| Add :attr:`Loop.next_iteration <.ext.tasks.Loop.next_iteration>` " +"property. (:issue:`2305`)" +msgstr "" + +#: ../../whats_new.rst:385 +msgid "" +"Fix issue with permission resolution sometimes failing for guilds with no" +" owner." +msgstr "" + +#: ../../whats_new.rst:386 +msgid "Tokens are now stripped upon use. (:issue:`2135`)" +msgstr "" + +#: ../../whats_new.rst:387 +msgid "" +"Passing in a ``name`` is no longer required for :meth:`Emoji.edit`. " +"(:issue:`2368`)" +msgstr "" + +#: ../../whats_new.rst:388 +msgid "" +"Fix issue with webhooks not re-raising after retries have run out. " +"(:issue:`2272`, :issue:`2380`)" +msgstr "" + +#: ../../whats_new.rst:389 +msgid "" +"Fix mismatch in URL handling in :func:`utils.escape_markdown`. " +"(:issue:`2420`)" +msgstr "" + +#: ../../whats_new.rst:390 +msgid "" +"Fix issue with ports being read in little endian when they should be big " +"endian in voice connections. (:issue:`2470`)" +msgstr "" + +#: ../../whats_new.rst:391 +msgid "" +"Fix :meth:`Member.mentioned_in` not taking into consideration the " +"message's guild." +msgstr "" + +#: ../../whats_new.rst:392 +msgid "" +"Fix bug with moving channels when there are gaps in positions due to " +"channel deletion and creation." +msgstr "" + +#: ../../whats_new.rst:393 +msgid "" +"Fix :func:`on_shard_ready` not triggering when ``fetch_offline_members`` " +"is disabled. (:issue:`2504`)" +msgstr "" + +#: ../../whats_new.rst:394 +msgid "" +"Fix issue with large sharded bots taking too long to actually dispatch " +":func:`on_ready`." +msgstr "" + +#: ../../whats_new.rst:395 +msgid "" +"Fix issue with fetching group DM based invites in " +":meth:`Client.fetch_invite`." +msgstr "" + +#: ../../whats_new.rst:396 +msgid "Fix out of order files being sent in webhooks when there are 10 files." +msgstr "" + +#: ../../whats_new.rst:397 +msgid "" +"|commands| Extensions that fail internally due to ImportError will no " +"longer raise :exc:`~.ext.commands.ExtensionNotFound`. (:issue:`2244`, " +":issue:`2275`, :issue:`2291`)" +msgstr "" + +#: ../../whats_new.rst:398 +msgid "" +"|commands| Updating the :attr:`Paginator.suffix " +"<.ext.commands.Paginator.suffix>` will not cause out of date " +"calculations. (:issue:`2251`)" +msgstr "" + +#: ../../whats_new.rst:399 +msgid "" +"|commands| Allow converters from custom extension packages. " +"(:issue:`2369`, :issue:`2374`)" +msgstr "" + +#: ../../whats_new.rst:400 +msgid "" +"|commands| Fix issue with paginator prefix being ``None`` causing empty " +"pages. (:issue:`2471`)" +msgstr "" + +#: ../../whats_new.rst:401 +msgid "" +"|commands| :class:`~.commands.Greedy` now ignores parsing errors rather " +"than propagating them." +msgstr "" + +#: ../../whats_new.rst:402 +msgid "" +"|commands| :meth:`Command.can_run <.ext.commands.Command.can_run>` now " +"checks whether a command is disabled." +msgstr "" + +#: ../../whats_new.rst:403 +msgid "" +"|commands| :attr:`HelpCommand.clean_prefix " +"<.ext.commands.HelpCommand.clean_prefix>` now takes into consideration " +"nickname mentions. (:issue:`2489`)" +msgstr "" + +#: ../../whats_new.rst:404 +msgid "" +"|commands| :meth:`Context.send_help <.ext.commands.Context.send_help>` " +"now properly propagates to the :meth:`HelpCommand.on_help_command_error " +"<.ext.commands.HelpCommand.on_help_command_error>` handler." +msgstr "" + +#: ../../whats_new.rst:409 +msgid "The library now fully supports Python 3.8 without warnings." +msgstr "" + +#: ../../whats_new.rst:410 +msgid "" +"Bump the dependency of ``websockets`` to 8.0 for those who can use it. " +"(:issue:`2453`)" +msgstr "" + +#: ../../whats_new.rst:411 +msgid "" +"Due to Discord providing :class:`Member` data in mentions, users will now" +" be upgraded to :class:`Member` more often if mentioned." +msgstr "" + +#: ../../whats_new.rst:412 +msgid ":func:`utils.escape_markdown` now properly escapes new quote markdown." +msgstr "" + +#: ../../whats_new.rst:413 +msgid "" +"The message cache can now be disabled by passing ``None`` to " +"``max_messages`` in :class:`Client`." +msgstr "" + +#: ../../whats_new.rst:414 +msgid "" +"The default message cache size has changed from 5000 to 1000 to " +"accommodate small bots." +msgstr "" + +#: ../../whats_new.rst:415 +msgid "" +"Lower memory usage by only creating certain objects as needed in " +":class:`Role`." +msgstr "" + +#: ../../whats_new.rst:416 +msgid "" +"There is now a sleep of 5 seconds before re-IDENTIFYing during a " +"reconnect to prevent long loops of session invalidation." +msgstr "" + +#: ../../whats_new.rst:418 +msgid "" +"The rate limiting code now uses millisecond precision to have more " +"granular rate limit handling." +msgstr "" + +#: ../../whats_new.rst:418 +msgid "" +"Along with that, the rate limiting code now uses Discord's response to " +"wait. If you need to use the system clock again for whatever reason, " +"consider passing ``assume_synced_clock`` in :class:`Client`." +msgstr "" + +#: ../../whats_new.rst:420 +msgid "" +"The performance of :attr:`Guild.default_role` has been improved from O(N)" +" to O(1). (:issue:`2375`)" +msgstr "" + +#: ../../whats_new.rst:421 +msgid "" +"The performance of :attr:`Member.roles` has improved due to usage of " +"caching to avoid surprising performance traps." +msgstr "" + +#: ../../whats_new.rst:422 +msgid "" +"The GC is manually triggered during things that cause large deallocations" +" (such as guild removal) to prevent memory fragmentation." +msgstr "" + +#: ../../whats_new.rst:423 +msgid "" +"There have been many changes to the documentation for fixes both for " +"usability, correctness, and to fix some linter errors. Thanks to everyone" +" who contributed to those." +msgstr "" + +#: ../../whats_new.rst:424 +msgid "" +"The loading of the opus module has been delayed which would make the " +"result of :func:`opus.is_loaded` somewhat surprising." +msgstr "" + +#: ../../whats_new.rst:425 +msgid "" +"|commands| Usernames prefixed with @ inside DMs will properly convert " +"using the :class:`User` converter. (:issue:`2498`)" +msgstr "" + +#: ../../whats_new.rst:426 +msgid "" +"|tasks| The task sleeping time will now take into consideration the " +"amount of time the task body has taken before sleeping. (:issue:`2516`)" +msgstr "" + +#: ../../whats_new.rst:431 +#, fuzzy +msgid "v1.2.5" msgstr "v1.2.2" -#: ../../whats_new.rst:20 ../../whats_new.rst:34 ../../whats_new.rst:44 -#: ../../whats_new.rst:80 ../../whats_new.rst:110 ../../whats_new.rst:152 -#: ../../whats_new.rst:192 ../../whats_new.rst:213 ../../whats_new.rst:229 -#: ../../whats_new.rst:249 ../../whats_new.rst:297 ../../whats_new.rst:314 -#: ../../whats_new.rst:351 ../../whats_new.rst:387 ../../whats_new.rst:439 -#: ../../whats_new.rst:483 ../../whats_new.rst:549 -msgid "Bug Fixes" -msgstr "バグ修正" +#: ../../whats_new.rst:436 +msgid "" +"Fix a bug that caused crashes due to missing ``animated`` field in Emoji " +"structures in reactions." +msgstr "" -#: ../../whats_new.rst:22 +#: ../../whats_new.rst:441 +#, fuzzy +msgid "v1.2.4" +msgstr "v1.2.2" + +#: ../../whats_new.rst:446 +msgid "Fix a regression when :attr:`Message.channel` would be ``None``." +msgstr "" + +#: ../../whats_new.rst:447 +msgid "" +"Fix a regression where :attr:`Message.edited_at` would not update during " +"edits." +msgstr "" + +#: ../../whats_new.rst:448 +msgid "" +"Fix a crash that would trigger during message updates (:issue:`2265`, " +":issue:`2287`)." +msgstr "" + +#: ../../whats_new.rst:449 +msgid "" +"Fix a bug when :meth:`VoiceChannel.connect` would not return " +"(:issue:`2274`, :issue:`2372`, :issue:`2373`, :issue:`2377`)." +msgstr "" + +#: ../../whats_new.rst:450 +msgid "Fix a crash relating to token-less webhooks (:issue:`2364`)." +msgstr "" + +#: ../../whats_new.rst:451 +msgid "" +"Fix issue where :attr:`Guild.premium_subscription_count` would be " +"``None`` due to a Discord bug. (:issue:`2331`, :issue:`2376`)." +msgstr "" + +#: ../../whats_new.rst:456 +#, fuzzy +msgid "v1.2.3" +msgstr "v1.2.2" + +#: ../../whats_new.rst:461 msgid "" "Fix an AttributeError when accessing :attr:`Member.premium_since` in " ":func:`on_member_update`. (:issue:`2213`)" msgstr "" -#: ../../whats_new.rst:23 +#: ../../whats_new.rst:462 msgid "" "Handle :exc:`asyncio.CancelledError` in :meth:`abc.Messageable.typing` " "context manager. (:issue:`2218`)" msgstr "" -#: ../../whats_new.rst:24 +#: ../../whats_new.rst:463 msgid "" "Raise the max encoder bitrate to 512kbps to account for nitro boosting. " "(:issue:`2232`)" msgstr "" -#: ../../whats_new.rst:25 +#: ../../whats_new.rst:464 msgid "Properly propagate exceptions in :meth:`Client.run`. (:issue:`2237`)" msgstr "" -#: ../../whats_new.rst:26 +#: ../../whats_new.rst:465 msgid "" "|commands| Ensure cooldowns are properly copied when used in cog level " "``command_attrs``." msgstr "" -#: ../../whats_new.rst:31 +#: ../../whats_new.rst:470 msgid "v1.2.2" msgstr "v1.2.2" -#: ../../whats_new.rst:36 +#: ../../whats_new.rst:475 msgid "" "Audit log related attribute access have been fixed to not error out when " "they shouldn't have." msgstr "" -#: ../../whats_new.rst:41 +#: ../../whats_new.rst:480 msgid "v1.2.1" msgstr "v1.2.1" -#: ../../whats_new.rst:46 +#: ../../whats_new.rst:485 msgid ":attr:`User.avatar_url` and related attributes no longer raise an error." msgstr "" -#: ../../whats_new.rst:47 +#: ../../whats_new.rst:486 msgid "More compatibility shims with the ``enum.Enum`` code." msgstr "" -#: ../../whats_new.rst:52 +#: ../../whats_new.rst:491 msgid "v1.2.0" msgstr "v1.2.0" -#: ../../whats_new.rst:54 +#: ../../whats_new.rst:493 msgid "" "This update mainly brings performance improvements and various nitro " "boosting attributes (referred to in the API as \"premium guilds\")." msgstr "" -#: ../../whats_new.rst:57 ../../whats_new.rst:125 ../../whats_new.rst:243 -#: ../../whats_new.rst:275 ../../whats_new.rst:308 ../../whats_new.rst:337 -#: ../../whats_new.rst:364 ../../whats_new.rst:400 ../../whats_new.rst:460 -#: ../../whats_new.rst:506 -msgid "New Features" -msgstr "新機能" - -#: ../../whats_new.rst:59 +#: ../../whats_new.rst:498 msgid "" "Add :attr:`Guild.premium_tier` to query the guild's current nitro boost " "level." msgstr "" -#: ../../whats_new.rst:60 +#: ../../whats_new.rst:499 msgid "" "Add :attr:`Guild.emoji_limit`, :attr:`Guild.bitrate_limit`, " ":attr:`Guild.filesize_limit` to query the new limits of a guild when " "taking into consideration boosting." msgstr "" -#: ../../whats_new.rst:61 +#: ../../whats_new.rst:500 msgid "" "Add :attr:`Guild.premium_subscription_count` to query how many members " "are boosting a guild." msgstr "" -#: ../../whats_new.rst:62 +#: ../../whats_new.rst:501 msgid "" "Add :attr:`Member.premium_since` to query since when a member has boosted" " a guild." msgstr "" -#: ../../whats_new.rst:63 +#: ../../whats_new.rst:502 msgid "" "Add :attr:`Guild.premium_subscribers` to query all the members currently " "boosting the guild." msgstr "" -#: ../../whats_new.rst:64 +#: ../../whats_new.rst:503 msgid "" "Add :attr:`Guild.system_channel_flags` to query the settings for a " "guild's :attr:`Guild.system_channel`." msgstr "" -#: ../../whats_new.rst:65 +#: ../../whats_new.rst:504 msgid "This includes a new type named :class:`SystemChannelFlags`" msgstr "" -#: ../../whats_new.rst:66 +#: ../../whats_new.rst:505 msgid "" "Add :attr:`Emoji.available` to query if an emoji can be used (within the " "guild or otherwise)." msgstr "" -#: ../../whats_new.rst:67 +#: ../../whats_new.rst:506 msgid "" "Add support for animated icons in :meth:`Guild.icon_url_as` and " ":attr:`Guild.icon_url`." msgstr "" -#: ../../whats_new.rst:68 +#: ../../whats_new.rst:507 msgid "Add :meth:`Guild.is_icon_animated`." msgstr "" -#: ../../whats_new.rst:69 +#: ../../whats_new.rst:508 msgid "" "Add support for the various new :class:`MessageType` involving nitro " "boosting." msgstr "" -#: ../../whats_new.rst:70 +#: ../../whats_new.rst:509 msgid "Add :attr:`VoiceRegion.india`. (:issue:`2145`)" msgstr "" -#: ../../whats_new.rst:71 +#: ../../whats_new.rst:510 msgid "Add :meth:`Embed.insert_field_at`. (:issue:`2178`)" msgstr "" -#: ../../whats_new.rst:72 +#: ../../whats_new.rst:511 msgid "" "Add a ``type`` attribute for all channels to their appropriate " ":class:`ChannelType`. (:issue:`2185`)" msgstr "" -#: ../../whats_new.rst:73 +#: ../../whats_new.rst:512 msgid "" "Add :meth:`Client.fetch_channel` to fetch a channel by ID via HTTP. " "(:issue:`2169`)" msgstr "" -#: ../../whats_new.rst:74 +#: ../../whats_new.rst:513 msgid "" "Add :meth:`Guild.fetch_channels` to fetch all channels via HTTP. " "(:issue:`2169`)" msgstr "" -#: ../../whats_new.rst:75 +#: ../../whats_new.rst:514 msgid "" "|tasks| Add :meth:`Loop.stop <.ext.tasks.Loop.stop>` to gracefully stop a" " task rather than cancelling." msgstr "" -#: ../../whats_new.rst:76 +#: ../../whats_new.rst:515 msgid "" "|tasks| Add :meth:`Loop.failed <.ext.tasks.Loop.failed>` to query if a " "task had failed somehow." msgstr "" -#: ../../whats_new.rst:77 +#: ../../whats_new.rst:516 msgid "" "|tasks| Add :meth:`Loop.change_interval " "<.ext.tasks.Loop.change_interval>` to change the sleep interval at " "runtime (:issue:`2158`, :issue:`2162`)" msgstr "" -#: ../../whats_new.rst:82 +#: ../../whats_new.rst:521 msgid "Fix internal error when using :meth:`Guild.prune_members`." msgstr "" -#: ../../whats_new.rst:83 +#: ../../whats_new.rst:522 msgid "" "|commands| Fix :attr:`.Command.invoked_subcommand` being invalid in many " "cases." msgstr "" -#: ../../whats_new.rst:84 +#: ../../whats_new.rst:523 msgid "|tasks| Reset iteration count when the loop terminates and is restarted." msgstr "" -#: ../../whats_new.rst:85 +#: ../../whats_new.rst:524 msgid "" "|tasks| The decorator interface now works as expected when stacking " "(:issue:`2154`)" msgstr "" -#: ../../whats_new.rst:88 ../../whats_new.rst:115 ../../whats_new.rst:173 -msgid "Miscellaneous" -msgstr "" - -#: ../../whats_new.rst:91 +#: ../../whats_new.rst:530 msgid "Improve performance of all Enum related code significantly." msgstr "" -#: ../../whats_new.rst:91 +#: ../../whats_new.rst:530 msgid "" "This was done by replacing the ``enum.Enum`` code with an API compatible " "one." msgstr "" -#: ../../whats_new.rst:92 +#: ../../whats_new.rst:531 msgid "This should not be a breaking change for most users due to duck-typing." msgstr "" -#: ../../whats_new.rst:93 +#: ../../whats_new.rst:532 msgid "Improve performance of message creation by about 1.5x." msgstr "" -#: ../../whats_new.rst:94 +#: ../../whats_new.rst:533 msgid "" "Improve performance of message editing by about 1.5-4x depending on " "payload size." msgstr "" -#: ../../whats_new.rst:95 +#: ../../whats_new.rst:534 msgid "Improve performance of attribute access on :class:`Member` about by 2x." msgstr "" -#: ../../whats_new.rst:96 +#: ../../whats_new.rst:535 msgid "" "Improve performance of :func:`utils.get` by around 4-6x depending on " "usage." msgstr "" -#: ../../whats_new.rst:97 +#: ../../whats_new.rst:536 msgid "Improve performance of event parsing lookup by around 2.5x." msgstr "" -#: ../../whats_new.rst:98 +#: ../../whats_new.rst:537 msgid "" "Keyword arguments in :meth:`Client.start` and :meth:`Client.run` are now " "validated (:issue:`953`, :issue:`2170`)" msgstr "" -#: ../../whats_new.rst:99 +#: ../../whats_new.rst:538 msgid "" "The Discord error code is now shown in the exception message for " ":exc:`HTTPException`." msgstr "" -#: ../../whats_new.rst:100 +#: ../../whats_new.rst:539 msgid "" "Internal tasks launched by the library will now have their own custom " "``__repr__``." msgstr "" -#: ../../whats_new.rst:101 +#: ../../whats_new.rst:540 msgid "" "All public facing types should now have a proper and more detailed " "``__repr__``." msgstr "" -#: ../../whats_new.rst:102 +#: ../../whats_new.rst:541 msgid "|tasks| Errors are now logged via the standard :mod:`py:logging` module." msgstr "" -#: ../../whats_new.rst:107 +#: ../../whats_new.rst:546 msgid "v1.1.1" msgstr "v1.1.1" -#: ../../whats_new.rst:112 +#: ../../whats_new.rst:551 msgid "" "Webhooks do not overwrite data on retrying their HTTP requests " "(:issue:`2140`)" msgstr "" -#: ../../whats_new.rst:117 +#: ../../whats_new.rst:556 msgid "" "Add back signal handling to :meth:`Client.run` due to issues some users " "had with proper cleanup." msgstr "" -#: ../../whats_new.rst:122 +#: ../../whats_new.rst:561 msgid "v1.1.0" msgstr "v1.1.0" -#: ../../whats_new.rst:127 +#: ../../whats_new.rst:566 msgid "**There is a new extension dedicated to making background tasks easier.**" msgstr "" -#: ../../whats_new.rst:128 +#: ../../whats_new.rst:567 msgid "You can check the documentation here: :ref:`ext_tasks_api`." msgstr "" -#: ../../whats_new.rst:129 +#: ../../whats_new.rst:568 msgid "Add :attr:`Permissions.stream` permission. (:issue:`2077`)" msgstr "" -#: ../../whats_new.rst:130 +#: ../../whats_new.rst:569 msgid "Add equality comparison and hash support to :class:`Asset`" msgstr "" -#: ../../whats_new.rst:131 +#: ../../whats_new.rst:570 msgid "" "Add ``compute_prune_members`` parameter to :meth:`Guild.prune_members` " "(:issue:`2085`)" msgstr "" -#: ../../whats_new.rst:132 +#: ../../whats_new.rst:571 msgid "" "Add :attr:`Client.cached_messages` attribute to fetch the message cache " "(:issue:`2086`)" msgstr "" -#: ../../whats_new.rst:133 +#: ../../whats_new.rst:572 msgid "" "Add :meth:`abc.GuildChannel.clone` to clone a guild channel. " "(:issue:`2093`)" msgstr "" -#: ../../whats_new.rst:134 +#: ../../whats_new.rst:573 msgid "" "Add ``delay`` keyword-only argument to :meth:`Message.delete` " "(:issue:`2094`)" msgstr "" -#: ../../whats_new.rst:135 +#: ../../whats_new.rst:574 msgid "Add support for ``<:name:id>`` when adding reactions (:issue:`2095`)" msgstr "" -#: ../../whats_new.rst:136 +#: ../../whats_new.rst:575 msgid "" "Add :meth:`Asset.read` to fetch the bytes content of an asset " "(:issue:`2107`)" msgstr "" -#: ../../whats_new.rst:137 +#: ../../whats_new.rst:576 msgid "" "Add :meth:`Attachment.read` to fetch the bytes content of an attachment " "(:issue:`2118`)" msgstr "" -#: ../../whats_new.rst:138 +#: ../../whats_new.rst:577 msgid "" "Add support for voice kicking by passing ``None`` to " ":meth:`Member.move_to`." msgstr "" -#: ../../whats_new.rst:141 ../../whats_new.rst:162 ../../whats_new.rst:181 +#: ../../whats_new.rst:580 ../../whats_new.rst:601 ../../whats_new.rst:620 msgid "``discord.ext.commands``" msgstr "" -#: ../../whats_new.rst:143 +#: ../../whats_new.rst:582 msgid "Add new :func:`~.commands.dm_only` check." msgstr "" -#: ../../whats_new.rst:144 +#: ../../whats_new.rst:583 msgid "Support callable converters in :data:`~.commands.Greedy`" msgstr "" -#: ../../whats_new.rst:145 +#: ../../whats_new.rst:584 msgid "Add new :class:`~.commands.MessageConverter`." msgstr "" -#: ../../whats_new.rst:146 +#: ../../whats_new.rst:585 msgid "This allows you to use :class:`Message` as a type hint in functions." msgstr "" -#: ../../whats_new.rst:147 +#: ../../whats_new.rst:586 msgid "" "Allow passing ``cls`` in the :func:`~.commands.group` decorator " "(:issue:`2061`)" msgstr "" -#: ../../whats_new.rst:148 +#: ../../whats_new.rst:587 msgid "" "Add :attr:`.Command.parents` to fetch the parents of a command " "(:issue:`2104`)" msgstr "" -#: ../../whats_new.rst:154 +#: ../../whats_new.rst:593 msgid "Fix :exc:`AttributeError` when using ``__repr__`` on :class:`Widget`." msgstr "" -#: ../../whats_new.rst:155 +#: ../../whats_new.rst:594 msgid "" "Fix issue with :attr:`abc.GuildChannel.overwrites` returning ``None`` for" " keys." msgstr "" -#: ../../whats_new.rst:156 +#: ../../whats_new.rst:595 msgid "Remove incorrect legacy NSFW checks in e.g. :meth:`TextChannel.is_nsfw`." msgstr "" -#: ../../whats_new.rst:157 +#: ../../whats_new.rst:596 msgid "" "Fix :exc:`UnboundLocalError` when :class:`RequestsWebhookAdapter` raises " "an error." msgstr "" -#: ../../whats_new.rst:158 +#: ../../whats_new.rst:597 msgid "Fix bug where updating your own user did not update your member instances." msgstr "" -#: ../../whats_new.rst:159 +#: ../../whats_new.rst:598 msgid "" "Tighten constraints of ``__eq__`` in :class:`Spotify` objects " "(:issue:`2113`, :issue:`2117`)" msgstr "" -#: ../../whats_new.rst:164 +#: ../../whats_new.rst:603 msgid "Fix lambda converters in a non-module context (e.g. ``eval``)." msgstr "" -#: ../../whats_new.rst:165 +#: ../../whats_new.rst:604 msgid "Use message creation time for reference time when computing cooldowns." msgstr "" -#: ../../whats_new.rst:166 +#: ../../whats_new.rst:605 msgid "This prevents cooldowns from triggering during e.g. a RESUME session." msgstr "" -#: ../../whats_new.rst:167 +#: ../../whats_new.rst:606 msgid "" "Fix the default :func:`on_command_error` to work with new-style cogs " "(:issue:`2094`)" msgstr "" -#: ../../whats_new.rst:168 +#: ../../whats_new.rst:607 msgid "" "DM channels are now recognised as NSFW in :func:`~.commands.is_nsfw` " "check." msgstr "" -#: ../../whats_new.rst:169 +#: ../../whats_new.rst:608 msgid "Fix race condition with help commands (:issue:`2123`)" msgstr "" -#: ../../whats_new.rst:170 +#: ../../whats_new.rst:609 msgid "" "Fix cog descriptions not showing in " ":class:`~.commands.MinimalHelpCommand` (:issue:`2139`)" msgstr "" -#: ../../whats_new.rst:175 +#: ../../whats_new.rst:614 msgid "" "Improve the performance of internal enum creation in the library by about" " 5x." msgstr "" -#: ../../whats_new.rst:176 +#: ../../whats_new.rst:615 msgid "Make the output of ``python -m discord --version`` a bit more useful." msgstr "" -#: ../../whats_new.rst:177 +#: ../../whats_new.rst:616 msgid "The loop cleanup facility has been rewritten again." msgstr "" -#: ../../whats_new.rst:178 +#: ../../whats_new.rst:617 msgid "The signal handling in :meth:`Client.run` has been removed." msgstr "" -#: ../../whats_new.rst:183 +#: ../../whats_new.rst:622 msgid "" "Custom exception classes are now used for all default checks in the " "library (:issue:`2101`)" msgstr "" -#: ../../whats_new.rst:189 +#: ../../whats_new.rst:628 msgid "v1.0.1" msgstr "v1.0.1" -#: ../../whats_new.rst:194 +#: ../../whats_new.rst:633 msgid "Fix issue with speaking state being cast to ``int`` when it was invalid." msgstr "" -#: ../../whats_new.rst:195 +#: ../../whats_new.rst:634 msgid "" "Fix some issues with loop cleanup that some users experienced on Linux " "machines." msgstr "" -#: ../../whats_new.rst:196 +#: ../../whats_new.rst:635 msgid "Fix voice handshake race condition (:issue:`2056`, :issue:`2063`)" msgstr "" -#: ../../whats_new.rst:201 +#: ../../whats_new.rst:640 msgid "v1.0.0" msgstr "v1.0.0" -#: ../../whats_new.rst:203 +#: ../../whats_new.rst:642 msgid "" "The changeset for this version are too big to be listed here, for more " "information please see :ref:`the migrating page `." @@ -535,96 +2038,96 @@ msgstr "" "このバージョンの変更は大きすぎるため、この場所に収まりきりません。詳細については :ref:`移行についてのページ " "` を参照してください。" -#: ../../whats_new.rst:210 +#: ../../whats_new.rst:649 msgid "v0.16.6" msgstr "v0.16.6" -#: ../../whats_new.rst:215 +#: ../../whats_new.rst:654 msgid "Fix issue with :meth:`Client.create_server` that made it stop working." msgstr ":meth:`Client.create_server` によって動作が停止する問題を修正しました。" -#: ../../whats_new.rst:216 +#: ../../whats_new.rst:655 msgid "Fix main thread being blocked upon calling ``StreamPlayer.stop``." msgstr "``StreamPlayer.stop`` の呼び出し時にメインスレッドがブロックされるのを修正しました。" -#: ../../whats_new.rst:217 +#: ../../whats_new.rst:656 msgid "Handle HEARTBEAT_ACK and resume gracefully when it occurs." msgstr "HEARTBEAT_ACKを処理し、正常に再開します。" -#: ../../whats_new.rst:218 +#: ../../whats_new.rst:657 msgid "" "Fix race condition when pre-emptively rate limiting that caused releasing" " an already released lock." msgstr "既に開放されているロックを解放しようとする原因になっていた先制的なレート制限を行っている時の競合状態を修正しました。" -#: ../../whats_new.rst:219 +#: ../../whats_new.rst:658 msgid "Fix invalid state errors when immediately cancelling a coroutine." msgstr "コルーチンを直ちにキャンセルするときに無効な状態になるエラーを修正しました。" -#: ../../whats_new.rst:224 +#: ../../whats_new.rst:663 msgid "v0.16.1" msgstr "v0.16.1" -#: ../../whats_new.rst:226 +#: ../../whats_new.rst:665 msgid "" "This release is just a bug fix release with some better rate limit " "implementation." msgstr "このリリースはバグ修正であり、いくつかのレート制限の実装が改善されています。" -#: ../../whats_new.rst:231 +#: ../../whats_new.rst:670 msgid "Servers are now properly chunked for user bots." msgstr "" -#: ../../whats_new.rst:232 +#: ../../whats_new.rst:671 msgid "The CDN URL is now used instead of the API URL for assets." msgstr "アセットのAPI URLの代わりにCDN URLが使用されるようになりました。" -#: ../../whats_new.rst:233 +#: ../../whats_new.rst:672 msgid "Rate limit implementation now tries to use header information if possible." msgstr "" -#: ../../whats_new.rst:234 +#: ../../whats_new.rst:673 msgid "Event loop is now properly propagated (:issue:`420`)" msgstr "" -#: ../../whats_new.rst:235 +#: ../../whats_new.rst:674 msgid "" "Allow falsey values in :meth:`Client.send_message` and " ":meth:`Client.send_file`." msgstr "" -#: ../../whats_new.rst:240 +#: ../../whats_new.rst:679 msgid "v0.16.0" msgstr "v0.16.0" -#: ../../whats_new.rst:245 +#: ../../whats_new.rst:684 msgid "" "Add :attr:`Channel.overwrites` to get all the permission overwrites of a " "channel." msgstr "" -#: ../../whats_new.rst:246 +#: ../../whats_new.rst:685 msgid "Add :attr:`Server.features` to get information about partnered servers." msgstr "" -#: ../../whats_new.rst:251 +#: ../../whats_new.rst:690 msgid "" "Timeout when waiting for offline members while triggering " ":func:`on_ready`." msgstr "" -#: ../../whats_new.rst:253 +#: ../../whats_new.rst:692 msgid "" "The fact that we did not timeout caused a gigantic memory leak in the " "library that caused thousands of duplicate :class:`Member` instances " "causing big memory spikes." msgstr "" -#: ../../whats_new.rst:256 +#: ../../whats_new.rst:695 msgid "Discard null sequences in the gateway." msgstr "" -#: ../../whats_new.rst:258 +#: ../../whats_new.rst:697 msgid "" "The fact these were not discarded meant that :func:`on_ready` kept being " "called instead of :func:`on_resumed`. Since this has been corrected, in " @@ -632,801 +2135,801 @@ msgid "" ":func:`on_resumed` being called much more often." msgstr "" -#: ../../whats_new.rst:265 +#: ../../whats_new.rst:704 msgid "v0.15.1" msgstr "v0.15.1" -#: ../../whats_new.rst:267 +#: ../../whats_new.rst:706 msgid "Fix crash on duplicate or out of order reactions." msgstr "" -#: ../../whats_new.rst:272 +#: ../../whats_new.rst:711 msgid "v0.15.0" msgstr "v0.15.0" -#: ../../whats_new.rst:277 +#: ../../whats_new.rst:716 msgid "Rich Embeds for messages are now supported." msgstr "" -#: ../../whats_new.rst:279 +#: ../../whats_new.rst:718 msgid "" "To do so, create your own :class:`Embed` and pass the instance to the " "``embed`` keyword argument to :meth:`Client.send_message` or " ":meth:`Client.edit_message`." msgstr "" -#: ../../whats_new.rst:280 +#: ../../whats_new.rst:719 msgid "Add :meth:`Client.clear_reactions` to remove all reactions from a message." msgstr "" -#: ../../whats_new.rst:281 +#: ../../whats_new.rst:720 msgid "" "Add support for MESSAGE_REACTION_REMOVE_ALL event, under " ":func:`on_reaction_clear`." msgstr "" -#: ../../whats_new.rst:282 +#: ../../whats_new.rst:721 msgid "" "Add :meth:`Permissions.update` and :meth:`PermissionOverwrite.update` for" " bulk permission updates." msgstr "" -#: ../../whats_new.rst:284 +#: ../../whats_new.rst:723 msgid "" "This allows you to use e.g. ``p.update(read_messages=True, " "send_messages=False)`` in a single line." msgstr "" -#: ../../whats_new.rst:285 +#: ../../whats_new.rst:724 msgid "" "Add :meth:`PermissionOverwrite.is_empty` to check if the overwrite is " "empty (i.e. has no overwrites set explicitly as true or false)." msgstr "" -#: ../../whats_new.rst:287 +#: ../../whats_new.rst:726 msgid "For the command extension, the following changed:" msgstr "コマンド拡張の場合、以下のことが変更されます。" -#: ../../whats_new.rst:289 +#: ../../whats_new.rst:728 msgid "``Context`` is no longer slotted to facilitate setting dynamic attributes." msgstr "" -#: ../../whats_new.rst:294 +#: ../../whats_new.rst:733 msgid "v0.14.3" msgstr "v0.14.3" -#: ../../whats_new.rst:299 +#: ../../whats_new.rst:738 msgid "Fix crash when dealing with MESSAGE_REACTION_REMOVE" msgstr "MESSAGE_REACTION_REMOVEを扱う際のクラッシュを修正しました" -#: ../../whats_new.rst:300 +#: ../../whats_new.rst:739 msgid "Fix incorrect buckets for reactions." msgstr "" -#: ../../whats_new.rst:305 +#: ../../whats_new.rst:744 msgid "v0.14.2" msgstr "v0.14.2" -#: ../../whats_new.rst:311 +#: ../../whats_new.rst:750 msgid "" ":meth:`Client.wait_for_reaction` now returns a namedtuple with " "``reaction`` and ``user`` attributes." msgstr "" -#: ../../whats_new.rst:311 +#: ../../whats_new.rst:750 msgid "" "This is for better support in the case that ``None`` is returned since " "tuple unpacking can lead to issues." msgstr "" -#: ../../whats_new.rst:316 +#: ../../whats_new.rst:755 msgid "" "Fix bug that disallowed ``None`` to be passed for ``emoji`` parameter in " ":meth:`Client.wait_for_reaction`." msgstr "" -#: ../../whats_new.rst:321 +#: ../../whats_new.rst:760 msgid "v0.14.1" msgstr "v0.14.1" -#: ../../whats_new.rst:324 +#: ../../whats_new.rst:763 msgid "Bug fixes" msgstr "バグ修正" -#: ../../whats_new.rst:327 +#: ../../whats_new.rst:766 msgid "Fix bug with `Reaction` not being visible at import." msgstr "" -#: ../../whats_new.rst:327 +#: ../../whats_new.rst:766 msgid "This was also breaking the documentation." msgstr "" -#: ../../whats_new.rst:332 +#: ../../whats_new.rst:771 msgid "v0.14.0" msgstr "v0.14.0" -#: ../../whats_new.rst:334 +#: ../../whats_new.rst:773 msgid "This update adds new API features and a couple of bug fixes." msgstr "このアップデートには、新しいAPI機能といくつかのバグ修正が含まれています。" -#: ../../whats_new.rst:339 +#: ../../whats_new.rst:778 msgid "" "Add support for Manage Webhooks permission under " ":attr:`Permissions.manage_webhooks`" msgstr "" -#: ../../whats_new.rst:340 +#: ../../whats_new.rst:779 msgid "Add support for ``around`` argument in 3.5+ :meth:`Client.logs_from`." msgstr "" -#: ../../whats_new.rst:348 +#: ../../whats_new.rst:787 msgid "Add support for reactions." msgstr "リアクションのサポートを追加します。" -#: ../../whats_new.rst:342 +#: ../../whats_new.rst:781 msgid ":meth:`Client.add_reaction` to add a reactions" msgstr "" -#: ../../whats_new.rst:343 +#: ../../whats_new.rst:782 msgid ":meth:`Client.remove_reaction` to remove a reaction." msgstr "" -#: ../../whats_new.rst:344 +#: ../../whats_new.rst:783 msgid "" ":meth:`Client.get_reaction_users` to get the users that reacted to a " "message." msgstr "" -#: ../../whats_new.rst:345 +#: ../../whats_new.rst:784 msgid ":attr:`Permissions.add_reactions` permission bit support." msgstr "" -#: ../../whats_new.rst:346 +#: ../../whats_new.rst:785 msgid "Two new events, :func:`on_reaction_add` and :func:`on_reaction_remove`." msgstr "" -#: ../../whats_new.rst:347 +#: ../../whats_new.rst:786 msgid ":attr:`Message.reactions` to get reactions from a message." msgstr "" -#: ../../whats_new.rst:348 +#: ../../whats_new.rst:787 msgid ":meth:`Client.wait_for_reaction` to wait for a reaction from a user." msgstr "" -#: ../../whats_new.rst:353 +#: ../../whats_new.rst:792 msgid "Fix bug with Paginator still allowing lines that are too long." msgstr "" -#: ../../whats_new.rst:354 +#: ../../whats_new.rst:793 msgid "Fix the :attr:`Permissions.manage_emojis` bit being incorrect." msgstr "" -#: ../../whats_new.rst:359 +#: ../../whats_new.rst:798 msgid "v0.13.0" msgstr "v0.13.0" -#: ../../whats_new.rst:361 +#: ../../whats_new.rst:800 msgid "This is a backwards compatible update with new features." msgstr "" -#: ../../whats_new.rst:366 +#: ../../whats_new.rst:805 msgid "Add the ability to manage emojis." msgstr "" -#: ../../whats_new.rst:368 +#: ../../whats_new.rst:807 msgid ":meth:`Client.create_custom_emoji` to create new emoji." msgstr "新しい絵文字を作成する :meth:`Client.create_custom_emoji` 。" -#: ../../whats_new.rst:369 +#: ../../whats_new.rst:808 msgid ":meth:`Client.edit_custom_emoji` to edit an old emoji." msgstr "" -#: ../../whats_new.rst:370 +#: ../../whats_new.rst:809 msgid ":meth:`Client.delete_custom_emoji` to delete a custom emoji." msgstr "" -#: ../../whats_new.rst:371 +#: ../../whats_new.rst:810 msgid "Add new :attr:`Permissions.manage_emojis` toggle." msgstr "" -#: ../../whats_new.rst:373 +#: ../../whats_new.rst:812 msgid "This applies for :class:`PermissionOverwrite` as well." msgstr "" -#: ../../whats_new.rst:374 +#: ../../whats_new.rst:813 msgid "Add new statuses for :class:`Status`." msgstr "" -#: ../../whats_new.rst:376 +#: ../../whats_new.rst:815 msgid "" ":attr:`Status.dnd` (aliased with :attr:`Status.do_not_disturb`\\) for Do " "Not Disturb." msgstr "" -#: ../../whats_new.rst:377 +#: ../../whats_new.rst:816 msgid "" ":attr:`Status.invisible` for setting your status to invisible (please see" " the docs for a caveat)." msgstr "" -#: ../../whats_new.rst:378 +#: ../../whats_new.rst:817 msgid "Deprecate :meth:`Client.change_status`" msgstr "" -#: ../../whats_new.rst:380 +#: ../../whats_new.rst:819 msgid "" "Use :meth:`Client.change_presence` instead for better more up to date " "functionality." msgstr "" -#: ../../whats_new.rst:381 +#: ../../whats_new.rst:820 msgid "This method is subject for removal in a future API version." msgstr "" -#: ../../whats_new.rst:382 +#: ../../whats_new.rst:821 msgid "" "Add :meth:`Client.change_presence` for changing your status with the new " "Discord API change." msgstr "" -#: ../../whats_new.rst:384 +#: ../../whats_new.rst:823 msgid "" "This is the only method that allows changing your status to invisible or " "do not disturb." msgstr "" -#: ../../whats_new.rst:389 +#: ../../whats_new.rst:828 msgid "Paginator pages do not exceed their max_size anymore (:issue:`340`)" msgstr "" -#: ../../whats_new.rst:390 +#: ../../whats_new.rst:829 msgid "" "Do Not Disturb users no longer show up offline due to the new " ":class:`Status` changes." msgstr "" -#: ../../whats_new.rst:395 +#: ../../whats_new.rst:834 msgid "v0.12.0" msgstr "v0.12.0" -#: ../../whats_new.rst:397 +#: ../../whats_new.rst:836 msgid "This is a bug fix update that also comes with new features." msgstr "" -#: ../../whats_new.rst:402 +#: ../../whats_new.rst:841 msgid "Add custom emoji support." msgstr "" -#: ../../whats_new.rst:404 +#: ../../whats_new.rst:843 msgid "Adds a new class to represent a custom Emoji named :class:`Emoji`" msgstr "" -#: ../../whats_new.rst:405 +#: ../../whats_new.rst:844 msgid "Adds a utility generator function, :meth:`Client.get_all_emojis`." msgstr "" -#: ../../whats_new.rst:406 +#: ../../whats_new.rst:845 msgid "Adds a list of emojis on a server, :attr:`Server.emojis`." msgstr "" -#: ../../whats_new.rst:407 +#: ../../whats_new.rst:846 msgid "Adds a new event, :func:`on_server_emojis_update`." msgstr "" -#: ../../whats_new.rst:408 +#: ../../whats_new.rst:847 msgid "Add new server regions to :class:`ServerRegion`" msgstr "" -#: ../../whats_new.rst:410 +#: ../../whats_new.rst:849 msgid ":attr:`ServerRegion.eu_central` and :attr:`ServerRegion.eu_west`." msgstr "" -#: ../../whats_new.rst:411 +#: ../../whats_new.rst:850 msgid "" "Add support for new pinned system message under " ":attr:`MessageType.pins_add`." msgstr "" -#: ../../whats_new.rst:412 +#: ../../whats_new.rst:851 msgid "" "Add order comparisons for :class:`Role` to allow it to be compared with " "regards to hierarchy." msgstr "" -#: ../../whats_new.rst:414 +#: ../../whats_new.rst:853 msgid "" "This means that you can now do ``role_a > role_b`` etc to check if " "``role_b`` is lower in the hierarchy." msgstr "" -#: ../../whats_new.rst:416 +#: ../../whats_new.rst:855 msgid "Add :attr:`Server.role_hierarchy` to get the server's role hierarchy." msgstr "" -#: ../../whats_new.rst:417 +#: ../../whats_new.rst:856 msgid "" "Add :attr:`Member.server_permissions` to get a member's server " "permissions without their channel specific overwrites." msgstr "" -#: ../../whats_new.rst:418 +#: ../../whats_new.rst:857 msgid "Add :meth:`Client.get_user_info` to retrieve a user's info from their ID." msgstr "" -#: ../../whats_new.rst:419 +#: ../../whats_new.rst:858 msgid "" "Add a new ``Player`` property, ``Player.error`` to fetch the error that " "stopped the player." msgstr "" -#: ../../whats_new.rst:421 +#: ../../whats_new.rst:860 msgid "" "To help with this change, a player's ``after`` function can now take a " "single parameter denoting the current player." msgstr "" -#: ../../whats_new.rst:422 +#: ../../whats_new.rst:861 msgid "Add support for server verification levels." msgstr "" -#: ../../whats_new.rst:424 +#: ../../whats_new.rst:863 msgid "Adds a new enum called :class:`VerificationLevel`." msgstr "" -#: ../../whats_new.rst:425 +#: ../../whats_new.rst:864 msgid "" "This enum can be used in :meth:`Client.edit_server` under the " "``verification_level`` keyword argument." msgstr "" -#: ../../whats_new.rst:426 +#: ../../whats_new.rst:865 msgid "Adds a new attribute in the server, :attr:`Server.verification_level`." msgstr "" -#: ../../whats_new.rst:427 +#: ../../whats_new.rst:866 msgid "" "Add :attr:`Server.voice_client` shortcut property for " ":meth:`Client.voice_client_in`." msgstr "" -#: ../../whats_new.rst:429 +#: ../../whats_new.rst:868 msgid "" "This is technically old (was added in v0.10.0) but was undocumented until" " v0.12.0." msgstr "" -#: ../../whats_new.rst:431 ../../whats_new.rst:477 +#: ../../whats_new.rst:870 ../../whats_new.rst:916 msgid "For the command extension, the following are new:" msgstr "" -#: ../../whats_new.rst:433 +#: ../../whats_new.rst:872 msgid "Add custom emoji converter." msgstr "" -#: ../../whats_new.rst:434 +#: ../../whats_new.rst:873 msgid "All default converters that can take IDs can now convert via ID." msgstr "" -#: ../../whats_new.rst:435 +#: ../../whats_new.rst:874 msgid "Add coroutine support for ``Bot.command_prefix``." msgstr "" -#: ../../whats_new.rst:436 +#: ../../whats_new.rst:875 msgid "Add a method to reset command cooldown." msgstr "" -#: ../../whats_new.rst:441 +#: ../../whats_new.rst:880 msgid "" "Fix bug that caused the library to not work with the latest " "``websockets`` library." msgstr "" -#: ../../whats_new.rst:442 +#: ../../whats_new.rst:881 msgid "Fix bug that leaked keep alive threads (:issue:`309`)" msgstr "" -#: ../../whats_new.rst:443 +#: ../../whats_new.rst:882 msgid "" "Fix bug that disallowed :class:`ServerRegion` from being used in " ":meth:`Client.edit_server`." msgstr "" -#: ../../whats_new.rst:444 +#: ../../whats_new.rst:883 msgid "" "Fix bug in :meth:`Channel.permissions_for` that caused permission " "resolution to happen out of order." msgstr "" -#: ../../whats_new.rst:445 +#: ../../whats_new.rst:884 msgid "" "Fix bug in :attr:`Member.top_role` that did not account for same-position" " roles." msgstr "" -#: ../../whats_new.rst:450 +#: ../../whats_new.rst:889 msgid "v0.11.0" msgstr "v0.11.0" -#: ../../whats_new.rst:452 +#: ../../whats_new.rst:891 msgid "" "This is a minor bug fix update that comes with a gateway update (v5 -> " "v6)." msgstr "" -#: ../../whats_new.rst:455 +#: ../../whats_new.rst:894 msgid "Breaking Changes" msgstr "破壊的変更" -#: ../../whats_new.rst:457 +#: ../../whats_new.rst:896 msgid "" "``Permissions.change_nicknames`` has been renamed to " ":attr:`Permissions.change_nickname` to match the UI." msgstr "" -#: ../../whats_new.rst:462 +#: ../../whats_new.rst:901 msgid "Add the ability to prune members via :meth:`Client.prune_members`." msgstr "" -#: ../../whats_new.rst:463 +#: ../../whats_new.rst:902 msgid "" "Switch the websocket gateway version to v6 from v5. This allows the " "library to work with group DMs and 1-on-1 calls." msgstr "" -#: ../../whats_new.rst:464 +#: ../../whats_new.rst:903 msgid "Add :attr:`AppInfo.owner` attribute." msgstr "" -#: ../../whats_new.rst:465 +#: ../../whats_new.rst:904 msgid "Add :class:`CallMessage` for group voice call messages." msgstr "" -#: ../../whats_new.rst:466 +#: ../../whats_new.rst:905 msgid "Add :class:`GroupCall` for group voice call information." msgstr "" -#: ../../whats_new.rst:467 +#: ../../whats_new.rst:906 msgid "Add :attr:`Message.system_content` to get the system message." msgstr "" -#: ../../whats_new.rst:468 +#: ../../whats_new.rst:907 msgid "" "Add the remaining VIP servers and the Brazil servers into " ":class:`ServerRegion` enum." msgstr "" -#: ../../whats_new.rst:469 +#: ../../whats_new.rst:908 msgid "" "Add ``stderr`` argument to :meth:`VoiceClient.create_ffmpeg_player` to " "redirect stderr." msgstr "" -#: ../../whats_new.rst:470 +#: ../../whats_new.rst:909 msgid "" "The library now handles implicit permission resolution in " ":meth:`Channel.permissions_for`." msgstr "" -#: ../../whats_new.rst:471 +#: ../../whats_new.rst:910 msgid "Add :attr:`Server.mfa_level` to query a server's 2FA requirement." msgstr "" -#: ../../whats_new.rst:472 +#: ../../whats_new.rst:911 msgid "Add :attr:`Permissions.external_emojis` permission." msgstr "" -#: ../../whats_new.rst:473 +#: ../../whats_new.rst:912 msgid "Add :attr:`Member.voice` attribute that refers to a :class:`VoiceState`." msgstr "" -#: ../../whats_new.rst:475 +#: ../../whats_new.rst:914 msgid "" "For backwards compatibility, the member object will have properties " "mirroring the old behaviour." msgstr "" -#: ../../whats_new.rst:479 +#: ../../whats_new.rst:918 msgid "Command cooldown system with the ``cooldown`` decorator." msgstr "" -#: ../../whats_new.rst:480 +#: ../../whats_new.rst:919 msgid "" "``UserInputError`` exception for the hierarchy for user input related " "errors." msgstr "" -#: ../../whats_new.rst:485 +#: ../../whats_new.rst:924 msgid ":attr:`Client.email` is now saved when using a token for user accounts." msgstr "" -#: ../../whats_new.rst:486 +#: ../../whats_new.rst:925 msgid "Fix issue when removing roles out of order." msgstr "" -#: ../../whats_new.rst:487 +#: ../../whats_new.rst:926 msgid "Fix bug where discriminators would not update." msgstr "" -#: ../../whats_new.rst:488 +#: ../../whats_new.rst:927 msgid "" "Handle cases where ``HEARTBEAT`` opcode is received. This caused bots to " "disconnect seemingly randomly." msgstr "" -#: ../../whats_new.rst:490 +#: ../../whats_new.rst:929 msgid "For the command extension, the following bug fixes apply:" msgstr "" -#: ../../whats_new.rst:492 +#: ../../whats_new.rst:931 msgid "``Bot.check`` decorator is actually a decorator not requiring parentheses." msgstr "" -#: ../../whats_new.rst:493 +#: ../../whats_new.rst:932 msgid "" "``Bot.remove_command`` and ``Group.remove_command`` no longer throw if " "the command doesn't exist." msgstr "" -#: ../../whats_new.rst:494 +#: ../../whats_new.rst:933 msgid "Command names are no longer forced to be ``lower()``." msgstr "" -#: ../../whats_new.rst:495 +#: ../../whats_new.rst:934 msgid "" "Fix a bug where Member and User converters failed to work in private " "message contexts." msgstr "" -#: ../../whats_new.rst:496 +#: ../../whats_new.rst:935 msgid "" "``HelpFormatter`` now ignores hidden commands when deciding the maximum " "width." msgstr "" -#: ../../whats_new.rst:501 +#: ../../whats_new.rst:940 msgid "v0.10.0" msgstr "v0.10.0" -#: ../../whats_new.rst:503 +#: ../../whats_new.rst:942 msgid "" "For breaking changes, see :ref:`migrating-to-async`. The breaking changes" " listed there will not be enumerated below. Since this version is rather " "a big departure from v0.9.2, this change log will be non-exhaustive." msgstr "" -#: ../../whats_new.rst:508 +#: ../../whats_new.rst:947 msgid "" "The library is now fully ``asyncio`` compatible, allowing you to write " "non-blocking code a lot more easily." msgstr "" -#: ../../whats_new.rst:509 +#: ../../whats_new.rst:948 msgid "The library now fully handles 429s and unconditionally retries on 502s." msgstr "" -#: ../../whats_new.rst:510 +#: ../../whats_new.rst:949 msgid "" "A new command extension module was added but is currently undocumented. " "Figuring it out is left as an exercise to the reader." msgstr "" -#: ../../whats_new.rst:511 +#: ../../whats_new.rst:950 msgid "" "Two new exception types, :exc:`Forbidden` and :exc:`NotFound` to denote " "permission errors or 404 errors." msgstr "" -#: ../../whats_new.rst:512 +#: ../../whats_new.rst:951 msgid "Added :meth:`Client.delete_invite` to revoke invites." msgstr "" -#: ../../whats_new.rst:513 +#: ../../whats_new.rst:952 msgid "" "Added support for sending voice. Check :class:`VoiceClient` for more " "details." msgstr "" -#: ../../whats_new.rst:514 +#: ../../whats_new.rst:953 msgid "" "Added :meth:`Client.wait_for_message` coroutine to aid with follow up " "commands." msgstr "" -#: ../../whats_new.rst:515 +#: ../../whats_new.rst:954 msgid "" "Added :data:`version_info` named tuple to check version info of the " "library." msgstr "" -#: ../../whats_new.rst:516 +#: ../../whats_new.rst:955 msgid "" "Login credentials are now cached to have a faster login experience. You " "can disable this by passing in ``cache_auth=False`` when constructing a " ":class:`Client`." msgstr "" -#: ../../whats_new.rst:518 +#: ../../whats_new.rst:957 msgid "" "New utility function, :func:`discord.utils.get` to simplify retrieval of " "items based on attributes." msgstr "" -#: ../../whats_new.rst:519 +#: ../../whats_new.rst:958 msgid "" "All data classes now support ``!=``, ``==``, ``hash(obj)`` and " "``str(obj)``." msgstr "" -#: ../../whats_new.rst:520 +#: ../../whats_new.rst:959 msgid "Added :meth:`Client.get_bans` to get banned members from a server." msgstr "" -#: ../../whats_new.rst:521 +#: ../../whats_new.rst:960 msgid "" "Added :meth:`Client.invites_from` to get currently active invites in a " "server." msgstr "" -#: ../../whats_new.rst:522 +#: ../../whats_new.rst:961 msgid "" "Added :attr:`Server.me` attribute to get the :class:`Member` version of " ":attr:`Client.user`." msgstr "" -#: ../../whats_new.rst:523 +#: ../../whats_new.rst:962 msgid "" "Most data classes now support a ``hash(obj)`` function to allow you to " "use them in ``set`` or ``dict`` classes or subclasses." msgstr "" -#: ../../whats_new.rst:524 +#: ../../whats_new.rst:963 msgid "" "Add :meth:`Message.clean_content` to get a text version of the content " "with the user and channel mentioned changed into their names." msgstr "" -#: ../../whats_new.rst:525 +#: ../../whats_new.rst:964 msgid "" "Added a way to remove the messages of the user that just got banned in " ":meth:`Client.ban`." msgstr "" -#: ../../whats_new.rst:526 +#: ../../whats_new.rst:965 msgid "" "Added :meth:`Client.wait_until_ready` to facilitate easy creation of " "tasks that require the client cache to be ready." msgstr "" -#: ../../whats_new.rst:527 +#: ../../whats_new.rst:966 msgid "" "Added :meth:`Client.wait_until_login` to facilitate easy creation of " "tasks that require the client to be logged in." msgstr "" -#: ../../whats_new.rst:528 +#: ../../whats_new.rst:967 msgid "" "Add :class:`discord.Game` to represent any game with custom text to send " "to :meth:`Client.change_status`." msgstr "" -#: ../../whats_new.rst:529 +#: ../../whats_new.rst:968 msgid "Add :attr:`Message.nonce` attribute." msgstr "" -#: ../../whats_new.rst:530 +#: ../../whats_new.rst:969 msgid "" "Add :meth:`Member.permissions_in` as another way of doing " ":meth:`Channel.permissions_for`." msgstr "" -#: ../../whats_new.rst:531 +#: ../../whats_new.rst:970 msgid "Add :meth:`Client.move_member` to move a member to another voice channel." msgstr "" -#: ../../whats_new.rst:532 +#: ../../whats_new.rst:971 msgid "You can now create a server via :meth:`Client.create_server`." msgstr "" -#: ../../whats_new.rst:533 +#: ../../whats_new.rst:972 msgid "Added :meth:`Client.edit_server` to edit existing servers." msgstr "" -#: ../../whats_new.rst:534 +#: ../../whats_new.rst:973 msgid "" "Added :meth:`Client.server_voice_state` to server mute or server deafen a" " member." msgstr "" -#: ../../whats_new.rst:535 +#: ../../whats_new.rst:974 msgid "If you are being rate limited, the library will now handle it for you." msgstr "" -#: ../../whats_new.rst:536 +#: ../../whats_new.rst:975 msgid "" "Add :func:`on_member_ban` and :func:`on_member_unban` events that trigger" " when a member is banned/unbanned." msgstr "" -#: ../../whats_new.rst:539 +#: ../../whats_new.rst:978 msgid "Performance Improvements" msgstr "" -#: ../../whats_new.rst:541 +#: ../../whats_new.rst:980 msgid "" "All data classes now use ``__slots__`` which greatly reduce the memory " "usage of things kept in cache." msgstr "" -#: ../../whats_new.rst:542 +#: ../../whats_new.rst:981 msgid "" "Due to the usage of ``asyncio``, the CPU usage of the library has gone " "down significantly." msgstr "" -#: ../../whats_new.rst:543 +#: ../../whats_new.rst:982 msgid "" "A lot of the internal cache lists were changed into dictionaries to " "change the ``O(n)`` lookup into ``O(1)``." msgstr "" -#: ../../whats_new.rst:544 +#: ../../whats_new.rst:983 msgid "" "Compressed READY is now on by default. This means if you're on a lot of " "servers (or maybe even a few) you would receive performance improvements " "by having to download and process less data." msgstr "" -#: ../../whats_new.rst:546 +#: ../../whats_new.rst:985 msgid "" "While minor, change regex from ``\\d+`` to ``[0-9]+`` to avoid " "unnecessary unicode character lookups." msgstr "" -#: ../../whats_new.rst:551 +#: ../../whats_new.rst:990 msgid "Fix bug where guilds being updated did not edit the items in cache." msgstr "" -#: ../../whats_new.rst:552 +#: ../../whats_new.rst:991 msgid "" "Fix bug where ``member.roles`` were empty upon joining instead of having " "the ``@everyone`` role." msgstr "" -#: ../../whats_new.rst:553 +#: ../../whats_new.rst:992 msgid "" "Fix bug where :meth:`Role.is_everyone` was not being set properly when " "the role was being edited." msgstr "" -#: ../../whats_new.rst:554 +#: ../../whats_new.rst:993 msgid "" ":meth:`Client.logs_from` now handles cases where limit > 100 to sidestep " "the discord API limitation." msgstr "" -#: ../../whats_new.rst:555 +#: ../../whats_new.rst:994 msgid "Fix bug where a role being deleted would trigger a ``ValueError``." msgstr "" -#: ../../whats_new.rst:556 +#: ../../whats_new.rst:995 msgid "" "Fix bug where :meth:`Permissions.kick_members` and " ":meth:`Permissions.ban_members` were flipped." msgstr "" -#: ../../whats_new.rst:557 +#: ../../whats_new.rst:996 msgid "" "Mentions are now triggered normally. This was changed due to the way " "discord handles it internally." msgstr "" -#: ../../whats_new.rst:558 +#: ../../whats_new.rst:997 msgid "" "Fix issue when a :class:`Message` would attempt to upgrade a " ":attr:`Message.server` when the channel is a :class:`Object`." msgstr "" -#: ../../whats_new.rst:560 +#: ../../whats_new.rst:999 msgid "" "Unavailable servers were not being added into cache, this has been " "corrected."